appstream-glib: update to 0.8.1.

This commit is contained in:
Michal Vasilek 2022-10-01 15:45:27 +02:00
parent a11b404b4d
commit 3def9a5f42
3 changed files with 6 additions and 34 deletions

View File

@ -1,14 +0,0 @@
They are in the wrong order.
--- a/client/as-util.c
+++ b/client/as-util.c
@@ -27,8 +27,8 @@
#include <gio/gio.h>
#include <appstream-glib.h>
-#include <archive_entry.h>
#include <archive.h>
+#include <archive_entry.h>
#include <libsoup/soup.h>
#include <locale.h>
#include <stdlib.h>

View File

@ -1,14 +0,0 @@
They are in the wrong order.
--- a/libappstream-glib/as-utils.c
+++ b/libappstream-glib/as-utils.c
@@ -34,8 +34,8 @@
#include <fnmatch.h>
#include <string.h>
-#include <archive_entry.h>
#include <archive.h>
+#include <archive_entry.h>
#include <libsoup/soup.h>
#include <stdlib.h>
#include <uuid.h>

View File

@ -1,6 +1,6 @@
# Template file for 'appstream-glib'
pkgname=appstream-glib
version=0.7.18
version=0.8.1
revision=1
build_style=meson
build_helper="gir"
@ -8,25 +8,25 @@ configure_args="-Dgtk-doc=false -Drpm=false -Dstemmer=false
-Dintrospection=$(vopt_if gir true false)"
hostmakedepends="gcab gperf pkg-config glib-devel"
makedepends="gcab-devel gtk+3-devel json-glib-devel libarchive-devel
libsoup-devel libyaml-devel"
libcurl-devel libyaml-devel"
short_desc="Install and update applications"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://people.freedesktop.org/~hughsient/appstream-glib/"
changelog="https://raw.githubusercontent.com/hughsie/appstream-glib/master/NEWS"
distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz"
checksum=ca1ed22e3bde3912cb903aaa7de085d55771da454f1c0573fd9608e1de9c4002
distfiles="https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-${version}.tar.xz"
checksum=68a3d007f5b3aa84592dbef07950d9acf327da97ec8a6e88a90575d9055ddf6d
build_options="gir"
build_options_default="gir"
post_install() {
rm -rf -- "${DESTDIR}"/usr/share/installed-tests
rm -r "${DESTDIR}"/usr/share/installed-tests
}
appstream-glib-devel_package() {
depends="${sourcepkg}>=${version}_${revision} gcab-devel gdk-pixbuf-devel
libarchive-devel libsoup-devel libyaml-devel"
libarchive-devel libcurl-devel libyaml-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include