[arch-commits] Commit in lib32-libtiff4/repos/multilib-x86_64 (3 files)
Maxime Gauduin
alucryd at archlinux.org
Sat Apr 6 20:14:35 UTC 2019
Date: Saturday, April 6, 2019 @ 20:14:30
Author: alucryd
Revision: 450044
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libtiff4/repos/multilib-x86_64/PKGBUILD
(from rev 450043, lib32-libtiff4/trunk/PKGBUILD)
lib32-libtiff4/repos/multilib-x86_64/libtiff4-soname.patch
(from rev 450043, lib32-libtiff4/trunk/libtiff4-soname.patch)
Deleted:
lib32-libtiff4/repos/multilib-x86_64/PKGBUILD
-----------------------+
PKGBUILD | 108 ++++++++++++++++++++++++------------------------
libtiff4-soname.patch | 15 ++++++
2 files changed, 71 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-06 20:14:14 UTC (rev 450043)
+++ PKGBUILD 2019-04-06 20:14:30 UTC (rev 450044)
@@ -1,52 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: lorim <lorimz at gmail.com>
-
-pkgname=lib32-libtiff4
-pkgver=3.9.7
-pkgrel=3
-pkgdesc='Library for manipulation of TIFF images'
-arch=(x86_64)
-url=http://www.simplesystems.org/libtiff/
-license=(custom)
-depends=(
- lib32-gcc-libs
- lib32-glibc
- lib32-libjpeg-turbo
- lib32-zlib
-)
-makedepends=(git)
-source=(git+https://gitlab.com/libtiff/libtiff.git#tag=Release-v${pkgver//./-})
-sha256sums=(SKIP)
-
-prepare() {
- cd libtiff
-
- ./autogen.sh
-}
-
-build() {
- cd libtiff
-
- export CC='gcc -m32'
- export CXX='g++ -m32'
- export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
-
- ./configure \
- --prefix='/usr' \
- --libdir='/usr/lib32'
- make
-}
-
-package() {
- make DESTDIR="${pkgdir}" -C libtiff install
- rm -rf "${pkgdir}"/usr/{bin,include,lib32/libtiff{,xx}.{a,so,so.3},share}
- # Rename 3.9.7 to 4.3.7, 3.6.x was the first release with the unintentional ABI change
- mv "${pkgdir}"/usr/lib32/libtiff.so.{3.9.7,4.3.7}
- mv "${pkgdir}"/usr/lib32/libtiffxx.so.{3.9.7,4.3.7}
- ln -s libtiff.so.4.3.7 "${pkgdir}"/usr/lib32/libtiff.so.4
- ln -s libtiffxx.so.4.3.7 "${pkgdir}"/usr/lib32/libtiffxx.so.4
- install -dm 755 "${pkgdir}"/usr/share/licenses
- ln -s libtiff4 "${pkgdir}"/usr/share/licenses/lib32-libtiff4
-}
-
-# vim: ts=2 sw=2 et:
Copied: lib32-libtiff4/repos/multilib-x86_64/PKGBUILD (from rev 450043, lib32-libtiff4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-06 20:14:30 UTC (rev 450044)
@@ -0,0 +1,56 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: lorim <lorimz at gmail.com>
+
+pkgname=lib32-libtiff4
+pkgver=3.9.7
+pkgrel=4
+pkgdesc='Library for manipulation of TIFF images'
+arch=(x86_64)
+url=http://www.simplesystems.org/libtiff/
+license=(custom)
+depends=(
+ lib32-gcc-libs
+ lib32-glibc
+ lib32-libjpeg-turbo
+ lib32-zlib
+)
+makedepends=(git)
+source=(
+ git+https://gitlab.com/libtiff/libtiff.git#tag=Release-v${pkgver//./-}
+ libtiff4-soname.patch
+)
+sha256sums=(
+ SKIP
+ e6246631f6d943715b612b4ddd2279c946ff90c9e8d755fa639e8051a6eb3488
+)
+
+prepare() {
+ cd libtiff
+
+ # Rename 3.9.7 to 4.3.7, 3.6.x was the first release with the unintentional ABI change
+ patch -Np1 -i ../libtiff4-soname.patch
+
+ ./autogen.sh
+}
+
+build() {
+ cd libtiff
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+ ./configure \
+ --prefix='/usr' \
+ --libdir='/usr/lib32'
+ make
+}
+
+package() {
+ make DESTDIR="${pkgdir}" -C libtiff install
+ rm -rf "${pkgdir}"/usr/{bin,include,lib32/libtiff{,xx}.{a,so},share}
+ install -dm 755 "${pkgdir}"/usr/share/licenses
+ ln -s libtiff4 "${pkgdir}"/usr/share/licenses/lib32-libtiff4
+}
+
+# vim: ts=2 sw=2 et:
Copied: lib32-libtiff4/repos/multilib-x86_64/libtiff4-soname.patch (from rev 450043, lib32-libtiff4/trunk/libtiff4-soname.patch)
===================================================================
--- libtiff4-soname.patch (rev 0)
+++ libtiff4-soname.patch 2019-04-06 20:14:30 UTC (rev 450044)
@@ -0,0 +1,15 @@
+diff --git a/configure.ac b/configure.ac
+index e7cf8041..fb869708 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -39,8 +39,8 @@ AM_MAINTAINER_MODE
+
+ dnl Versioning.
+ dnl Don't fill the ALPHA_VERSION field, if not applicable.
+-LIBTIFF_MAJOR_VERSION=3
+-LIBTIFF_MINOR_VERSION=9
++LIBTIFF_MAJOR_VERSION=4
++LIBTIFF_MINOR_VERSION=3
+ LIBTIFF_MICRO_VERSION=7
+ LIBTIFF_ALPHA_VERSION=
+ LIBTIFF_VERSION=$LIBTIFF_MAJOR_VERSION.$LIBTIFF_MINOR_VERSION.$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION
More information about the arch-commits
mailing list