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

Jan Steffens heftig at archlinux.org
Tue Sep 4 16:55:05 UTC 2018


    Date: Tuesday, September 4, 2018 @ 16:55:04
  Author: heftig
Revision: 333304

1.58.0-1

Modified:
  gobject-introspection/trunk/PKGBUILD	(contents, properties)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++------------------
 1 file changed, 23 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-04 16:41:55 UTC (rev 333303)
+++ PKGBUILD	2018-09-04 16:55:04 UTC (rev 333304)
@@ -1,18 +1,18 @@
-# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgbase=gobject-introspection
 pkgname=(gobject-introspection gobject-introspection-runtime)
-pkgver=1.56.1
-pkgrel=2
+pkgver=1.58.0
+pkgrel=1
 pkgdesc="Introspection system for GObject-based libraries"
 url="https://wiki.gnome.org/Projects/GObjectIntrospection"
 arch=(x86_64)
 license=(LGPL GPL)
 depends=(python python-mako)
-makedepends=(cairo git gtk-doc)
+makedepends=(cairo git gtk-doc python-sphinx meson)
 options=(!emptydirs)
-_commit=14ff69f032c603e6100728088ebbda19fd44db8a  # tags/1.56.1^0
+_commit=01bf21f398d5ece9ac2d78c00b4b362091f8e05c  # tags/1.58.0^0
 source=("git+https://gitlab.gnome.org/GNOME/gobject-introspection.git#commit=$_commit")
 sha512sums=('SKIP')
 
@@ -23,27 +23,32 @@
 
 prepare() {
   cd $pkgbase
-  NOCONFIGURE=1 ./autogen.sh
 }
   
 build() {
-  cd $pkgbase
-  ./configure --prefix=/usr --disable-static --enable-doctool --enable-gtk-doc
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgbase build -D cairo=true -D gtk-doc=true
+  ninja -C build
 }
 
-package_gobject-introspection-runtime() {
-  pkgdesc+=" (runtime library)"
-  depends=(glib2)
-  cd $pkgbase
-  make DESTDIR="$pkgdir" install-libLTLIBRARIES install-typelibsDATA
+check() {
+  meson test -C build
 }
 
 package_gobject-introspection() {
   depends+=("gobject-introspection-runtime=$pkgver-$pkgrel")
 
-  cd $pkgbase
-  make DESTDIR="$pkgdir" install
-  make DESTDIR="$pkgdir" uninstall-libLTLIBRARIES uninstall-typelibsDATA
+  DESTDIR="$pkgdir" meson install -C build
+  python -m compileall "$pkgdir/usr/lib/gobject-introspection"
+  python -O -m compileall "$pkgdir/usr/lib/gobject-introspection"
+
+### Split runtime
+  mkdir -p "$srcdir/runtime/lib"
+  mv "$pkgdir"/usr/lib/{lib*,girepository-*} "$srcdir/runtime/lib"
 }
+
+package_gobject-introspection-runtime() {
+  pkgdesc+=" (runtime library)"
+  depends=(glib2)
+
+  mv "$srcdir/runtime" "$pkgdir/usr"
+}


Property changes on: gobject-introspection/trunk/PKGBUILD
___________________________________________________________________
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property



More information about the arch-commits mailing list