summaryrefslogtreecommitdiff
path: root/media-libs/openexr_ctl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/openexr_ctl
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/openexr_ctl')
-rw-r--r--media-libs/openexr_ctl/Manifest11
-rw-r--r--media-libs/openexr_ctl/files/openexr_ctl-1.0.1-configure_gcc43.patch22
-rw-r--r--media-libs/openexr_ctl/files/openexr_ctl-1.0.1-gcc43.patch34
-rw-r--r--media-libs/openexr_ctl/files/openexr_ctl-1.0.1-gcc44.patch11
-rw-r--r--media-libs/openexr_ctl/files/openexr_ctl-1.0.1-namespace.patch18
-rw-r--r--media-libs/openexr_ctl/files/openexr_ctl-1.0.1-pkgconfig.patch12
-rw-r--r--media-libs/openexr_ctl/metadata.xml10
-rw-r--r--media-libs/openexr_ctl/openexr_ctl-1.0.1-r1.ebuild39
-rw-r--r--media-libs/openexr_ctl/openexr_ctl-1.0.1-r2.ebuild40
9 files changed, 197 insertions, 0 deletions
diff --git a/media-libs/openexr_ctl/Manifest b/media-libs/openexr_ctl/Manifest
new file mode 100644
index 000000000000..cdb0d8e85960
--- /dev/null
+++ b/media-libs/openexr_ctl/Manifest
@@ -0,0 +1,11 @@
+AUX openexr_ctl-1.0.1-configure_gcc43.patch 858 SHA256 cd844d136c5e2e41aa89f5d7860dbc74aa0f8602d7307f7af30fbb1ccc7fcb28 SHA512 72be434bf2ca73a1ab43fca50f011fce1db50e7c0063073a6f2d34c51dd85491f576ea43c474e9d78a90fda0c114fceab978ebbf475e33f66a97a2215cd28c0f WHIRLPOOL 9a009ba0c0dd96d56026426a32eba544941d75ae9e6a8a5693500315ca309e3bd0b391470f3ba87d3c410a43538fb2897f1fd56fb9f2669e310d1ccdc973c453
+AUX openexr_ctl-1.0.1-gcc43.patch 1240 SHA256 f07d13959b92089c5eb54a0f08f33a46f314cdb1a6fa6600b132ace6fe167513 SHA512 2c73c0408cc973b3c741f17b4cc2e458401843dd6a7ceb54a08865c82200195e430cdd357bbb25b5c70612e2345d178b69528d62e4ae81486d4a25c325918717 WHIRLPOOL 6b520cb85301e7fdaf45addb18a3c72527ecb2fc7a0134fc7b25906ddc91f1affb865098842992f001ffa753b6d7e4fc1bbdb361c559d39c0856cf7cc14a2618
+AUX openexr_ctl-1.0.1-gcc44.patch 457 SHA256 4197d145431e8df1425c1d7ad7d6a378497df8229b474778026890c3d890953d SHA512 b1258f6ea6a7dc5699bfda631c5b39514818f6239de1befbd229cb4f60058d235f0ed4030582c8108b36d3d409971a26d633983390ec1055abff16b30e68b486 WHIRLPOOL 61f176352e64ca91b027d9f002f63000a4b8fed20266d4401c2789b870570deb14bd7e6a821b05d18aaa33b3b3b57cde54193fb1fea0ba7c05df949ba0ccb6fa
+AUX openexr_ctl-1.0.1-namespace.patch 348 SHA256 4af40b2697c0bdb0a8487b16999e67fd89346bbf74890abe3c1d86502edcb33e SHA512 28f3b0964ccb7ee81dfc4c4600f0747e28d11ada1fe3a3b5beec17c56bdd8d66c37f6d4974272d6a0c54a397445665eda06a81f5ada64cfd96f74c2461cb896f WHIRLPOOL 5c0a42917de2d831e5842ce15602aec5b07f47592acd7215498ae5b6aab04a9e02fcc7a43f7d66d8d577c3d2eb47b708e3c7292c3a096f054dc10b97afd86318
+AUX openexr_ctl-1.0.1-pkgconfig.patch 632 SHA256 45162cf3c6e878d6beb5c86f84cf302978d2ef3fb3745ac50d8fbfd092c963d2 SHA512 38c683204ded3aa0c0e5d83506a2eb49cdf33dfa7b44f5dce1502783f18aa154f8f4b5357aa4a07932ccacafb3d8cf32b80ce288cbcf0e75ca917adc2ff5e271 WHIRLPOOL dcafcca90c3dba0d758e23c87ab0518e72e69e5a4f043b918a37e6337d67ae2633ec9179b8f38ad766bb159e60b619e8621bea4b5422e7efcb1fafa0195d5ce8
+DIST openexr_ctl-1.0.1.tar.gz 362864 SHA256 2d88d624e24fce64ee8494d4dd46e33684f93941e1ca46024554d1ab6ed5e9c9 SHA512 831a06dc83ac53ae9b520629dbd24d3a7cd24f3ab5f484de37d1b232dd16fcf71392d163a7b9f9059bb8f30ff249f7f5a9fbc35730211ff98c8e13dcf386898a WHIRLPOOL efedffbd18b6b1a0fb8cfdc22b2a95a34aaf142b35e23fe8b1dd047aefd992590deed066f5994d30c23ae5af3bc60486b41f00d391d9d5c60668f6f86edb4c2a
+EBUILD openexr_ctl-1.0.1-r1.ebuild 819 SHA256 e3c0b10a232a438e5921634f13b2aa85c96505f1f89940ea54da0fb153d39832 SHA512 c3735a51c956e92301355870d58b5a48ef84df9c2f6a945b1e2e961ad22e462cb33aec57efde77407d359fbb0ad0e47cede9664866873c73881a1e6964a34ff9 WHIRLPOOL b780ca9609a5a84e7531f86bfbc79a142ed91864df9b996a2fe43d8ab0b6a545c37d90bd2e968e11e43b9088f9b546172a01ba2d48f98ca8b5ebf756ef4b5791
+EBUILD openexr_ctl-1.0.1-r2.ebuild 861 SHA256 249cc2190a96828a7b66d6df758014bdd5a09bd53fdff34499b9496cd36d1adc SHA512 d9c29ad2503b088214598f4acf9887a8507dc3cd7f6e4b24ff4d7e7173e36eb2f2301ade322ee45f67ed051c1d0ec0c54b10b78a2573da9a0b16a107f7f4cdf2 WHIRLPOOL c84e260d4c909dc2635292d9b182f61f4d0a400584d439a56cc110d10c9fffab3930992eccbef9e3c469632662a7d58b145d937412a475e7190d22e12b8fc97f
+MISC ChangeLog 3068 SHA256 4e5c81df49fa24b01ac169251d8e0a402c5f00c37aca31082960afad27ec166d SHA512 297a4b0dcbd163063f8fedf5f619ae76df8e3b044bfdf51ebc4df3bdce2a3b8c377a77c218b287d585f75e09d70c1d7cefe7cf57b0c4194db276b99a6467b499 WHIRLPOOL 8018c67aff757e797bef328d05ba24db8ffa7262794dbc876e39ca7d0d24d2c86b805d3f33baf9c642da2e5643dcf9c89a5c8465a0580cde76c7ff6906d31e5e
+MISC ChangeLog-2015 4712 SHA256 7fe7132fa7364e295e21a0945909048f48d71387d07e4136e07b2d82fbe0e417 SHA512 8583a34041a6a2df5410049471b36298d26aba24066228efbfecf7855fc05509a25112eedb39e8f5ff9871d47bb8e00e5aff2c6a59f58fb32b1a77ae782b3c23 WHIRLPOOL 353f308f823721c35f71e2b373139599d2dcbfded0c588daeade28a12f1c462d4c315bd90fb6c925a6f7c71f02a193b7d856e4eb6fbc5e6e310e97dd067f3c2c
+MISC metadata.xml 301 SHA256 3a4c45107a7b5ed57c995f1f35f8446799e43aca93a515632d806b1970924c25 SHA512 6df4d1d337a4c00e4a2415c19a46d07d1a151135fbf29a92de300b077de3ae4fb64277b639448edeb0e64bec87d120f67d829f569cce2368388f3b4478dcd1bf WHIRLPOOL 03e61cdaa740a590a7aa4107f2e0402a70872c1cf0a81a541eabde7befcbbd7add17d95c2d60a98ff2b802294fef04345fd4f32c008369e8798be0cc7eb0e6df
diff --git a/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-configure_gcc43.patch b/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-configure_gcc43.patch
new file mode 100644
index 000000000000..604d4237458d
--- /dev/null
+++ b/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-configure_gcc43.patch
@@ -0,0 +1,22 @@
+diff -up openexr_ctl-1.0.1/configure.conf_gcc43 openexr_ctl-1.0.1/configure
+--- openexr_ctl-1.0.1/configure.conf_gcc43 2008-01-09 17:08:57.000000000 +0100
++++ openexr_ctl-1.0.1/configure 2008-01-09 17:10:25.000000000 +0100
+@@ -20851,6 +20851,7 @@ cat >>conftest.$ac_ext <<_ACEOF
+
+ #include <CtlSimdInterpreter.h>
+ #include <Iex.h>
++#include <cstdlib>
+
+ int
+ main ()
+diff -up openexr_ctl-1.0.1/configure.ac.conf_gcc43 openexr_ctl-1.0.1/configure.ac
+--- openexr_ctl-1.0.1/configure.ac.conf_gcc43 2008-01-09 17:11:25.000000000 +0100
++++ openexr_ctl-1.0.1/configure.ac 2008-01-09 17:12:17.000000000 +0100
+@@ -108,6 +108,7 @@ AM_COMPILELINKRUN(
+ [$CTL_LIBS],[[
+ #include <CtlSimdInterpreter.h>
+ #include <Iex.h>
++#include <cstdlib>
+ ]],
+ [[Ctl::SimdInterpreter interp; interp.setMaxInstCount(10);]],
+ AC_MSG_RESULT([The ctl test program succeeded.]),
diff --git a/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-gcc43.patch b/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-gcc43.patch
new file mode 100644
index 000000000000..349d4f083ca6
--- /dev/null
+++ b/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-gcc43.patch
@@ -0,0 +1,34 @@
+diff -up openexr_ctl-1.0.1/exrdpx/main.cpp.gcc43 openexr_ctl-1.0.1/exrdpx/main.cpp
+--- openexr_ctl-1.0.1/exrdpx/main.cpp.gcc43 2007-07-25 08:28:17.000000000 +0200
++++ openexr_ctl-1.0.1/exrdpx/main.cpp 2008-01-08 20:27:14.000000000 +0100
+@@ -60,6 +60,8 @@
+ #include <iostream>
+ #include <string>
+ #include <exception>
++#include <cstdlib>
++#include <cstring>
+
+ using namespace std;
+ using namespace Imf;
+diff -up openexr_ctl-1.0.1/exr_ctl_exr/applyCtl.cpp.gcc43 openexr_ctl-1.0.1/exr_ctl_exr/applyCtl.cpp
+--- openexr_ctl-1.0.1/exr_ctl_exr/applyCtl.cpp.gcc43 2008-01-08 20:30:30.000000000 +0100
++++ openexr_ctl-1.0.1/exr_ctl_exr/applyCtl.cpp 2008-01-08 20:33:02.000000000 +0100
+@@ -64,6 +64,7 @@
+ #include <iostream>
+ #include <vector>
+ #include <string>
++#include <cstdlib>
+
+ using namespace std;
+ using namespace Ctl;
+diff -up openexr_ctl-1.0.1/exr_ctl_exr/main.cpp.gcc43 openexr_ctl-1.0.1/exr_ctl_exr/main.cpp
+--- openexr_ctl-1.0.1/exr_ctl_exr/main.cpp.gcc43 2008-01-08 20:34:32.000000000 +0100
++++ openexr_ctl-1.0.1/exr_ctl_exr/main.cpp 2008-01-08 20:35:10.000000000 +0100
+@@ -59,6 +59,7 @@
+ #include <iostream>
+ #include <string>
+ #include <exception>
++#include <cstdlib>
+ #include <ImfFloatAttribute.h>
+ #include <ImfVecAttribute.h>
+
diff --git a/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-gcc44.patch b/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-gcc44.patch
new file mode 100644
index 000000000000..08530bdeaad3
--- /dev/null
+++ b/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-gcc44.patch
@@ -0,0 +1,11 @@
+diff -ur openexr_ctl-1.0.1.orig/exr_ctl_exr/applyCtl.cpp openexr_ctl-1.0.1/exr_ctl_exr/applyCtl.cpp
+--- openexr_ctl-1.0.1.orig/exr_ctl_exr/applyCtl.cpp 2007-07-13 06:24:37.000000000 +0300
++++ openexr_ctl-1.0.1/exr_ctl_exr/applyCtl.cpp 2009-07-30 11:46:29.000000000 +0300
+@@ -60,6 +60,7 @@
+ #include <ImfStandardAttributes.h>
+ #include <ImfHeader.h>
+ #include <ImfFrameBuffer.h>
++#include <cstdio>
+ #include <cassert>
+ #include <iostream>
+ #include <vector>
diff --git a/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-namespace.patch b/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-namespace.patch
new file mode 100644
index 000000000000..7c30515f122d
--- /dev/null
+++ b/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-namespace.patch
@@ -0,0 +1,18 @@
+http://lists.gnu.org/archive/html/openexr-devel/2013-04/msg00031.html
+
+--- IlmImfCtl/ImfCtlApplyTransforms.h
++++ IlmImfCtl/ImfCtlApplyTransforms.h
+@@ -186,12 +186,7 @@
+ #include <vector>
+ #include <ImathBox.h>
+ #include <ImfThreading.h>
+-
+-namespace Imf
+-{
+- class Header;
+- class FrameBuffer;
+-}
++#include <ImfForward.h>
+
+ namespace Ctl
+ {
diff --git a/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-pkgconfig.patch b/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-pkgconfig.patch
new file mode 100644
index 000000000000..e35bdfc11a5c
--- /dev/null
+++ b/media-libs/openexr_ctl/files/openexr_ctl-1.0.1-pkgconfig.patch
@@ -0,0 +1,12 @@
+diff -up openexr_ctl-1.0.1/OpenEXR_CTL.pc.in.pkgconfig openexr_ctl-1.0.1/OpenEXR_CTL.pc.in
+--- openexr_ctl-1.0.1/OpenEXR_CTL.pc.in.pkgconfig 2008-01-09 15:17:58.000000000 +0100
++++ openexr_ctl-1.0.1/OpenEXR_CTL.pc.in 2008-01-09 15:24:52.000000000 +0100
+@@ -7,5 +7,6 @@ OpenEXR_includedir=@includedir@/OpenEXR
+ Name: OpenEXR_CTL
+ Description: Simplified OpenEXR interface to CTL
+ Version: @OPENEXR_CTL_VERSION@
+-Libs: -L${libdir} -lIlmImfCtl @OPENEXR_LDFLAGS@ @CTL_LDFLAGS@
+-Cflags: @CTL_CXXFLAGS_PC@ @OPENEXR_CXXFLAGS@ -I${OpenEXR_includedir}
++Requires: CTL , OpenEXR
++Libs: -L${libdir} -lIlmImfCtl
++Cflags: -I${OpenEXR_includedir}
diff --git a/media-libs/openexr_ctl/metadata.xml b/media-libs/openexr_ctl/metadata.xml
new file mode 100644
index 000000000000..2e1fb11b8bf8
--- /dev/null
+++ b/media-libs/openexr_ctl/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">ampasctl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/openexr_ctl/openexr_ctl-1.0.1-r1.ebuild b/media-libs/openexr_ctl/openexr_ctl-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..aab8afc2af60
--- /dev/null
+++ b/media-libs/openexr_ctl/openexr_ctl-1.0.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="OpenEXR CTL libraries"
+HOMEPAGE="https://sourceforge.net/projects/ampasctl"
+SRC_URI="mirror://sourceforge/ampasctl/${P}.tar.gz"
+
+LICENSE="AMPAS"
+SLOT="0"
+KEYWORDS="amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND="<media-libs/ilmbase-2.0.0:=
+ <media-libs/openexr-2.0.0:=
+ media-libs/ctl:="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-{,configure_}gcc43.patch \
+ "${FILESDIR}"/${P}-pkgconfig.patch \
+ "${FILESDIR}"/${P}-gcc44.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
diff --git a/media-libs/openexr_ctl/openexr_ctl-1.0.1-r2.ebuild b/media-libs/openexr_ctl/openexr_ctl-1.0.1-r2.ebuild
new file mode 100644
index 000000000000..b80235b948aa
--- /dev/null
+++ b/media-libs/openexr_ctl/openexr_ctl-1.0.1-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="OpenEXR CTL libraries"
+HOMEPAGE="https://sourceforge.net/projects/ampasctl"
+SRC_URI="mirror://sourceforge/ampasctl/${P}.tar.gz"
+
+LICENSE="AMPAS"
+SLOT="0"
+KEYWORDS="amd64 hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND=">=media-libs/ilmbase-2.0.1:=
+ >=media-libs/openexr-2.0.1:=
+ media-libs/ctl:="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-{,configure_}gcc43.patch \
+ "${FILESDIR}"/${P}-pkgconfig.patch \
+ "${FILESDIR}"/${P}-gcc44.patch \
+ "${FILESDIR}"/${P}-namespace.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}