32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'gcompris-qt'
|
|
#
|
|
# Be careful when package their latest version,
|
|
# Check if that release appear on their homepage first,
|
|
# Otherwise, they may remove it at a random time.
|
|
#
|
|
pkgname=gcompris-qt
|
|
version=4.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DQML_BOX2D_LIBRARY=/usr/lib/qt5/qml/Box2D.2.0"
|
|
hostmakedepends="extra-cmake-modules kdoctools-devel gettext
|
|
qt5-host-tools qt5-qmake"
|
|
makedepends="qml-box2d qt5-declarative-devel
|
|
qt5-multimedia-devel qt5-sensors-devel qt5-svg-devel
|
|
qt5-tools-devel qt5-xmlpatterns-devel qt5-quickcontrols2-devel qt5-charts-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme
|
|
qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2 qt5-svg qt5-sensors qt5-imageformats qt5 qt5-declarative qt5-charts"
|
|
short_desc="High quality educational software suite for children aged 2 to 10"
|
|
maintainer="zenobit <zenobit@disroot.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gcompris.net/index-en.html"
|
|
changelog="https://www.gcompris.net/news-en.html"
|
|
distfiles="https://gcompris.net/download/qt/src/gcompris-qt-${version}.tar.xz"
|
|
checksum=668726abc949c49e5348b55e8b1e7d7005584208432bb95424979f7f08f2256c
|
|
|
|
post_extract() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i "/set(CMAKE_PREFIX_PATH/d" CMakeLists.txt
|
|
fi
|
|
}
|