void-packages/srcpkgs/libqtxdg/template

30 lines
903 B
Bash

# Template file for 'libqtxdg'
pkgname=libqtxdg
version=4.0.0
revision=1
build_style=cmake
hostmakedepends="pkg-config lxqt-build-tools qt6-base"
makedepends="qt6-base qt6-svg-devel libglib-devel"
short_desc="Qt implementation of freedesktop.org XDG specifications"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="LGPL-2.1-or-later"
homepage="https://lxqt-project.org"
distfiles="https://github.com/lxqt/libqtxdg/archive/${version}.tar.gz"
checksum=edf12d8e6fe1292e842cdf01e57cc882754846e8c7d1212cc02f953c71f28d12
case "${XBPS_TARGET_MACHINE}" in
armv6l*|armv7l*)
configure_args=" -DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=/usr/lib/qt6/plugins"
esac
libqtxdg-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share/cmake
}
}