[arch-commits] Commit in libpeas/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Sep 12 19:16:14 UTC 2019


    Date: Thursday, September 12, 2019 @ 19:16:14
  Author: heftig
Revision: 362313

archrelease: copy trunk to extra-x86_64

Added:
  libpeas/repos/extra-x86_64/PKGBUILD
    (from rev 362312, libpeas/trunk/PKGBUILD)
Deleted:
  libpeas/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 41 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-12 19:15:56 UTC (rev 362312)
+++ PKGBUILD	2019-09-12 19:16:14 UTC (rev 362313)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=libpeas
-pkgver=1.22.0
-pkgrel=3
-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
-source=("git+https://git.gnome.org/browse/libpeas#commit=$_commit")
-sha256sums=('SKIP')
-
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^libpeas-//;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --enable-gtk-doc --disable-static
-
-  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="${pkgdir}" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: libpeas/repos/extra-x86_64/PKGBUILD (from rev 362312, libpeas/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-12 19:16:14 UTC (rev 362313)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libpeas
+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 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')
+
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^libpeas-//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D vapi=true -D gtk_doc=true
+  ninja -C build
+}
+
+check() {
+  xvfb-run meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list