# 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=26.1
revision=2
build_style=cmake
configure_args="-DQT_NO_PRIVATE_MODULE_WARNING=ON"
hostmakedepends="pkg-config extra-cmake-modules qt6-base qt6-tools gettext"
makedepends="qml-box2d qt6-base-private-devel qt6-multimedia-devel
 qt6-svg-devel qt6-sensors-devel qt6-declarative-private-devel
 qt6-charts-devel qt6-wayland-private-devel qt6-graphs-devel"
short_desc="High quality educational software suite for children aged 2 to 10"
maintainer="zenobit <zen@osowoso.org>"
license="AGPL-3.0-only"
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=c389b863b29f012ccc1b3eef740982ff6c7654c13a2e343397ee466124f31339

post_install() {
	vlicense LICENSES/AGPL-3.0-only.txt
}
