diff --git a/community/appstream-glib/APKBUILD b/community/appstream-glib/APKBUILD index 3ef10e6cb6d5b2aa9dbbd266eeaecdf89a36dc74..6b6c20456ba83f7c1f5fd303a3980970aa81dd32 100644 --- a/community/appstream-glib/APKBUILD +++ b/community/appstream-glib/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Leo <thinkabit.ukim@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=appstream-glib -pkgver=0.8.2 -pkgrel=1 +pkgver=0.8.3 +pkgrel=0 pkgdesc="Library for AppStream metadata" url="https://people.freedesktop.org/~hughsient/appstream-glib/" arch="all" @@ -31,9 +31,7 @@ subpackages=" $pkgname-builder $pkgname-bash-completion:bashcomp:noarch " -source="https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-$pkgver.tar.xz - as-yaml-support-application-yaml-mimetype.patch - " +source="https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-$pkgver.tar.xz" build() { abuild-meson \ @@ -43,7 +41,6 @@ build() { -Drpm=false \ -Dalpm=false \ -Dfonts=true \ - -Dstemmer=false \ -Dman=true \ -Dgtk-doc=false \ -Dintrospection=true \ @@ -82,6 +79,5 @@ bashcomp() { } sha512sums=" -c9c21049ab43f5da8595aa07a3c2e097163a05b5e0fc030e4e3326136cd18127f04ad9edf08c12aea823b89048b43808cc60759cc26fcf2541cd9c1acbb29e28 appstream-glib-0.8.2.tar.xz -c6b585a1e42bbc9d71b355e14712d79092a5f07c2afe762764a9e71e72044ef51eecbcb07447291b454cb35ce84225dd7ffd14ce3d83753d482309b78ef26a93 as-yaml-support-application-yaml-mimetype.patch +df4247b710cf234eef037f5f7be6be4872638d0686becd65e10e6a4214b0dd1b48ffbbd69179f3fb9777373926840d5b776e20a41ce11d4926114345944db127 appstream-glib-0.8.3.tar.xz " diff --git a/community/appstream-glib/as-yaml-support-application-yaml-mimetype.patch b/community/appstream-glib/as-yaml-support-application-yaml-mimetype.patch deleted file mode 100644 index a6ee4d109a7e8008f36254bf485f3a18d6bb305f..0000000000000000000000000000000000000000 --- a/community/appstream-glib/as-yaml-support-application-yaml-mimetype.patch +++ /dev/null @@ -1,16 +0,0 @@ -as_test_yaml_fails because the mimetype is detected as `application/yaml`, which -is not recognized. -diff --git a/libappstream-glib/as-yaml.c b/libappstream-glib/as-yaml.c -index d764d15..da83fea 100644 ---- a/libappstream-glib/as-yaml.c -+++ b/libappstream-glib/as-yaml.c -@@ -506,7 +506,8 @@ as_yaml_from_file (GFile *file, AsYamlFromFlags flags, GCancellable *cancellable - g_strcmp0 (content_type, "application/x-gzip") == 0) { - conv = G_CONVERTER (g_zlib_decompressor_new (G_ZLIB_COMPRESSOR_FORMAT_GZIP)); - stream_data = g_converter_input_stream_new (file_stream, conv); -- } else if (g_strcmp0 (content_type, "application/x-yaml") == 0) { -+ } else if (g_strcmp0 (content_type, "application/x-yaml") == 0 || -+ g_strcmp0 (content_type, "application/yaml") == 0) { - stream_data = g_object_ref (file_stream); - } else { - g_set_error (error,