From 3d6b082a46d6b0291cd05a63f396f1e4096139af Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 25 Mar 2018 15:57:49 -0500 Subject: user/gcompris-qt: new package --- user/gcompris-qt/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 user/gcompris-qt/APKBUILD (limited to 'user/gcompris-qt/APKBUILD') diff --git a/user/gcompris-qt/APKBUILD b/user/gcompris-qt/APKBUILD new file mode 100644 index 000000000..501b791e2 --- /dev/null +++ b/user/gcompris-qt/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=gcompris-qt +pkgver=0.90 +pkgrel=0 +pkgdesc="Educational software suite in many languages" +url="http://gcompris.net/" +arch="all" +options="!check" # No test suite. +license="GPL-3.0-only" +depends="gst-plugins-base qml-box2d" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev + qt5-qtmultimedia-dev qt5-qtsvg-dev qt5-qtxmlpatterns-dev gstreamer-dev + qt5-qttools-dev qt5-qtsensors-dev kdoctools-dev" +install="" +langdir="/usr/share/gcompris-qt/translations" +subpackages="$pkgname-doc $pkgname-lang" +source="http://gcompris.net/download/qt/src/gcompris-qt-$pkgver.tar.xz" + +build() { + cd "$builddir" + mkdir build + cd build + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} \ + .. + make +} + +package() { + cd "$builddir"/build + make DESTDIR="$pkgdir" install +} + +sha512sums="3eda9c608440f4a3888a156af0ee97c39714da0e83d8fd95cbbfd374caa07d19c37f97a4eb7e3240665629de8d96eec5acf9aeb1564f56d06208696583eadd74 gcompris-qt-0.90.tar.xz" -- cgit v1.2.3-70-g09d2