AppStream: enable qt5 bindings

This commit is contained in:
John 2018-09-25 08:58:24 +02:00 committed by maxice8
parent 0ba36bd3f6
commit 0c683319f5
3 changed files with 15 additions and 5 deletions

View File

@ -2843,6 +2843,7 @@ libyaz_icu.so.5 yaz-5.23.1_1
libyaz.so.5 yaz-5.23.1_1 libyaz.so.5 yaz-5.23.1_1
libyaz_server.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 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-glib.so.8 appstream-glib-0.6.13_1
libappstream-builder.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 libflatpak.so.0 flatpak-0.9.3_2

1
srcpkgs/AppStream-qt Symbolic link
View File

@ -0,0 +1 @@
AppStream

View File

@ -1,12 +1,13 @@
# Template file for 'AppStream' # Template file for 'AppStream'
pkgname=AppStream pkgname=AppStream
version=0.12.2 version=0.12.2
revision=2 revision=3
wrksrc="appstream-APPSTREAM_${version//./_}" wrksrc="appstream-APPSTREAM_${version//./_}"
build_style=meson build_style=meson
configure_args="-Dgir=false -Dstemming=false -Dapidocs=false" configure_args="-Dgir=false -Dstemming=false -Dapidocs=false -Dqt=true"
hostmakedepends="docbook-xsl glib-devel gperf libxslt pkg-config" hostmakedepends="docbook-xsl glib-devel gperf libxslt pkg-config
makedepends="libglib-devel libxml2-devel libyaml-devel" qt5-host-tools"
makedepends="libglib-devel libxml2-devel libyaml-devel qt5-devel"
short_desc="Tools and libraries to work with AppStream metadata" short_desc="Tools and libraries to work with AppStream metadata"
maintainer="maxice8 <thinkabit.ukim@gmail.com>" maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
@ -18,7 +19,7 @@ conf_files="/etc/appstream.conf"
triggers="appstream-cache" triggers="appstream-cache"
AppStream-devel_package() { AppStream-devel_package() {
depends="AppStream-${version}_${revision}" depends="AppStream-${version}_${revision} AppStream-qt-${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
@ -26,3 +27,10 @@ AppStream-devel_package() {
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
} }
} }
AppStream-qt_package() {
short_desc+=" - qt5 interface library"
pkg_install() {
vmove "usr/lib/libAppStreamQt.so.*"
}
}