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

Jan Steffens heftig at archlinux.org
Tue Sep 10 18:55:58 UTC 2019


    Date: Tuesday, September 10, 2019 @ 18:55:58
  Author: heftig
Revision: 362134

archrelease: copy trunk to extra-x86_64

Added:
  gtksourceview4/repos/extra-x86_64/PKGBUILD
    (from rev 362133, gtksourceview4/trunk/PKGBUILD)
Deleted:
  gtksourceview4/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 39 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-10 18:55:22 UTC (rev 362133)
+++ PKGBUILD	2019-09-10 18:55:58 UTC (rev 362134)
@@ -1,45 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=gtksourceview4
-pkgver=4.2.0
-pkgrel=1
-pkgdesc="A text widget adding syntax highlighting and more to GNOME"
-url="https://wiki.gnome.org/Projects/GtkSourceView"
-arch=(x86_64)
-license=(GPL)
-depends=(gtk3 libxml2)
-makedepends=(intltool gobject-introspection vala gtk-doc autoconf-archive glade
-             yelp-tools git)
-_commit=9d633818558ecaa18b48d4b4d59afca6f4a68fb3  # tags/4.2.0^0
-source=("git+https://gitlab.gnome.org/GNOME/gtksourceview.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd gtksourceview
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd gtksourceview
-
-  # Workaround incompat with recent autoconf-archive
-  find . -name Makefile.am -exec sed -i '/@CODE_COVERAGE_RULES@/d' {} +
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd gtksourceview
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --disable-static \
-      --enable-glade-catalog --enable-gtk-doc --disable-Werror
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package() {
-  cd gtksourceview
-  make DESTDIR="$pkgdir" install
-}

Copied: gtksourceview4/repos/extra-x86_64/PKGBUILD (from rev 362133, gtksourceview4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-10 18:55:58 UTC (rev 362134)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gtksourceview4
+pkgver=4.4.0
+pkgrel=1
+pkgdesc="A text widget adding syntax highlighting and more to GNOME"
+url="https://wiki.gnome.org/Projects/GtkSourceView"
+arch=(x86_64)
+license=(GPL)
+depends=(gtk3 libxml2)
+makedepends=(gobject-introspection vala gtk-doc glade yelp-tools git meson)
+checkdepends=(xorg-server-xvfb)
+_commit=6cbb07d5454ccb46ee053cc458391289cc2fb630  # tags/4.4.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gtksourceview.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd gtksourceview
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd gtksourceview
+}
+
+build() {
+  arch-meson gtksourceview build -D glade_catalog=true -D gtk_doc=true
+  ninja -C build
+}
+
+check() {
+  xvfb-run meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list