blob: 501b791e2d4cacec9536578bef9f5468ce879897 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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"
|