From 366c1fe9210f8ec58ec2fec859ac585ea0554fef Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 4 May 2014 17:29:35 +0200 Subject: [PATCH] New package: ilmbase-2.1.0. --- common/shlibs | 5 ++++ srcpkgs/ilmbase-devel | 1 + .../patches/ilmbase-2.0.1-no_undefined.patch | 22 ++++++++++++++++ srcpkgs/ilmbase/template | 26 +++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 120000 srcpkgs/ilmbase-devel create mode 100644 srcpkgs/ilmbase/patches/ilmbase-2.0.1-no_undefined.patch create mode 100644 srcpkgs/ilmbase/template diff --git a/common/shlibs b/common/shlibs index fbb1a2269b..0e8915a360 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1595,3 +1595,8 @@ libtcmalloc_minimal_debug.so.4 gperftools-2.1.90_1 libtcmalloc_debug.so.4 gperftools-2.1.90_1 libprofiler.so.0 gperftools-2.1.90_1 libtcmalloc_and_profiler.so.4 gperftools-2.1.90_1 +libIex-2_1.so.11 ilmbase-2.1.0_1 +libIexMath-2_1.so.11 ilmbase-2.1.0_1 +libIlmThread-2_1.so.11 ilmbase-2.1.0_1 +libHalf.so.11 ilmbase-2.1.0_1 +libImath-2_1.so.11 ilmbase-2.1.0_1 diff --git a/srcpkgs/ilmbase-devel b/srcpkgs/ilmbase-devel new file mode 120000 index 0000000000..05bbf3fefd --- /dev/null +++ b/srcpkgs/ilmbase-devel @@ -0,0 +1 @@ +ilmbase \ No newline at end of file diff --git a/srcpkgs/ilmbase/patches/ilmbase-2.0.1-no_undefined.patch b/srcpkgs/ilmbase/patches/ilmbase-2.0.1-no_undefined.patch new file mode 100644 index 0000000000..d2e44b2bb0 --- /dev/null +++ b/srcpkgs/ilmbase/patches/ilmbase-2.0.1-no_undefined.patch @@ -0,0 +1,22 @@ +--- IlmThread/Makefile.am.no_undefined 2013-06-18 14:51:38.000000000 -0500 ++++ 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 + +--- IlmThread/Makefile.in.no_undefined 2013-06-18 14:55:24.000000000 -0500 ++++ 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 \ diff --git a/srcpkgs/ilmbase/template b/srcpkgs/ilmbase/template new file mode 100644 index 0000000000..cbbd7f7646 --- /dev/null +++ b/srcpkgs/ilmbase/template @@ -0,0 +1,26 @@ +# Template file for 'ilmbase' +pkgname=ilmbase +version=2.1.0 +revision=1 +build_style=gnu-configure +short_desc="Base libraries from ILM for OpenEXR" +maintainer="Juan RP " +license="BSD" +homepage="http://www.openexr.com" +distfiles="http://download.savannah.nongnu.org/releases/openexr/$pkgname-$version.tar.gz" +checksum=1e841ad89c5761940b07a125e6909ad22fe9fe0f99eadef45e0cca4efc6819b4 + +post_install() { + vinstall COPYING 644 usr/share/licenses/${pkgname} +} + +ilmbase-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + } +}