void-packages/srcpkgs/gcompris-qt/template

26 lines
952 B
Bash

# Template file for 'gcompris-qt'
pkgname=gcompris-qt
version=0.90
revision=1
build_style=cmake
configure_args="-DQML_BOX2D_LIBRARY=/usr/lib/qt5/qml/Box2D.2.0"
hostmakedepends="extra-cmake-modules"
makedepends="kdoctools-devel qml-box2d qt5-declarative-devel
qt5-multimedia-devel qt5-sensors-devel qt5-svg-devel
qt5-tools-devel qt5-xmlpatterns-devel"
depends="desktop-file-utils hicolor-icon-theme
qt5-graphicaleffects qt5-multimedia qt5-quickcontrols qt5-svg"
short_desc="High quality educational software suite for children aged 2 to 10"
maintainer="cr6git <quark6@protonmail.com>"
license="GPL-3"
homepage="http://gcompris.net"
distfiles="http://gcompris.net/download/qt/src/gcompris-qt-${version}.tar.xz"
checksum=eaab8805ae8c1e4fa04ba6cdfe437fca6082f2d9848dc83b4e04bd086d6faac4
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" kdoctools qt5-host-tools qt5-qmake"
post_extract() {
sed -i -e "/set(CMAKE_PREFIX_PATH/d" CMakeLists.txt
}
fi