From 5f35a4522583fd1e7656da25988b5745aa93bba8 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 4 Jun 2018 13:34:51 -0300 Subject: [PATCH] appstream-glib: update to 0.7.9. Closes #14902. Signed-off-by: Enno Boland --- common/shlibs | 4 ++-- srcpkgs/appstream-glib/template | 23 +++++++++++++++++++---- srcpkgs/libappstream-builder | 1 + srcpkgs/libappstream-glib | 1 + 4 files changed, 23 insertions(+), 6 deletions(-) create mode 120000 srcpkgs/libappstream-builder create mode 120000 srcpkgs/libappstream-glib diff --git a/common/shlibs b/common/shlibs index 36a5378b50..f019cdbabb 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2923,8 +2923,8 @@ libsuperlu.so.5 superlu-5.2.1_1 libgosu.so.0 gosu-0.12.0_1 libyara.so.3 libyara-3.5.0_1 libgcab-1.0.so.0 gcab-0.7_1 -libappstream-glib.so.8 appstream-glib-0.6.13_1 -libappstream-builder.so.8 appstream-glib-0.6.13_1 +libappstream-glib.so.8 libappstream-glib-0.7.9_1 +libappstream-builder.so.8 libappstream-builder-0.7.9_1 libflatpak.so.0 flatpak-0.9.3_2 libnanomsg.so.5 nanomsg-1.1.3_1 libindicator3.so.7 libindicator-12.10.1_1 diff --git a/srcpkgs/appstream-glib/template b/srcpkgs/appstream-glib/template index c24f8a7d2d..29dac31757 100644 --- a/srcpkgs/appstream-glib/template +++ b/srcpkgs/appstream-glib/template @@ -1,6 +1,6 @@ # Template file for 'appstream-glib' pkgname=appstream-glib -version=0.7.8 +version=0.7.9 revision=1 build_style=meson configure_args="-Dgtk-doc=false -Drpm=false -Dstemmer=false @@ -13,7 +13,7 @@ maintainer="Enno Boland " license="LGPL-2.1-or-later" homepage="https://people.freedesktop.org/~hughsient/appstream-glib/" distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz" -checksum=eb0e2cfd5a6070615efea4c87b1fc539f4566085aa5f5b41945f679d9d61dd4c +checksum=278331da5049067f076330962400e680234b2e0ecbe6fa5d4668040ae0a88c47 build_options="gir" if [ -z "$CROSS_BUILD" ]; then @@ -28,8 +28,9 @@ post_install() { } appstream-glib-devel_package() { - depends="${sourcepkg}>=${version}_${revision} gcab-devel gdk-pixbuf-devel - libarchive-devel libsoup-devel libyaml-devel" + depends="libappstream-glib-${version}_${revision} gcab-devel gdk-pixbuf-devel + libarchive-devel libsoup-devel libyaml-devel + libappstream-builder-${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include @@ -42,3 +43,17 @@ appstream-glib-devel_package() { fi } } + +libappstream-glib_package() { + short_desc+=" - appstream-glib library" + pkg_install() { + vmove "usr/lib/libappstream-glib.so.*" + } +} + +libappstream-builder_package() { + short_desc+=" - appstream-builder library" + pkg_install() { + vmove "usr/lib/libappstream-builder.so.*" + } +} diff --git a/srcpkgs/libappstream-builder b/srcpkgs/libappstream-builder new file mode 120000 index 0000000000..a9ae197f2f --- /dev/null +++ b/srcpkgs/libappstream-builder @@ -0,0 +1 @@ +appstream-glib \ No newline at end of file diff --git a/srcpkgs/libappstream-glib b/srcpkgs/libappstream-glib new file mode 120000 index 0000000000..a9ae197f2f --- /dev/null +++ b/srcpkgs/libappstream-glib @@ -0,0 +1 @@ +appstream-glib \ No newline at end of file