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

Dan Printzell wild at archlinux.org
Mon May 3 21:25:16 UTC 2021


    Date: Monday, May 3, 2021 @ 21:25:16
  Author: wild
Revision: 927316

upgpkg: appstream-generator 0.8.4-2: Rebuilt against new ldc

Modified:
  appstream-generator/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-03 21:23:47 UTC (rev 927315)
+++ PKGBUILD	2021-05-03 21:25:16 UTC (rev 927316)
@@ -2,7 +2,7 @@
 
 pkgname=appstream-generator
 pkgver=0.8.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A fast AppStream metadata generator"
 arch=(x86_64)
 url="https://github.com/ximion/appstream-generator"
@@ -9,9 +9,17 @@
 license=(GPL3)
 depends=(appstream libarchive librsvg optipng glibd)
 makedepends=(ldc meson ninja mustache-d curl gir-to-d gobject-introspection docbook-xsl)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/ximion/appstream-generator/archive/v$pkgver.tar.gz")
-sha256sums=('49bebcc959f02d72c31f26dad84e3acb3d1a12f64f18fe0a58db23e4d66f97b5')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/ximion/appstream-generator/archive/v$pkgver.tar.gz"
+        "FixCompilationDueToBrokenGeneratedCode.patch::https://github.com/ximion/appstream-generator/commit/d5dad3b174eea7e9fbe0ed6e7b55a366b8eb203d.patch")
+sha256sums=('49bebcc959f02d72c31f26dad84e3acb3d1a12f64f18fe0a58db23e4d66f97b5'
+            '26341b31ddb7478affaba1dbcf5581ba1ae3a3d11d9770efa8d57fcc0bcc26ea')
 
+prepare() {
+  # Fix compilation due to broken generated GdkPixbuf code
+  # https://github.com/ximion/appstream-generator/pull/90
+  patch -d $pkgname-$pkgver -p1 -i "$srcdir"/FixCompilationDueToBrokenGeneratedCode.patch
+}
+
 build() {
   meson build $pkgname-$pkgver -Ddownload-js=false --prefix=/usr
   ninja -C build



More information about the arch-commits mailing list