[arch-commits] Commit in gtksourceview3/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Mon Jul 18 18:52:29 UTC 2022
Date: Monday, July 18, 2022 @ 18:52:29
Author: heftig
Revision: 1254446
archrelease: copy trunk to community-x86_64
Added:
gtksourceview3/repos/community-x86_64/PKGBUILD
(from rev 1254445, gtksourceview3/trunk/PKGBUILD)
Deleted:
gtksourceview3/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 103 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-18 18:52:17 UTC (rev 1254445)
+++ PKGBUILD 2022-07-18 18:52:29 UTC (rev 1254446)
@@ -1,52 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=gtksourceview3
-pkgver=3.24.11+28+g73e57b57
-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
- yelp-tools git)
-checkdepends=(xorg-server-xvfb)
-_commit=73e57b5787ac60776c57032e05a4cc32207f9cf6 # gnome-3-24
-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 \
- --disable-glade-catalog --enable-gtk-doc --disable-Werror
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-check() {
- cd gtksourceview
- dbus-run-session xvfb-run \
- -s '-screen 0 1920x1080x24 -nolisten local' \
- make check
-}
-
-package() {
- cd gtksourceview
- make DESTDIR="$pkgdir" install
-}
Copied: gtksourceview3/repos/community-x86_64/PKGBUILD (from rev 1254445, gtksourceview3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-18 18:52:29 UTC (rev 1254446)
@@ -0,0 +1,51 @@
+# Contributor: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gtksourceview3
+pkgver=3.24.11+r28+g73e57b57
+pkgrel=1
+epoch=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
+ yelp-tools git)
+checkdepends=(xorg-server-xvfb)
+options=(debug)
+_commit=73e57b5787ac60776c57032e05a4cc32207f9cf6 # gnome-3-24
+source=("git+https://gitlab.gnome.org/GNOME/gtksourceview.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd gtksourceview
+ git describe --tags | sed 's/[^-]*-g/r&/;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 --disable-glade-catalog --disable-gtk-doc --disable-Werror
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd gtksourceview
+ dbus-run-session xvfb-run -s '-nolisten local' make check
+}
+
+package() {
+ cd gtksourceview
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list