Package Details: appstream-glib-git 0.7.18.r40.gb6cb98e-1

Git Clone URL: https://aur.archlinux.org/appstream-glib-git.git (read-only, click to copy)
Package Base: appstream-glib-git
Description: Objects and methods for reading and writing AppStream metadata
Upstream URL: https://people.freedesktop.org/~hughsient/appstream-glib/
Licenses: LGPL
Conflicts: appstream-glib
Provides: appstream-glib, libappstream-glib.so
Submitter: mirco
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 1
Popularity: 0.000000
First Submitted: 2015-12-07 18:57 (UTC)
Last Updated: 2022-06-11 15:31 (UTC)

Required by (399)

Sources (1)

Latest Comments

carlosnewmusic commented on 2021-07-16 12:30 (UTC)

error build Cloning into 'appstream-glib'... done. ==> Starting pkgver()... ==> Updated version: appstream-glib-git 0.7.18.r17.ge98c97f-1 ==> Starting build()... /var/tmp/pamac-build-carlos/appstream-glib-git/PKGBUILD: line 29: ./autogen.sh: File or directory does not exist ==> ERROR: Build() failed. Canceling...

apol commented on 2019-01-09 13:57 (UTC) (edited on 2019-01-09 14:09 (UTC) by apol)

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 (UTC)

It's not building for me.

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