void-packages/srcpkgs/qt6-svg/template
2021-05-06 18:23:18 +02:00

27 lines
934 B
Bash

# Template file for 'qt6-svg'
pkgname=qt6-svg
version=6.1.0
revision=1
wrksrc="qtsvg-everywhere-src-${version}"
build_style=cmake
configure_args="-DQT_HOST_PATH=/usr "
hostmakedepends="qt6-base-devel perl"
makedepends="qt6-base-devel"
short_desc="Cross-platform application and UI framework (QT6) - qt6-svg component"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-only with Qt-GPL-exception-1.0, GPL-2.0-or-later, LGPL-3.0-only"
homepage="https://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtsvg-everywhere-src-${version}.tar.xz"
checksum=5dd3aef98c93073b7a1ab5beadcc8948d1f939c7fd19ea4c2041cc4a3bc8b719
qt6-svg-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel"
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"
}
}