Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
libxmlb


Commits:
59ccb6a0 by Antonio Rojas at 2024-10-15T12:56:42+02:00
Fix breakage in appstream

Fixes 
https://gitlab.archlinux.org/archlinux/packaging/packages/appstream/-/issues/2

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = libxmlb
        pkgdesc = Library to help create and query binary XML blobs
        pkgver = 0.3.20
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/hughsie/libxmlb
        arch = x86_64
        license = LGPL
@@ -15,8 +15,10 @@ pkgbase = libxmlb
        depends = zstd
        source = 
https://github.com/hughsie/libxmlb/releases/download/0.3.20/libxmlb-0.3.20.tar.xz
        source = 
https://github.com/hughsie/libxmlb/releases/download/0.3.20/libxmlb-0.3.20.tar.xz.asc
+       source = https://github.com/hughsie/libxmlb/commit/97e22e0a.patch
        validpgpkeys = 163EB50119225DB3DF8F49EA17ACBA8DFA970E17
        sha256sums = 
4c5b534d645f7328643d6a0d3040ffb9832e13e3530025af55086a06e3c018ed
        sha256sums = SKIP
+       sha256sums = 
7db094e7175a9b226f4b3d9648bec8b02c6b7086e34df072b9fbe34334ed8cbd
 
 pkgname = libxmlb


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=libxmlb
 pkgver=0.3.20
-pkgrel=1
+pkgrel=2
 pkgdesc="Library to help create and query binary XML blobs"
 arch=(x86_64)
 url="https://github.com/hughsie/libxmlb";
@@ -10,11 +10,17 @@ license=(LGPL)
 depends=(glib2 libstemmer xz zstd)
 makedepends=(meson gobject-introspection gtk-doc)
 checkdepends=(shared-mime-info)
-source=("https://github.com/hughsie/libxmlb/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
+source=("https://github.com/hughsie/libxmlb/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc}
+         https://github.com/hughsie/libxmlb/commit/97e22e0a.patch)
 sha256sums=('4c5b534d645f7328643d6a0d3040ffb9832e13e3530025af55086a06e3c018ed'
-            'SKIP')
+            'SKIP'
+            '7db094e7175a9b226f4b3d9648bec8b02c6b7086e34df072b9fbe34334ed8cbd')
 validpgpkeys=(163EB50119225DB3DF8F49EA17ACBA8DFA970E17) # Richard Hughes 
<[email protected]>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 97e22e0a.patch # Revert commit that breaks 
appstream
+}
+
 build() {
   arch-meson ${pkgname}-${pkgver} build -D stemmer=true
   ninja -v -C build



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libxmlb/-/commit/59ccb6a07f158b7b4292b59dae9502bd5e8503fa

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libxmlb/-/commit/59ccb6a07f158b7b4292b59dae9502bd5e8503fa
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to