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

Antonio Rojas arojas at archlinux.org
Thu Sep 1 06:20:43 UTC 2016


    Date: Thursday, September 1, 2016 @ 06:20:42
  Author: arojas
Revision: 188198

Fix providing screenshot urls

Modified:
  appstream/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-01 05:47:36 UTC (rev 188197)
+++ PKGBUILD	2016-09-01 06:20:42 UTC (rev 188198)
@@ -6,7 +6,7 @@
 pkgbase=appstream
 pkgname=(appstream appstream-qt)
 pkgver=0.10.0
-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"
@@ -13,12 +13,18 @@
 license=(GPL)
 depends=(xapian-core polkit libyaml libxml2 protobuf libstemmer)
 makedepends=(cmake xmlto intltool gobject-introspection python2 docbook-xsl qt5-base)
-source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-index.hook)
+source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-index.hook
+        appstream-screenshot-url.patch::"https://github.com/ximion/appstream/commit/cef772ac.patch")
 sha256sums=('71e561064522b10039c3f36864cbcbdebb4e94db0500d9c4e92a13760072bbb8'
-            'eb4fcec37d2cbe42ddf13778c21554aba0dcbc789781571a568ea35526496f79')
+            'eb4fcec37d2cbe42ddf13778c21554aba0dcbc789781571a568ea35526496f79'
+            '1e08cce26259f9e48f1792c8437036082fa7542fdc7f918d5619e47111d8ce17')
 
 prepare() {
   mkdir -p build
+
+  cd AppStream-$pkgver
+# Fix cache (de)serialization for screenshots and suggestions
+  patch -p1 -i ../appstream-screenshot-url.patch
 }
 
 build() {



More information about the arch-commits mailing list