[arch-commits] Commit in gdk-pixbuf2/repos (4 files)
Jan Steffens
heftig at archlinux.org
Mon Nov 9 13:41:31 UTC 2020
Date: Monday, November 9, 2020 @ 13:41:31
Author: heftig
Revision: 399718
archrelease: copy trunk to staging-x86_64
Added:
gdk-pixbuf2/repos/staging-x86_64/
gdk-pixbuf2/repos/staging-x86_64/PKGBUILD
(from rev 399717, gdk-pixbuf2/trunk/PKGBUILD)
gdk-pixbuf2/repos/staging-x86_64/gdk-pixbuf-query-loaders.hook
(from rev 399717, gdk-pixbuf2/trunk/gdk-pixbuf-query-loaders.hook)
gdk-pixbuf2/repos/staging-x86_64/gdk-pixbuf2.install
(from rev 399717, gdk-pixbuf2/trunk/gdk-pixbuf2.install)
-------------------------------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++
gdk-pixbuf-query-loaders.hook | 11 +++++++++
gdk-pixbuf2.install | 3 ++
3 files changed, 60 insertions(+)
Copied: gdk-pixbuf2/repos/staging-x86_64/PKGBUILD (from rev 399717, gdk-pixbuf2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-11-09 13:41:31 UTC (rev 399718)
@@ -0,0 +1,46 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gdk-pixbuf2
+pkgver=2.42.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 shared-mime-info)
+makedepends=(gtk-doc gobject-introspection git meson)
+provides=(libgdk_pixbuf-2.0.so)
+install=gdk-pixbuf2.install
+_commit=43ce0077ed7162a32680ff8cd9c0c91ff0afce20 # tags/2.42.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gdk-pixbuf.git#commit=$_commit"
+ gdk-pixbuf-query-loaders.hook)
+sha256sums=('SKIP'
+ '9fb71d95e6a212779eb0f88dde5a3cee0df7f4d9183f8f9ce286f8cdc14428f0')
+
+pkgver() {
+ cd gdk-pixbuf
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd gdk-pixbuf
+}
+
+build() {
+ arch-meson gdk-pixbuf build \
+ -D docs=true \
+ -D installed_tests=false
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+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/staging-x86_64/gdk-pixbuf-query-loaders.hook (from rev 399717, gdk-pixbuf2/trunk/gdk-pixbuf-query-loaders.hook)
===================================================================
--- staging-x86_64/gdk-pixbuf-query-loaders.hook (rev 0)
+++ staging-x86_64/gdk-pixbuf-query-loaders.hook 2020-11-09 13:41:31 UTC (rev 399718)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Path
+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/staging-x86_64/gdk-pixbuf2.install (from rev 399717, gdk-pixbuf2/trunk/gdk-pixbuf2.install)
===================================================================
--- staging-x86_64/gdk-pixbuf2.install (rev 0)
+++ staging-x86_64/gdk-pixbuf2.install 2020-11-09 13:41:31 UTC (rev 399718)
@@ -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