diff --git a/srcpkgs/gcompris-qt/template b/srcpkgs/gcompris-qt/template index 165e23ff96b..725c71638bf 100644 --- a/srcpkgs/gcompris-qt/template +++ b/srcpkgs/gcompris-qt/template @@ -1,6 +1,6 @@ # Template file for 'gcompris-qt' pkgname=gcompris-qt -version=0.95 +version=0.96 revision=1 build_style=cmake configure_args="-DQML_BOX2D_LIBRARY=/usr/lib/qt5/qml/Box2D.2.0" @@ -13,13 +13,16 @@ depends="desktop-file-utils hicolor-icon-theme short_desc="High quality educational software suite for children aged 2 to 10" maintainer="Orphaned " license="GPL-3.0-or-later" -homepage="http://gcompris.net" -distfiles="http://gcompris.net/download/qt/src/gcompris-qt-${version}.tar.xz" -checksum=34d3ece24e87755a68c70129e502bf57874b21311aca54ba67619e25ba9451a9 +homepage="https://gcompris.net/index-en.html" +distfiles="https://gcompris.net/download/qt/src/gcompris-qt-${version}.tar.xz" +checksum=a2bc2ce6e2687120d7ff2dee036fd85cfed70a793a9cc385b786d054681c8818 -if [ -n "$CROSS_BUILD" ]; then +if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-qmake" - post_extract() { - sed -i -e "/set(CMAKE_PREFIX_PATH/d" CMakeLists.txt - } fi + +post_extract() { + if [ "$CROSS_BUILD" ]; then + vsed -i "/set(CMAKE_PREFIX_PATH/d" CMakeLists.txt + fi +}