diff --git a/srcpkgs/qt6-lottie/template b/srcpkgs/qt6-lottie/template index 21ad418162b..775396bcac6 100644 --- a/srcpkgs/qt6-lottie/template +++ b/srcpkgs/qt6-lottie/template @@ -1,6 +1,6 @@ # Template file for 'qt6-lottie' pkgname=qt6-lottie -version=6.1.0 +version=6.1.1 revision=1 wrksrc="qtlottie-everywhere-src-${version}" build_style=cmake @@ -12,7 +12,15 @@ maintainer="John " license="GPL-3.0-only" homepage="https://qt.io/" distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtlottie-everywhere-src-${version}.tar.xz" -checksum=3c2478f1064574939cfc151d7df0743d6bb1119d8cee6ed3ca3bc1cdfb8fece8 +checksum=df8ee26ea3aa4524f82703f602449d990724ca232cb98498746e8f49e23037ed + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DQT_BUILD_TESTS=ON" +fi + +pre_check() { + export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml" +} qt6-lottie-devel_package() { depends="${sourcepkg}>=${version}_${revision}"