Package Details: appstream-glib-git 0.6.4.r26.gb6d6c23-1

Git Clone URL: https://aur.archlinux.org/appstream-glib-git.git (read-only)
Package Base: appstream-glib-git
Description: Provides GObjects and helper methods to make it easy to read and write AppStream metadata (git version)
Upstream URL: http://people.freedesktop.org/~hughsient/appstream-glib/
Licenses: LGPL
Conflicts: appdata-tools, appstream-glib
Provides: appdata-tools, appstream-glib=0.6.4.r26.gb6d6c23
Replaces: appdata-tools
Submitter: mirco
Maintainer: mirco
Last Packager: mirco
Votes: 1
Popularity: 0.000000
First Submitted: 2015-12-07 18:57
Last Updated: 2016-11-06 19:26

Required by (68)

Sources (1)

Latest Comments

apol commented on 2019-01-09 13:57

here's a patch to update to meson:

diff --git a/PKGBUILD b/PKGBUILD
index 31efbec..53b02e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,14 @@

 _pkgname=appstream-glib
 pkgname=${_pkgname}-git
-pkgver=0.6.4.r26.gb6d6c23
+pkgver=0.7.14.r25.g59664c2
 pkgrel=1
 pkgdesc="Provides GObjects and helper methods to make it easy to read and write AppStream metadata (git version)"
 arch=('i686' 'x86_64')
 url="http://people.freedesktop.org/~hughsient/appstream-glib/"
 license=('LGPL')
 depends=('gtk3' 'libyaml' 'pacman' 'gcab' 'libstemmer' 'libsoup')
-makedepends=('intltool' 'git' 'gtk-doc' 'gobject-introspection' 'autoconf-archive')
+makedepends=('intltool' 'git' 'gtk-doc' 'gobject-introspection' 'meson')
 provides=('appdata-tools' "appstream-glib=${pkgver}")
 conflicts=('appdata-tools' 'appstream-glib')
 replaces=('appdata-tools')
@@ -26,13 +26,13 @@ pkgver() {

 build() {
   cd "$_pkgname"
-  ./autogen.sh         --prefix=/usr \
-               --enable-alpm \
-               --enable-stemmer
-  #https://bugzilla.gnome.org/show_bug.cgi?id=655517
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  arch-meson $pkgname \
+    -D alpm=true \
+    -D gtk-doc=true \
+    -D rpm=false \
+    --buildtype debug

-  make
+  ninja -C $pkgname
 }

 check() {
@@ -42,5 +42,5 @@ check() {

 package() {
   cd "$_pkgname"
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C $pkgname
 }

apol commented on 2019-01-08 13:51

It's not building for me.

/tmp/trizen-apol/appstream-glib-git/PKGBUILD: line 29: ./autogen.sh: No such file or directory