[arch-commits] Commit in opencolorio/repos/community-x86_64 (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Apr 10 13:28:25 UTC 2019
Date: Wednesday, April 10, 2019 @ 13:28:24
Author: svenstaro
Revision: 450886
archrelease: copy trunk to community-x86_64
Added:
opencolorio/repos/community-x86_64/8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch
(from rev 450885, opencolorio/trunk/8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch)
opencolorio/repos/community-x86_64/PKGBUILD
(from rev 450885, opencolorio/trunk/PKGBUILD)
Deleted:
opencolorio/repos/community-x86_64/8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch
opencolorio/repos/community-x86_64/PKGBUILD
------------------------------------------------+
8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch | 196 +++++++++++------------
PKGBUILD | 108 ++++++------
2 files changed, 152 insertions(+), 152 deletions(-)
Deleted: 8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch
===================================================================
--- 8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch 2019-04-10 13:28:15 UTC (rev 450885)
+++ 8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch 2019-04-10 13:28:24 UTC (rev 450886)
@@ -1,98 +0,0 @@
-From 8d48ee8da42de2d878db7b42586db8b3c67f83e1 Mon Sep 17 00:00:00 2001
-From: Jonathan Scruggs <j.scruggs at gmail.com>
-Date: Fri, 19 Jan 2018 10:17:18 +0000
-Subject: [PATCH] Use GNUInstallDirs and fix install location for cmake files
- (#501)
-
-GNUInstallDirs is supported on all platforms and variables are set
-to the standard GNU locations.
-
-Fix the location where the .cmake files are installed.
-
-Signed-off by: Jonathan Scruggs <j.scruggs at gmail.com>
----
- CMakeLists.txt | 9 +++++----
- docs/CMakeLists.txt | 4 ++--
- export/pkgconfig/OpenColorIO.pc.in | 6 ++----
- 3 files changed, 9 insertions(+), 10 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index a399d57a..473f1b79 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -60,6 +60,7 @@ endif()
- include(ParseArguments)
- include(OCIOMacros)
- include(ExternalProject)
-+include(GNUInstallDirs)
-
- enable_language(CXX)
-
-@@ -558,7 +559,7 @@ endif()
- configure_file(${CMAKE_SOURCE_DIR}/share/ocio/setup_ocio.sh.in
- ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh @ONLY)
-
--INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh DESTINATION share/ocio/)
-+INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh DESTINATION ${CMAKE_INSTALL_DATADIR}/ocio/)
-
- ###############################################################################
- ### CPACK ###
-@@ -623,7 +624,7 @@ if(TARGET OpenColorIO_STATIC)
- set(OCIO_STATIC_COMPILE_DEFINITIONS )
- endif()
- endif()
--install(EXPORT OpenColorIO DESTINATION cmake)
-+install(EXPORT OpenColorIO DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/OpenColorIO)
- file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake"
- "
- get_filename_component(OpenColorIO_DIR \"\${CMAKE_CURRENT_LIST_FILE}\" PATH)
-@@ -635,7 +636,7 @@ file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake"
-
- ## targets libraries + associated definitions
- if(NOT TARGET OpenColorIO)
-- include(\"\${OpenColorIO_DIR}/cmake/OpenColorIO.cmake\") ## thanks to imported target
-+ include(\"\${OpenColorIO_DIR}/${CMAKE_INSTALL_LIBDIR}/cmake/OpenColorIO/OpenColorIO.cmake\") ## thanks to imported target
- if(TARGET OpenColorIO AND NOT OpenColorIO_USE_STATIC)
- message(STATUS \"shared target OpenColorIO : see OpenColorIO_LIBRARY\")
- set(OpenColorIO_LIBRARY OpenColorIO)
-@@ -673,4 +674,4 @@ file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake"
- message(STATUS OPENCOLORIO_FOUND=\${OPENCOLORIO_FOUND})
- "
- )
--install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION .)
-+install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/OpenColorIO)
-diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
-index 5970db64..4d97f72c 100644
---- a/docs/CMakeLists.txt
-+++ b/docs/CMakeLists.txt
-@@ -138,7 +138,7 @@ add_custom_target(doc ALL
- add_dependencies(doc Sphinx)
-
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build-html/
-- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/html
-+ DESTINATION ${CMAKE_INSTALL_DOCDIR}/html
- PATTERN .* EXCLUDE
- )
-
-@@ -173,6 +173,6 @@ if(PDFLATEX_COMPILER)
- add_dependencies(pdf latex)
-
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/build-latex/OpenColorIO.pdf
-- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/)
-+ DESTINATION ${CMAKE_INSTALL_DOCDIR})
-
- endif()
-diff --git a/export/pkgconfig/OpenColorIO.pc.in b/export/pkgconfig/OpenColorIO.pc.in
-index 81ab4ce3..c4553a4f 100644
---- a/export/pkgconfig/OpenColorIO.pc.in
-+++ b/export/pkgconfig/OpenColorIO.pc.in
-@@ -1,7 +1,5 @@
--prefix=@CMAKE_INSTALL_PREFIX@
--exec_prefix=@CMAKE_INSTALL_EXEC_PREFIX@
--includedir=${prefix}/include
--libdir=${exec_prefix}/lib at LIB_SUFFIX@
-+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
-+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
-
- Name: OpenColorIO
- Description: A color management framework for visual effects and animation
Copied: opencolorio/repos/community-x86_64/8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch (from rev 450885, opencolorio/trunk/8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch)
===================================================================
--- 8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch (rev 0)
+++ 8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch 2019-04-10 13:28:24 UTC (rev 450886)
@@ -0,0 +1,98 @@
+From 8d48ee8da42de2d878db7b42586db8b3c67f83e1 Mon Sep 17 00:00:00 2001
+From: Jonathan Scruggs <j.scruggs at gmail.com>
+Date: Fri, 19 Jan 2018 10:17:18 +0000
+Subject: [PATCH] Use GNUInstallDirs and fix install location for cmake files
+ (#501)
+
+GNUInstallDirs is supported on all platforms and variables are set
+to the standard GNU locations.
+
+Fix the location where the .cmake files are installed.
+
+Signed-off by: Jonathan Scruggs <j.scruggs at gmail.com>
+---
+ CMakeLists.txt | 9 +++++----
+ docs/CMakeLists.txt | 4 ++--
+ export/pkgconfig/OpenColorIO.pc.in | 6 ++----
+ 3 files changed, 9 insertions(+), 10 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a399d57a..473f1b79 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -60,6 +60,7 @@ endif()
+ include(ParseArguments)
+ include(OCIOMacros)
+ include(ExternalProject)
++include(GNUInstallDirs)
+
+ enable_language(CXX)
+
+@@ -558,7 +559,7 @@ endif()
+ configure_file(${CMAKE_SOURCE_DIR}/share/ocio/setup_ocio.sh.in
+ ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh @ONLY)
+
+-INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh DESTINATION share/ocio/)
++INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh DESTINATION ${CMAKE_INSTALL_DATADIR}/ocio/)
+
+ ###############################################################################
+ ### CPACK ###
+@@ -623,7 +624,7 @@ if(TARGET OpenColorIO_STATIC)
+ set(OCIO_STATIC_COMPILE_DEFINITIONS )
+ endif()
+ endif()
+-install(EXPORT OpenColorIO DESTINATION cmake)
++install(EXPORT OpenColorIO DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/OpenColorIO)
+ file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake"
+ "
+ get_filename_component(OpenColorIO_DIR \"\${CMAKE_CURRENT_LIST_FILE}\" PATH)
+@@ -635,7 +636,7 @@ file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake"
+
+ ## targets libraries + associated definitions
+ if(NOT TARGET OpenColorIO)
+- include(\"\${OpenColorIO_DIR}/cmake/OpenColorIO.cmake\") ## thanks to imported target
++ include(\"\${OpenColorIO_DIR}/${CMAKE_INSTALL_LIBDIR}/cmake/OpenColorIO/OpenColorIO.cmake\") ## thanks to imported target
+ if(TARGET OpenColorIO AND NOT OpenColorIO_USE_STATIC)
+ message(STATUS \"shared target OpenColorIO : see OpenColorIO_LIBRARY\")
+ set(OpenColorIO_LIBRARY OpenColorIO)
+@@ -673,4 +674,4 @@ file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake"
+ message(STATUS OPENCOLORIO_FOUND=\${OPENCOLORIO_FOUND})
+ "
+ )
+-install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION .)
++install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/OpenColorIO)
+diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
+index 5970db64..4d97f72c 100644
+--- a/docs/CMakeLists.txt
++++ b/docs/CMakeLists.txt
+@@ -138,7 +138,7 @@ add_custom_target(doc ALL
+ add_dependencies(doc Sphinx)
+
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build-html/
+- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/html
++ DESTINATION ${CMAKE_INSTALL_DOCDIR}/html
+ PATTERN .* EXCLUDE
+ )
+
+@@ -173,6 +173,6 @@ if(PDFLATEX_COMPILER)
+ add_dependencies(pdf latex)
+
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/build-latex/OpenColorIO.pdf
+- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/)
++ DESTINATION ${CMAKE_INSTALL_DOCDIR})
+
+ endif()
+diff --git a/export/pkgconfig/OpenColorIO.pc.in b/export/pkgconfig/OpenColorIO.pc.in
+index 81ab4ce3..c4553a4f 100644
+--- a/export/pkgconfig/OpenColorIO.pc.in
++++ b/export/pkgconfig/OpenColorIO.pc.in
+@@ -1,7 +1,5 @@
+-prefix=@CMAKE_INSTALL_PREFIX@
+-exec_prefix=@CMAKE_INSTALL_EXEC_PREFIX@
+-includedir=${prefix}/include
+-libdir=${exec_prefix}/lib at LIB_SUFFIX@
++libdir=@CMAKE_INSTALL_FULL_LIBDIR@
++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+
+ Name: OpenColorIO
+ Description: A color management framework for visual effects and animation
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-10 13:28:15 UTC (rev 450885)
+++ PKGBUILD 2019-04-10 13:28:24 UTC (rev 450886)
@@ -1,54 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Dumitru Ursu <dima at ceata.org>
-
-pkgname=opencolorio
-pkgver=1.1.0
-pkgrel=3
-pkgdesc="A color management framework for visual effects and animation"
-arch=('x86_64')
-url="http://opencolorio.org"
-license=('BSD')
-depends=('lcms2' 'tinyxml' 'yaml-cpp')
-makedepends=('boost' 'cmake' 'python')
-optdepends=('python: python bindings')
-source=($pkgname-$pkgver.tar.gz::https://github.com/imageworks/OpenColorIO/tarball/v$pkgver
- 8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch)
-sha512sums=('33d58efce60054c755978c5325974e93ed2f9cb00225eaf85429abacdd832a3b4979b3834f129d054f8c3c7ed193ac50d211542d7f8ff460496b78d3fbd48148'
- 'fd1c6e134ef898a8715333b1e85a606736685ec0fce07188c0fba68ae048edb61dc4f107eff8de79a53dbbf226a1f84bb0a7d046a15fafb981ce02568350fd49')
-
-prepare() {
- mv imageworks-OpenColorIO-* $pkgname-$pkgver
-
- cd $pkgname-$pkgver
- sed -i "s/-Werror//g" src/core/CMakeLists.txt
- sed -i "s/-Werror//g" src/pyglue/CMakeLists.txt
- sed -i "s/push(hidden)/push(default)/g" src/core/OCIOYaml.cpp
-
- patch -Np1 -i "$srcdir"/8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch
-}
-
-build() {
- cd $pkgname-$pkgver
-
- mkdir -p build && cd build
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DUSE_EXTERNAL_YAML=ON \
- -DUSE_EXTERNAL_TINYXML=ON \
- -DUSE_EXTERNAL_LCMS=ON
- make
-}
-
-package() {
- cd "$pkgname-$pkgver"/build
-
- make DESTDIR="$pkgdir" install
-
- mv "$pkgdir"/usr/lib/static/libOpenColorIO.a "$pkgdir"/usr/lib/libOpenColorIO.a
- rmdir "$pkgdir"/usr/lib/static
-
- install -Dm644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: opencolorio/repos/community-x86_64/PKGBUILD (from rev 450885, opencolorio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-10 13:28:24 UTC (rev 450886)
@@ -0,0 +1,54 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Dumitru Ursu <dima at ceata.org>
+
+pkgname=opencolorio
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="A color management framework for visual effects and animation"
+arch=('x86_64')
+url="http://opencolorio.org"
+license=('BSD')
+depends=('lcms2' 'tinyxml' 'yaml-cpp')
+makedepends=('boost' 'cmake' 'python')
+optdepends=('python: python bindings')
+source=($pkgname-$pkgver.tar.gz::https://github.com/imageworks/OpenColorIO/tarball/v$pkgver
+ 8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch)
+sha512sums=('3f5cdb32adcaf6adf064a9b4c219b7661922f09fcaf5818bbbba7104a73af1a91075ae6a0f94f75b5b94dc8705f0e2bbc66f4f52067f67ae8b947cfef599ea22'
+ 'fd1c6e134ef898a8715333b1e85a606736685ec0fce07188c0fba68ae048edb61dc4f107eff8de79a53dbbf226a1f84bb0a7d046a15fafb981ce02568350fd49')
+
+prepare() {
+ mv imageworks-OpenColorIO-* $pkgname-$pkgver
+
+ cd $pkgname-$pkgver
+ sed -i "s/-Werror//g" src/core/CMakeLists.txt
+ sed -i "s/-Werror//g" src/pyglue/CMakeLists.txt
+ sed -i "s/push(hidden)/push(default)/g" src/core/OCIOYaml.cpp
+
+ patch -Np1 -i "$srcdir"/8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ mkdir -p build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DUSE_EXTERNAL_YAML=ON \
+ -DUSE_EXTERNAL_TINYXML=ON \
+ -DUSE_EXTERNAL_LCMS=ON
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"/build
+
+ make DESTDIR="$pkgdir" install
+
+ mv "$pkgdir"/usr/lib/static/libOpenColorIO.a "$pkgdir"/usr/lib/libOpenColorIO.a
+ rmdir "$pkgdir"/usr/lib/static
+
+ install -Dm644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list