AppStream: enable qt5 bindings
This commit is contained in:
parent
0ba36bd3f6
commit
0c683319f5
|
@ -2843,6 +2843,7 @@ libyaz_icu.so.5 yaz-5.23.1_1
|
|||
libyaz.so.5 yaz-5.23.1_1
|
||||
libyaz_server.so.5 yaz-5.23.1_1
|
||||
libgcab-1.0.so.0 gcab-0.7_1
|
||||
libappstream.so.4 AppStream-0.12.2_1
|
||||
libappstream-glib.so.8 appstream-glib-0.6.13_1
|
||||
libappstream-builder.so.8 appstream-glib-0.6.13_1
|
||||
libflatpak.so.0 flatpak-0.9.3_2
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
AppStream
|
|
@ -1,12 +1,13 @@
|
|||
# Template file for 'AppStream'
|
||||
pkgname=AppStream
|
||||
version=0.12.2
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="appstream-APPSTREAM_${version//./_}"
|
||||
build_style=meson
|
||||
configure_args="-Dgir=false -Dstemming=false -Dapidocs=false"
|
||||
hostmakedepends="docbook-xsl glib-devel gperf libxslt pkg-config"
|
||||
makedepends="libglib-devel libxml2-devel libyaml-devel"
|
||||
configure_args="-Dgir=false -Dstemming=false -Dapidocs=false -Dqt=true"
|
||||
hostmakedepends="docbook-xsl glib-devel gperf libxslt pkg-config
|
||||
qt5-host-tools"
|
||||
makedepends="libglib-devel libxml2-devel libyaml-devel qt5-devel"
|
||||
short_desc="Tools and libraries to work with AppStream metadata"
|
||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
license="GPL-2.0-or-later"
|
||||
|
@ -18,7 +19,7 @@ conf_files="/etc/appstream.conf"
|
|||
triggers="appstream-cache"
|
||||
|
||||
AppStream-devel_package() {
|
||||
depends="AppStream-${version}_${revision}"
|
||||
depends="AppStream-${version}_${revision} AppStream-qt-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
|
@ -26,3 +27,10 @@ AppStream-devel_package() {
|
|||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
AppStream-qt_package() {
|
||||
short_desc+=" - qt5 interface library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libAppStreamQt.so.*"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue