[packages/ctl] - added pc patch (fix OpenEXR_CTL.pc file after merge to ctl and transition to cmake)
qboosh
qboosh at pld-linux.org
Sun Apr 6 14:29:55 CEST 2014
commit b49ac05c5d17f146cc913ba2e64b72b68e77cbd0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 6 14:31:34 2014 +0200
- added pc patch (fix OpenEXR_CTL.pc file after merge to ctl and transition to cmake)
ctl-pc.patch | 23 +++++++++++++++++++++++
ctl.spec | 2 ++
2 files changed, 25 insertions(+)
---
diff --git a/ctl.spec b/ctl.spec
index 3c445c9..dba61a7 100644
--- a/ctl.spec
+++ b/ctl.spec
@@ -9,6 +9,7 @@ Source0: https://github.com/ampas/CTL/archive/%{name}-%{version}.tar.gz
# Source0-md5: 020aa09422c13b2f62c1c40f18d9d093
Patch0: %{name}-libdir.patch
Patch1: %{name}-ctlrender.patch
+Patch2: %{name}-pc.patch
URL: http://www.oscars.org/science-technology/council/projects/ctl.html
BuildRequires: OpenEXR-devel
BuildRequires: aces_container-devel
@@ -143,6 +144,7 @@ ctlrender obsługuje formaty plików OpenEXR, TIFF, DPX oraz ACES.
%setup -q -n CTL-%{name}-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%cmake . \
diff --git a/ctl-pc.patch b/ctl-pc.patch
new file mode 100644
index 0000000..e0eecdf
--- /dev/null
+++ b/ctl-pc.patch
@@ -0,0 +1,23 @@
+--- CTL-ctl-1.5/config/OpenEXR_CTL.pc.in.orig 2013-10-22 19:39:04.000000000 +0200
++++ CTL-ctl-1.5/config/OpenEXR_CTL.pc.in 2014-04-06 14:25:12.715949805 +0200
+@@ -1,11 +1,12 @@
+-prefix=@prefix@
+-exec_prefix=@exec_prefix@
+-libdir=@libdir@
+-includedir=@includedir@
+-OpenEXR_includedir=@includedir@/OpenEXR
++prefix=@CMAKE_INSTALL_PREFIX@
++exec_prefix=@INSTALL_BIN_DIR@
++libdir=@INSTALL_LIB_DIR@
++includedir=@INSTALL_INCLUDE_DIR@
++OpenEXR_includedir=@INSTALL_INCLUDE_DIR@/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}
++Version: @CTL_VERSION@
++Requires: CTL OpenEXR
++Libs: -L${libdir} -lIlmImfCtl
++Cflags: -I${OpenEXR_includedir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ctl.git/commitdiff/b49ac05c5d17f146cc913ba2e64b72b68e77cbd0
More information about the pld-cvs-commit
mailing list