[arch-commits] Commit in gdk-pixbuf2/repos (4 files)

Jan Steffens heftig at archlinux.org
Tue Sep 4 17:18:08 UTC 2018


    Date: Tuesday, September 4, 2018 @ 17:18:08
  Author: heftig
Revision: 333307

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gdk-pixbuf2/repos/gnome-unstable-x86_64/
  gdk-pixbuf2/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 333306, gdk-pixbuf2/trunk/PKGBUILD)
  gdk-pixbuf2/repos/gnome-unstable-x86_64/gdk-pixbuf-query-loaders.hook
    (from rev 333306, gdk-pixbuf2/trunk/gdk-pixbuf-query-loaders.hook)
  gdk-pixbuf2/repos/gnome-unstable-x86_64/gdk-pixbuf2.install
    (from rev 333306, gdk-pixbuf2/trunk/gdk-pixbuf2.install)

-------------------------------+
 PKGBUILD                      |   48 ++++++++++++++++++++++++++++++++++++++++
 gdk-pixbuf-query-loaders.hook |   11 +++++++++
 gdk-pixbuf2.install           |    3 ++
 3 files changed, 62 insertions(+)

Copied: gdk-pixbuf2/repos/gnome-unstable-x86_64/PKGBUILD (from rev 333306, gdk-pixbuf2/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2018-09-04 17:18:08 UTC (rev 333307)
@@ -0,0 +1,48 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gdk-pixbuf2
+pkgver=2.38.0
+pkgrel=1
+pkgdesc="An image loading library"
+arch=(x86_64)
+url="https://wiki.gnome.org/Projects/GdkPixbuf"
+license=(LGPL2.1)
+depends=(glib2 libpng libtiff libjpeg libx11 jasper shared-mime-info)
+makedepends=(gtk-doc gobject-introspection git docbook-xsl meson)
+install=gdk-pixbuf2.install
+_commit=0b1eab312e77701c20b07fb8e38119009f8b34c3  # tags/2.38.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gdk-pixbuf.git#commit=$_commit"
+        gdk-pixbuf-query-loaders.hook)
+sha256sums=('SKIP'
+            '963afcfacde9fd36031d93c8aa4c94a669ab1dbe9ba0d2cf17599b7d358e54c2')
+
+pkgver() {
+  cd gdk-pixbuf
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd gdk-pixbuf
+}
+
+build() {
+  arch-meson gdk-pixbuf build \
+    -D jasper=true \
+    -D docs=true \
+    -D installed_tests=false
+  ninja -C build
+}
+
+check() {
+  cd build
+  # pixbuf-randomly-modified fails randomly
+  meson test -t 3 || :
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gdk-pixbuf2/repos/gnome-unstable-x86_64/gdk-pixbuf-query-loaders.hook (from rev 333306, gdk-pixbuf2/trunk/gdk-pixbuf-query-loaders.hook)
===================================================================
--- gnome-unstable-x86_64/gdk-pixbuf-query-loaders.hook	                        (rev 0)
+++ gnome-unstable-x86_64/gdk-pixbuf-query-loaders.hook	2018-09-04 17:18:08 UTC (rev 333307)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so
+
+[Action]
+Description = Probing GDK-Pixbuf loader modules...
+When = PostTransaction
+Exec = /usr/bin/gdk-pixbuf-query-loaders --update-cache

Copied: gdk-pixbuf2/repos/gnome-unstable-x86_64/gdk-pixbuf2.install (from rev 333306, gdk-pixbuf2/trunk/gdk-pixbuf2.install)
===================================================================
--- gnome-unstable-x86_64/gdk-pixbuf2.install	                        (rev 0)
+++ gnome-unstable-x86_64/gdk-pixbuf2.install	2018-09-04 17:18:08 UTC (rev 333307)
@@ -0,0 +1,3 @@
+pre_remove() {
+    rm -f /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+}



More information about the arch-commits mailing list