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

Florian Pritz bluewind at archlinux.org
Fri Mar 13 21:26:01 UTC 2015


    Date: Friday, March 13, 2015 @ 22:26:00
  Author: bluewind
Revision: 129202

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-gdk-pixbuf2/repos/multilib-testing-x86_64/
  lib32-gdk-pixbuf2/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 129201, lib32-gdk-pixbuf2/trunk/PKGBUILD)
  lib32-gdk-pixbuf2/repos/multilib-testing-x86_64/gdk-pixbuf2.install
    (from rev 129201, lib32-gdk-pixbuf2/trunk/gdk-pixbuf2.install)

---------------------+
 PKGBUILD            |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 gdk-pixbuf2.install |   11 +++++++++++
 2 files changed, 57 insertions(+)

Copied: lib32-gdk-pixbuf2/repos/multilib-testing-x86_64/PKGBUILD (from rev 129201, lib32-gdk-pixbuf2/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2015-03-13 21:26:00 UTC (rev 129202)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+_pkgbasename=gdk-pixbuf2
+pkgname=lib32-$_pkgbasename
+pkgver=2.31.3
+pkgrel=1
+pkgdesc="An image loading library (32-bit)"
+arch=('x86_64')
+url="http://www.gtk.org/"
+license=('LGPL2.1')
+depends=(lib32-glib2 lib32-libpng lib32-libtiff lib32-libjpeg lib32-libx11
+         $_pkgbasename)
+makedepends=(gcc-multilib)
+options=('!docs')
+install=gdk-pixbuf2.install
+source=(http://download.gnome.org/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-${pkgver}.tar.xz)
+sha256sums=('ddd861747bb7c580acce7cfa3ce38c3f52a9516e66a6477988fd100c8fb9eabc')
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd "${srcdir}/gdk-pixbuf-${pkgver}"
+
+  ./configure --prefix=/usr  --libdir=/usr/lib32 \
+    --without-libjasper \
+    --with-x11 \
+    --with-included-loaders=png
+  make
+}
+
+package() {
+  cd "${srcdir}/gdk-pixbuf-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/etc
+  rm -rf "${pkgdir}"/usr/{include,share}
+
+  cd "${pkgdir}"/usr/bin
+  mv gdk-pixbuf-query-loaders gdk-pixbuf-query-loaders-32
+  rm gdk-pixbuf-pixdata
+  rm gdk-pixbuf-csource
+}
+
+# vim:set ts=2 sw=2 et:

Copied: lib32-gdk-pixbuf2/repos/multilib-testing-x86_64/gdk-pixbuf2.install (from rev 129201, lib32-gdk-pixbuf2/trunk/gdk-pixbuf2.install)
===================================================================
--- multilib-testing-x86_64/gdk-pixbuf2.install	                        (rev 0)
+++ multilib-testing-x86_64/gdk-pixbuf2.install	2015-03-13 21:26:00 UTC (rev 129202)
@@ -0,0 +1,11 @@
+post_install() {
+    usr/bin/gdk-pixbuf-query-loaders-32 --update-cache
+}
+
+post_upgrade() {
+    post_install
+}
+
+pre_remove() {
+    rm -f usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/loaders.cache
+}



More information about the arch-commits mailing list