[arch-commits] Commit in gdk-pixbuf-xlib/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Nov 26 11:59:35 UTC 2019


    Date: Tuesday, November 26, 2019 @ 11:59:35
  Author: heftig
Revision: 369804

prep gdk-pixbuf-xlib

Added:
  gdk-pixbuf-xlib/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-26 11:59:35 UTC (rev 369804)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gdk-pixbuf-xlib
+pkgver=2.40.1
+pkgrel=1
+pkgdesc="Deprecated Xlib integration for GdkPixbuf"
+arch=(x86_64)
+url="https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib"
+license=(LGPL2.1)
+depends=(gdk-pixbuf2 libx11)
+makedepends=(gtk-doc git meson)
+_commit=dc22ea36f69755007c66877284596df270532cc1  # master
+source=("git+$url.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  git tag -f 2.40.1 dc22ea36f69755007c66877284596df270532cc1
+}
+
+build() {
+  arch-meson $pkgname build -D gtk_doc=true
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list