void-packages/srcpkgs/qt6-lottie/template

28 lines
864 B
Bash

# Template file for 'qt6-lottie'
pkgname=qt6-lottie
version=6.1.0
revision=1
wrksrc="qtlottie-everywhere-src-${version}"
build_style=cmake
configure_args="-DQT_HOST_PATH=/usr"
hostmakedepends="perl qt6-base-devel"
makedepends="qt6-declarative-devel"
short_desc="Cross-platform application and UI framework - lottie"
maintainer="John <me@johnnynator.dev>"
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
qt6-lottie-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt6/mkspecs
vmove "usr/lib/*.so"
vmove "usr/lib/*.prl"
}
}