aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gcompris-qt/APKBUILD
blob: f16e6608268cf046f8ed5d68a528cbcc34a2e685 (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
# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=gcompris-qt
pkgver=0.98
pkgrel=0
pkgdesc="Educational software suite comprising of numerous activities for children aged 2 to 10"
url="https://gcompris.net"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
license="GPL-3.0-or-later"
makedepends="cmake extra-cmake-modules qt5-qttools qt5-qttools-dev kdoctools
	qt5-qtdeclarative-dev qt5-qtmultimedia-dev qt5-qtsvg-dev qt5-qtsensors-dev
	qt5-qtquickcontrols2-dev qt5-qtxmlpatterns-dev"
depends="qt5-qtquickcontrols2"
source="$pkgname-$pkgver.tar.xz::https://gcompris.net/download/qt/src/gcompris-qt-$pkgver.tar.xz"
options="!check" # No test suite

build() {
	cmake -B build \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=None \
		-DQML_BOX2D_LIBRARY=/usr/lib/qt/qml/Box2D.2.0 \
		.
	make -C build
}

package() {
	make -C build DESTDIR="$pkgdir" install
}

sha512sums="f447a9fe6a8699eca55dd7c98a9781a1f4982a1263664fb4b010d1f66819d2f083b1b167ca406edcb54fb10331e6cbad809499a9490a7fef93e010b022dd0e6c  gcompris-qt-0.98.tar.xz"