[arch-commits] Commit in ilmbase/trunk (PKGBUILD ilmbase-1.0.3-pkgconfig.patch)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Thu May 15 10:45:07 UTC 2014
Date: Thursday, May 15, 2014 @ 12:45:06
Author: tpowa
Revision: 212799
upgpkg: ilmbase 2.1.0-1
bump to latest version
Added:
ilmbase/trunk/ilmbase-1.0.3-pkgconfig.patch
Modified:
ilmbase/trunk/PKGBUILD
-------------------------------+
PKGBUILD | 14 +++++++++++---
ilmbase-1.0.3-pkgconfig.patch | 8 ++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-05-15 10:44:38 UTC (rev 212798)
+++ PKGBUILD 2014-05-15 10:45:06 UTC (rev 212799)
@@ -3,7 +3,7 @@
pkgname=ilmbase
pkgver=2.1.0
-pkgrel=2
+pkgrel=1
depends=('gcc-libs')
pkgdesc="Base libraries from ILM for OpenEXR"
arch=(i686 x86_64)
@@ -10,17 +10,22 @@
url="http://www.openexr.com"
license=('custom')
source=(http://download.savannah.nongnu.org/releases/openexr/$pkgname-$pkgver.tar.gz
- ilmbase-2.0.1-no_undefined.patch)
+ ilmbase-2.0.1-no_undefined.patch
+ ilmbase-1.0.3-pkgconfig.patch)
prepare() {
cd "${srcdir}/$pkgname-$pkgver"
+ # patches from fedora
patch -p1 -i ../ilmbase-2.0.1-no_undefined.patch
+ patch -p1 -i ../ilmbase-1.0.3-pkgconfig.patch
}
build() {
cd "${srcdir}/$pkgname-$pkgver"
./configure --prefix=/usr
- make
+ # manually set PTHREAD_LIBS to include -lpthread until libtool bogosity is fixed,
+ # https://bugzilla.redhat.com/show_bug.cgi?id=661333
+ make PTHREAD_LIBS="-pthread -lpthread"
}
check() {
@@ -36,3 +41,6 @@
}
md5sums=('8ba2f608191ad020e50277d8a3ba0850'
'27ff3915e03964f85a9e9fb896a93479')
+md5sums=('8ba2f608191ad020e50277d8a3ba0850'
+ '27ff3915e03964f85a9e9fb896a93479'
+ 'ed3eb3dfa2393adc6829cc9ca8caa0ff')
Added: ilmbase-1.0.3-pkgconfig.patch
===================================================================
--- ilmbase-1.0.3-pkgconfig.patch (rev 0)
+++ ilmbase-1.0.3-pkgconfig.patch 2014-05-15 10:45:06 UTC (rev 212799)
@@ -0,0 +1,8 @@
+diff -up ilmbase-1.0.3/IlmBase.pc.in.pkgconfig ilmbase-1.0.3/IlmBase.pc.in
+--- ilmbase-1.0.3/IlmBase.pc.in.pkgconfig 2012-07-17 18:27:25.000000000 -0500
++++ ilmbase-1.0.3/IlmBase.pc.in 2012-09-08 11:11:15.913468312 -0500
+@@ -9,3 +9,4 @@ Description: Base math and exception lib
+ Version: @ILMBASE_VERSION@
+ Libs: -L${libdir} -lImath -lHalf -lIex -lIexMath -lIlmThread @PTHREAD_LIBS@
+ Cflags: @PTHREAD_CFLAGS@ -I${OpenEXR_includedir}
++Requires.private: gl glu
More information about the arch-commits
mailing list