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

Antonio Rojas arojas at archlinux.org
Sun Aug 19 08:41:35 UTC 2018


    Date: Sunday, August 19, 2018 @ 08:41:35
  Author: arojas
Revision: 332622

archrelease: copy trunk to staging-x86_64

Added:
  ilmbase/repos/staging-x86_64/
  ilmbase/repos/staging-x86_64/PKGBUILD
    (from rev 332621, ilmbase/trunk/PKGBUILD)
  ilmbase/repos/staging-x86_64/ilmbase-1.0.3-pkgconfig.patch
    (from rev 332621, ilmbase/trunk/ilmbase-1.0.3-pkgconfig.patch)
  ilmbase/repos/staging-x86_64/ilmbase-2.0.1-no_undefined.patch
    (from rev 332621, ilmbase/trunk/ilmbase-2.0.1-no_undefined.patch)

----------------------------------+
 PKGBUILD                         |   44 +++++++++++++++++++++++++++++++++++++
 ilmbase-1.0.3-pkgconfig.patch    |    8 ++++++
 ilmbase-2.0.1-no_undefined.patch |   24 ++++++++++++++++++++
 3 files changed, 76 insertions(+)

Copied: ilmbase/repos/staging-x86_64/PKGBUILD (from rev 332621, ilmbase/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-08-19 08:41:35 UTC (rev 332622)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=ilmbase
+pkgver=2.3.0
+pkgrel=1
+depends=('gcc-libs' 'glu')
+pkgdesc="Base libraries from ILM for OpenEXR"
+arch=(x86_64)
+url="http://www.openexr.com"
+license=('custom')
+source=(https://github.com/openexr/openexr/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
+        ilmbase-2.0.1-no_undefined.patch
+        ilmbase-1.0.3-pkgconfig.patch)
+sha256sums=('456978d1a978a5f823c7c675f3f36b0ae14dba36638aeaa3c4b0e784f12a3862'
+            'ac295811a586dbd1d2ec3fa5dcb40580722b1c97523ff64dfcbd8c7bfaa93aa5'
+            'e1050e564987df31a2ed83218c7aa62486b8c117179b0184933c92172eba9bda')
+
+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
+  # 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() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  # one of the tests fails randomly for an unknown reason
+  make check || true
+}
+
+package() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}

Copied: ilmbase/repos/staging-x86_64/ilmbase-1.0.3-pkgconfig.patch (from rev 332621, ilmbase/trunk/ilmbase-1.0.3-pkgconfig.patch)
===================================================================
--- staging-x86_64/ilmbase-1.0.3-pkgconfig.patch	                        (rev 0)
+++ staging-x86_64/ilmbase-1.0.3-pkgconfig.patch	2018-08-19 08:41:35 UTC (rev 332622)
@@ -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

Copied: ilmbase/repos/staging-x86_64/ilmbase-2.0.1-no_undefined.patch (from rev 332621, ilmbase/trunk/ilmbase-2.0.1-no_undefined.patch)
===================================================================
--- staging-x86_64/ilmbase-2.0.1-no_undefined.patch	                        (rev 0)
+++ staging-x86_64/ilmbase-2.0.1-no_undefined.patch	2018-08-19 08:41:35 UTC (rev 332622)
@@ -0,0 +1,24 @@
+diff -up ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined ilmbase-2.0.1/IlmThread/Makefile.am
+--- ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined	2013-06-18 14:51:38.000000000 -0500
++++ ilmbase-2.0.1/IlmThread/Makefile.am	2013-08-28 21:04:25.793391766 -0500
+@@ -14,7 +14,7 @@ libIlmThread_la_LDFLAGS = -version-info
+ if LIB_SUFFIX_EXISTS
+ libIlmThread_la_LDFLAGS += -release @LIB_SUFFIX@
+ endif
+-libIlmThread_la_LIBADD = ../Iex/libIex.la
++libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
+ 
+ libIlmThreadincludedir = $(includedir)/OpenEXR
+ 
+diff -up ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined ilmbase-2.0.1/IlmThread/Makefile.in
+--- ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined	2013-06-18 14:55:24.000000000 -0500
++++ ilmbase-2.0.1/IlmThread/Makefile.in	2013-08-28 21:04:55.395049371 -0500
+@@ -253,7 +253,7 @@ libIlmThread_la_SOURCES = IlmThreadPool.
+ 
+ libIlmThread_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ \
+ 	-no-undefined $(am__append_1)
+-libIlmThread_la_LIBADD = ../Iex/libIex.la
++libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
+ libIlmThreadincludedir = $(includedir)/OpenEXR
+ libIlmThreadinclude_HEADERS = IlmThreadPool.h IlmThread.h \
+ 			      IlmThreadSemaphore.h IlmThreadMutex.h \



More information about the arch-commits mailing list