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

Jan Steffens heftig at archlinux.org
Thu Sep 12 19:15:56 UTC 2019


    Date: Thursday, September 12, 2019 @ 19:15:56
  Author: heftig
Revision: 362312

1.24.0-1

Modified:
  libpeas/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++---------------
 1 file changed, 12 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-12 18:35:09 UTC (rev 362311)
+++ PKGBUILD	2019-09-12 19:15:56 UTC (rev 362312)
@@ -1,16 +1,17 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=libpeas
-pkgver=1.22.0
-pkgrel=3
+pkgver=1.24.0
+pkgrel=1
 pkgdesc="A GObject plugins library"
 arch=(x86_64)
 url="https://wiki.gnome.org/Projects/Libpeas"
 license=(GPL2)
 depends=(gtk3 gobject-introspection-runtime)
-makedepends=(gtk-doc intltool python-gobject python2-gobject glade gobject-introspection git
-             gnome-common)
-_commit=2f8b28dd8e1edc1bc3b05ef5379e4aa7d2876efb  # tags/libpeas-1.22.0^0
+makedepends=(gtk-doc python-gobject glade gobject-introspection git meson vala)
+checkdepends=(xorg-server-xvfb)
+optdepends=('python-gobject: Python loader')
+_commit=f9962a516ead8ce20531d1b23e1b656caecd9274  # tags/libpeas-1.24.0^0
 source=("git+https://gitlab.gnome.org/GNOME/libpeas.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -22,23 +23,19 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --enable-gtk-doc --disable-static
+  arch-meson $pkgname build -D vapi=true -D gtk_doc=true
+  ninja -C build
+}
 
-  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make
+check() {
+  xvfb-run meson test -C build --print-errorlogs
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="$pkgdir" meson install -C build
 }
 
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list