30 lines
917 B
Bash
30 lines
917 B
Bash
# Template file for 'libqtxdg'
|
|
pkgname=libqtxdg
|
|
version=4.1.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config lxqt-build-tools qt6-base"
|
|
makedepends="qt6-base-private-devel 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=23015b9a834ecec6b67a96fb06297d6c7496cbb58b4b70183e101c7a92db7ed3
|
|
|
|
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
|
|
}
|
|
}
|