[arch-commits] Commit in appstream/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Jul 10 19:14:36 UTC 2017


    Date: Monday, July 10, 2017 @ 19:14:36
  Author: arojas
Revision: 300041

Fix appstream-generator crash

Modified:
  appstream/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-10 18:51:26 UTC (rev 300040)
+++ PKGBUILD	2017-07-10 19:14:36 UTC (rev 300041)
@@ -6,7 +6,7 @@
 pkgbase=appstream
 pkgname=(appstream appstream-qt)
 pkgver=0.11.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Provides a standard for creating app stores across distributions"
 arch=(i686 x86_64)
 url="http://distributions.freedesktop.org/wiki/AppStream"
@@ -14,14 +14,20 @@
 depends=(libyaml libxml2 libstemmer glib2)
 makedepends=(cmake xmlto gobject-introspection python2 docbook-xsl qt5-base itstool vala)
 source=("https://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz"{,.asc}
+        fix-asgen-crash.patch::"https://github.com/ximion/appstream/commit/f68b511d.patch"
         update-appstream-index.hook)
 sha256sums=('f5d43fb30a3419fa219d09281cd52e2aa7c335f3980b9e161e537a6826c143c4'
             'SKIP'
+            'ce52ac53ae139f486ed5566ac4387e6c98158eea956d0836d2aa2485203f7f47'
             'a08b972b31388efe7edfa6db8dbd6909914bb613dd39b608b1764ed040907f82')
 validpgpkeys=(D33A3F0CA16B0ACC51A60738494C8A5FBF4DECEB) # Matthias Klumpp <matthias at tenstral.net>
 
 prepare() {
   mkdir -p build
+
+# Fix crash in appstream-generator
+  cd AppStream-$pkgver
+  patch -p1 -i ../fix-asgen-crash.patch
 }
 
 build() {



More information about the arch-commits mailing list