mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
qt6-lottie: update to 6.7.2.
This commit is contained in:
parent
24450b29d3
commit
520b1661e3
2 changed files with 20 additions and 3 deletions
1
srcpkgs/qt6-lottie-private-devel
Symbolic link
1
srcpkgs/qt6-lottie-private-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
qt6-lottie
|
|
@ -1,21 +1,23 @@
|
||||||
# Template file for 'qt6-lottie'
|
# Template file for 'qt6-lottie'
|
||||||
pkgname=qt6-lottie
|
pkgname=qt6-lottie
|
||||||
version=6.6.0
|
version=6.7.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="perl qt6-base qt6-declarative-host-tools"
|
hostmakedepends="perl qt6-base qt6-declarative-host-tools"
|
||||||
makedepends="qt6-declarative-devel"
|
makedepends="qt6-declarative-private-devel qt6-base-private-devel"
|
||||||
short_desc="Cross-platform application and UI framework - lottie"
|
short_desc="Cross-platform application and UI framework - lottie"
|
||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
license="GPL-3.0-only"
|
license="GPL-3.0-only"
|
||||||
homepage="https://qt.io/"
|
homepage="https://qt.io/"
|
||||||
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtlottie-everywhere-src-${version}.tar.xz"
|
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtlottie-everywhere-src-${version}.tar.xz"
|
||||||
checksum=1d98b45107a4b9a6337bc7ac37b9e54cdaa68110f814d93eecc8fbf8d338f84f
|
checksum=d9afbc9358d352a4e521d4693d5bdad6a004272b6e8a9ec7a9f851700fe3f10e
|
||||||
|
|
||||||
if [ "$XBPS_CHECK_PKGS" ]; then
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
||||||
configure_args="-DQT_BUILD_TESTS=ON"
|
configure_args="-DQT_BUILD_TESTS=ON"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
subpackages="qt6-lottie-private-devel qt6-lottie-devel"
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
export QML2_IMPORT_PATH="$wrksrc/build/lib${XBPS_TARGET_WORDSIZE}/qt6/qml"
|
export QML2_IMPORT_PATH="$wrksrc/build/lib${XBPS_TARGET_WORDSIZE}/qt6/qml"
|
||||||
}
|
}
|
||||||
|
@ -24,6 +26,20 @@ post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/tests
|
rm -rf ${DESTDIR}/usr/tests
|
||||||
}
|
}
|
||||||
|
|
||||||
|
qt6-lottie-private-devel_package() {
|
||||||
|
depends="qt6-lottie-devel>=${version}_${revision}"
|
||||||
|
short_desc+=" - private development files"
|
||||||
|
pkg_install() {
|
||||||
|
for dir in $(cd ${DESTDIR} && find usr/include -type d -name private); do
|
||||||
|
vmove "$dir"
|
||||||
|
done
|
||||||
|
vmove "usr/lib/cmake/*Private"
|
||||||
|
vmove "usr/lib/qt6/metatypes/*private_*_metatypes.json"
|
||||||
|
vmove "usr/lib/qt6/mkspecs/modules/*_private.pri"
|
||||||
|
vmove "usr/lib/qt6/modules/*Private.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
qt6-lottie-devel_package() {
|
qt6-lottie-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Reference in a new issue