summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 15:57:49 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 15:57:49 -0500
commit3d6b082a46d6b0291cd05a63f396f1e4096139af (patch)
treeeecb736857c9a14f0471fc51053b7fb2434badff
parent5504778e202f1a03e6a0daa09de9020b4b6eacc9 (diff)
downloadpackages-3d6b082a46d6b0291cd05a63f396f1e4096139af.tar.gz
packages-3d6b082a46d6b0291cd05a63f396f1e4096139af.tar.bz2
packages-3d6b082a46d6b0291cd05a63f396f1e4096139af.tar.xz
packages-3d6b082a46d6b0291cd05a63f396f1e4096139af.zip
user/gcompris-qt: new package
-rw-r--r--user/gcompris-qt/APKBUILD44
1 files changed, 44 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+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"