diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-19 17:57:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-19 17:57:29 +0100 |
commit | d473a706836012853193afc7000922601e4ada61 (patch) | |
tree | 01c43bd6b2121d90bc97ead47dd7654d9402ea1d /media-gfx/exiv2 | |
parent | 420eeee727d39d869d864caddb04a80dafda7160 (diff) |
gentoo resync : 19.10.2017
Diffstat (limited to 'media-gfx/exiv2')
-rw-r--r-- | media-gfx/exiv2/Manifest | 8 | ||||
-rw-r--r-- | media-gfx/exiv2/exiv2-0.26_p20171018.ebuild (renamed from media-gfx/exiv2/exiv2-0.26_p20171013.ebuild) | 28 | ||||
-rw-r--r-- | media-gfx/exiv2/files/exiv2-0.26-fix-docs.patch | 83 | ||||
-rw-r--r-- | media-gfx/exiv2/files/exiv2-0.26-tools-optional.patch | 28 | ||||
-rw-r--r-- | media-gfx/exiv2/files/exiv2-0.26_p20171013-ccache.patch | 62 | ||||
-rw-r--r-- | media-gfx/exiv2/files/exiv2-0.26_p20171013-cmake.patch | 47 |
6 files changed, 132 insertions, 124 deletions
diff --git a/media-gfx/exiv2/Manifest b/media-gfx/exiv2/Manifest index cd5df633840c..1483f2efcb60 100644 --- a/media-gfx/exiv2/Manifest +++ b/media-gfx/exiv2/Manifest @@ -4,12 +4,12 @@ AUX exiv2-0.25-fix-without-zlib.patch 662 SHA256 66618de00ba07ec660675e2dff99138 AUX exiv2-0.25-fvisibility-hidden.patch 700 SHA256 2d0eb374e3df7dd58a513b616786e9421f63e575c2812d0b3980e0af29d03d96 SHA512 7dd251fa6e09ecc0493899fdc24431f636e56bf86d33fd4cf4b46fc27b14ce7a68cb4021a3799260398f48b256f403e00b86d143a012d3871e0de5bf57db9205 WHIRLPOOL af10468fad08e51f16141e70409e5ec718d5d669db8203df6a09de2fd824eb46376f87195cf1e744c60c567943c24d54afe388d54eeb5c240f876ebbcbd59514 AUX exiv2-0.25-hide-symbols.patch 4098 SHA256 b6fe63951717360caad547275c3810c42803ef2d8dea25c75e02b45b9d7add9e SHA512 aed6746329b12769d8084ca79a99eccd6b52449b80c0b3d1c1d6b22294c2b62398366f0715efa207e2ace0ed52740a8eb81af58d17322d42a4674336fd24e725 WHIRLPOOL ac8e900303ac0b19f24b5eff13791dd42459395763d4c8795ff978c1f2c05431b3f3586dedd2b7df375452d3826d7356fc190c4ba3bc8fc4713792bc9d31d033 AUX exiv2-0.25-tools-optional.patch 1332 SHA256 6c9a3ed5c2b9acff10c3b2f2dd2ca639936beaf6263526b9d85ede579a1d67e1 SHA512 14a8703b86dc4a7a1f210e26bd6532c529f850dd1b25ef116c703a576c389a120e3f8b1087e289cd8b44073071ac88a97503dc2c0cf72f21d32094b2cabbc58c WHIRLPOOL dc7efa7ddcaf1be665cd79aff0b36a0f2b135a87a3a93f9cb6091105b965b4b009e569c447d54d602482410ec59d674d99a71bee2699e8007575b8e2cc727998 -AUX exiv2-0.26_p20171013-ccache.patch 2615 SHA256 863f2c71bc93ff51cdd4748b6299b5e81b48ce141a3659e848ffbade9a0a318c SHA512 5ad182d374d56a83f8edb5d33333f971d5f266934258db545f1f8e2a7d55aa9835105d43cd718810126c7f560b0e6d2e0f8e4feda55dcf6760b9ad407b2e44bc WHIRLPOOL d7152400bb675b41e8e59026871f087aa69202686142237e2e76ccf1740a7941b91739ee34d313c7a8ade5d7fdae8d14305c92a770618dfc18654781c7128736 -AUX exiv2-0.26_p20171013-cmake.patch 1633 SHA256 1e1d09e876b78e77b4fccccda19cbf3ed4ca782b06805cb4f43a0c6c83af0961 SHA512 7b168242c6524107bafb13b7675d74cb87e20205568e80259d99c46d7328d8c48295977a2f08cc5195bbbaf865ff1e751a22dc7ba0dadbe32d1dbba7b908f9b7 WHIRLPOOL db047f78aaf48cb6d1963175441f0641f5ee29df15312df3726b3b8f306b3f16c3fb3ee75b4c752243e98f1936182337cea786444b2c13d2878cfd53ab5499b3 +AUX exiv2-0.26-fix-docs.patch 2532 SHA256 57c5033858334a7590592f60fbd0461f96a998b11d36255a2710378382d37561 SHA512 de245f08860fd6fccbd4e617cb9dfe105d1a64ecb16fc37376c257f7547c91e5dffaa46531d21201497473d6708817e7015fe6c061379834b892de08bcc05ee4 WHIRLPOOL 8f13c9e536a51e465e6496879487a61f36713439ae274cae2000c7c4969b3b69fd3b94f60db4b5a6e23380b8a9a134d959542b7fdba1338b8d32270373eec01f +AUX exiv2-0.26-tools-optional.patch 1364 SHA256 2436bd8bd809eeafeb017e4f880674090fa4d6281f7912f149e8b0a1bb6dd05b SHA512 04c4add39da691d59543c3c28667fbf817c5b71c1d2ee28fe9863685fe525e47bd5c6ba8072bf7e63840f8f195b4c7505278ce24610a09e4fc9b9f9c0603383f WHIRLPOOL 7e541bb95f35e7785405bd06990fd0601ee91ddc0aa9b05dabec3e00352c196ab70384b1308a411d55b0e05999800b0ae19de1951f94a4c906a14d3621346266 DIST exiv2-0.25.tar.gz 5434325 SHA256 c80bfc778a15fdb06f71265db2c3d49d8493c382e516cb99b8c9f9cbde36efa4 SHA512 08d4e655ffdde715e0214f4bef01d55aba9b8ba517456a60e254a0f8541c20479e407545db28ca90a69dee8def6941fdd88f9a557fb382ebebe49e363aca8e8e WHIRLPOOL f9e7a6947dac5870e0574253b8c1cb1e7d31a916a9e1c4417c73168046c0b4bed90b9c77253444604163bcf6dca204dab92a52cb03bdcb0f85c807327623f8ac -DIST exiv2-0.26_p20171013.tar.gz 25801252 SHA256 137178f0dfc2734b174ba71b8b18d5852fcd5c6f7835eeb1b58f42b93eed7317 SHA512 4e8b10b8593a80615f5deb9fed3420f118338f1161b99c0b86456686fe8d511bb5df956ee25ed5edf990b34bab9efda64be5c80f6efbd78e6e497cb85e2a3ad5 WHIRLPOOL e32b9d98fa5be77bbf50bf275a95db8e9d15b0d40d762bdf512cb8d02f009fc452921df194121cd32d9780de1c83afd0da5cd75ef653a9ba1459f18884f71ffe +DIST exiv2-0.26_p20171018.tar.gz 28370645 SHA256 7dea665ff7e58a7a858b1aa624d75f27f8b8b154cce645ef970344982c9de449 SHA512 fb4c867a5879ab46f31a1a8a7f8d24395620d6ff2a1088bc9d8d589ca110fad063e19266f4e2b75ad7bebc5b87141ed95db8e214220670a4d11092dfe654558c WHIRLPOOL b2c5060fbbb177479ffd8fbf68957d2329c0383da673b3555f602e574ee90672f55dd6105dcb25e47c9efde97dd4721d05596b22ab9f954bf9e502ffac0ee45c EBUILD exiv2-0.25-r2.ebuild 3067 SHA256 74c21aab30f50186256977871d495681c93e41c8044adc052c518a49b42e1fdd SHA512 30a8a1afbb91ec8b226ea16621cacbd9726f31cd9ebddfda4c7771786a4902123b5674ac9221c990b99464eb0d471f694bf57eebc7e3a22d65ad5e61f4805dfc WHIRLPOOL fc5b37699ba112488230aa7fdd8913318e7527c772cb214b87ecd612775f3fffd6686b8db1baee3dc949fbf8ce856607205776aaea50cf67634b6bb7c74f2b0f -EBUILD exiv2-0.26_p20171013.ebuild 2994 SHA256 5968a6ebd00409a9fc73cabf0edd724683c07c449debbbba9a527df7a00a4088 SHA512 0b007508c22ff48b294e8acf8d0a256da56873221ce76bffaa946cfa7e6fd93de14ba021523721f0d27d22b6a319c342dae747ca41c1e76b07a833470b66f84d WHIRLPOOL e58971af6351d34e5cd0066c6f47f053ff79d61c863001db7cc3b11851d4007d1259a9975a5a8024aa960b062a35580f535b400bd2b237526c7ea1301f03803d +EBUILD exiv2-0.26_p20171018.ebuild 3163 SHA256 c85c727b9f2cb2052d58bfd164f5c94a4113ba5d67be35df757565664b77ef18 SHA512 a78716618c8cfbd3c551198becdf8c30ca2c22e57dccae5fab0a716dcee9da5fd582e663d006cb410588d355543bb3538413729b75b8e47043c6851969f7805a WHIRLPOOL c24edb36250c3e9b61808d60be59c4788c6fc51dc3897f37050cc7a2075a440195c53fbad2ec00576396eba8af2437f2bd91b06dc42db48090d9f1041138a729 MISC ChangeLog 6407 SHA256 169192c62c5737f3e30c0f97815a85216ef6c50714d94759089db57cc60468c4 SHA512 dbadbe62c5c985e88553f788bf6b22c98f9c4001d53882d8cff3a0e7fd23aa49dbc9e9dc72854578e711f5041f2f0182226d236946042f349a9ebc015b2a89fb WHIRLPOOL eb2926f593eb897554b5e4c77d4287f7718134e5d88b56ba4c48161d04834a8cd706989b456ba1c707303d6603270ae4cfb6d358c8c2f91bc8f3209caa9e2947 MISC ChangeLog-2015 18145 SHA256 5a973e551b2244f4f36a767d98cf41bc8bb61789fc40a7809cc5a98ebe80097d SHA512 3d54f43d175e49db9e5d727eadd616fbae08e2fd1017ea6382b818bf6ec300b782d62eb037b4859b190996e63fb963da4eb7862c00c5f24fee7da05a875d69f2 WHIRLPOOL 2ed9a6717cf228be16bd1aaf6cf4820b02afbd77952685c4d8fe7cb49707c61f504c05053bcb5223626ce9b0ea22ea9e7d308b35a7a80a0c15676b9f8ca5af8c MISC metadata.xml 612 SHA256 2700f3a6eb0fea03635790e9e55611f58a19dace74c70d0e0106bd70ef825c60 SHA512 9b4926ba8420a125dc4cefd351ee1ec10a4df2fc4306a56720f6e8de7c5fd9f36a8646c8583958fca9a45ebe1b65b19c053c7da37176546bc19ae64afa87e4f5 WHIRLPOOL 0996d01f595fe4ab40a65fcc19d2eced4dc31a1c8efddddca353828447ff3ca974499dcc81482d47a3470d9530a1886abde9acfaa2ac75df0e845f1a70402056 diff --git a/media-gfx/exiv2/exiv2-0.26_p20171013.ebuild b/media-gfx/exiv2/exiv2-0.26_p20171018.ebuild index edc5b1631383..aa1eeec5560b 100644 --- a/media-gfx/exiv2/exiv2-0.26_p20171013.ebuild +++ b/media-gfx/exiv2/exiv2-0.26_p20171018.ebuild @@ -3,18 +3,24 @@ EAPI=6 -COMMIT=269370863ecd61dd038eed3b96ecd65898d3bb6e LINGUAS="bs de es fi fr gl ms pl pt ru sk sv ug uk vi" PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +if [[ ${PV} = *9999 ]]; then + EGIT_REPO_URI="https://github.com/Exiv2/exiv2.git" + EGIT_BRANCH="0.26" + GIT_ECLASS=git-r3 +else + COMMIT=0a9962f5879335e4eb539ce419fce45a41de2770 + SRC_URI="https://github.com/a17r/${PN}/tarball/${COMMIT} -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +fi inherit cmake-multilib python-any-r1 vcs-snapshot DESCRIPTION="EXIF, IPTC and XMP metadata C++ library and command line utility" HOMEPAGE="http://www.exiv2.org/" -SRC_URI="https://github.com/Exiv2/${PN}/tarball/${COMMIT} -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0/26" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" IUSE="doc examples nls png webready xmp $(printf 'linguas_%s ' ${LINGUAS})" RDEPEND=" @@ -27,7 +33,6 @@ RDEPEND=" ) xmp? ( >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] ) " - DEPEND="${RDEPEND} doc? ( ${PYTHON_DEPS} @@ -39,11 +44,12 @@ DEPEND="${RDEPEND} nls? ( sys-devel/gettext ) " -DOCS=( README.md doc/ChangeLog doc/cmd.txt ) +DOCS=( README doc/ChangeLog doc/cmd.txt ) PATCHES=( - "${FILESDIR}/${P}-cmake.patch" - "${FILESDIR}/${P}-ccache.patch" # bug 634302 + # TODO: Take to upstream + "${FILESDIR}"/${PN}-0.26-fix-docs.patch + "${FILESDIR}"/${PN}-0.26-tools-optional.patch ) pkg_setup() { @@ -85,16 +91,16 @@ src_prepare() { multilib_src_configure() { local mycmakeargs=( - -DBUILD_WITH_CCACHE=OFF - -DEXIV2_BUILD_SAMPLES=OFF - -DEXIV2_BUILD_PO=$(usex nls) + -DEXIV2_ENABLE_BUILD_SAMPLES=NO + -DEXIV2_ENABLE_BUILD_PO=$(usex nls) -DEXIV2_ENABLE_NLS=$(usex nls) -DEXIV2_ENABLE_PNG=$(usex png) -DEXIV2_ENABLE_CURL=$(usex webready) -DEXIV2_ENABLE_SSH=$(usex webready) -DEXIV2_ENABLE_WEBREADY=$(usex webready) -DEXIV2_ENABLE_XMP=$(usex xmp) - $(multilib_is_native_abi || echo -DEXIV2_BUILD_EXIV2_COMMAND=NO) + -DEXIV2_ENABLE_LIBXMP=NO + $(multilib_is_native_abi || echo -DEXIV2_ENABLE_TOOLS=NO) ) cmake-utils_src_configure diff --git a/media-gfx/exiv2/files/exiv2-0.26-fix-docs.patch b/media-gfx/exiv2/files/exiv2-0.26-fix-docs.patch new file mode 100644 index 000000000000..05ea18d6eb0c --- /dev/null +++ b/media-gfx/exiv2/files/exiv2-0.26-fix-docs.patch @@ -0,0 +1,83 @@ +--- a/CMakeLists.txt 2015-07-19 16:04:35.363628707 +0200 ++++ b/CMakeLists.txt 2015-07-19 16:28:31.051680136 +0200 +@@ -216,9 +216,7 @@ + ADD_SUBDIRECTORY( xmpsdk ) + ADD_SUBDIRECTORY( src ) + +-IF( EXIV2_ENABLE_BUILD_SAMPLES ) +- ADD_SUBDIRECTORY( samples ) +-ENDIF( EXIV2_ENABLE_BUILD_SAMPLES ) ++ADD_SUBDIRECTORY( samples ) + + IF( EXIV2_ENABLE_BUILD_PO ) + ADD_SUBDIRECTORY( po ) +--- a/samples/CMakeLists.txt 2015-07-19 16:04:35.360628744 +0200 ++++ b/samples/CMakeLists.txt 2015-07-19 16:30:46.415987850 +0200 +@@ -21,6 +21,10 @@ + include_directories("${CMAKE_SOURCE_DIR}/include" "${CMAKE_SOURCE_DIR}/src") + +-SET( SAMPLES addmoddel.cpp ++SET( SAMPLES taglist.cpp ) ++ ++IF( EXIV2_ENABLE_BUILD_SAMPLES ) ++ SET( SAMPLES ${SAMPLES} ++ addmoddel.cpp + convert-test.cpp + easyaccess-test.cpp + exifcomment.cpp +@@ -38,7 +42,6 @@ + mmap-test.cpp + prevtest.cpp + stringto-test.cpp +- taglist.cpp + tiff-test.cpp + werror-test.cpp + write-test.cpp +@@ -47,6 +50,7 @@ + xmpparser-test.cpp + xmpsample.cpp + ) ++ENDIF() + + FOREACH(entry ${SAMPLES}) + STRING( REPLACE ".cpp" "" target ${entry}) +@@ -63,6 +67,7 @@ + SET( MC_SRC ${MC_SRC} ../src/getopt_win32.c ) + ENDIF( MSVC ) + ++IF( EXIV2_ENABLE_BUILD_SAMPLES ) + SET( MC_SRC ${MC_SRC} metacopy.cpp ../src/utils.cpp ) + ADD_EXECUTABLE( metacopy ${MC_SRC} ) + TARGET_LINK_LIBRARIES( metacopy exiv2lib ) +@@ -79,6 +84,7 @@ + # ****************************************************************************** + # Man page + INSTALL( FILES exiv2samples.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 ) ++ENDIF() + + # That's all Folks! + ## +--- a/doc/templates/Makefile 2015-07-19 16:50:50.589933604 +0200 ++++ b/doc/templates/Makefile 2015-07-19 16:51:07.686719864 +0200 +@@ -143,7 +143,7 @@ + xmp_mwg-rs \ + xmp_mwg-kw + +-TAGLIST = ../../bin/taglist ++TAGLIST = ../../src/bin/taglist + + # ********************************************************************** + # ====================================================================== +diff --git a/doc/cmake_doc.sh b/doc/cmake_doc.sh +index 44dd6760..5910a86d 100755 +--- a/doc/cmake_doc.sh ++++ b/doc/cmake_doc.sh +@@ -16,7 +16,7 @@ if [ $# == 1 ]; then + mv src/exv_conf.h.keep src/exv_conf.h + fi + mkdir -p src/bin/ +- cp -f "${CMAKE_BINARY_DIR}/bin/taglist" src/bin/ ++ cp -f "${CMAKE_BINARY_DIR}/samples/taglist" src/bin/ + make doc + fi + diff --git a/media-gfx/exiv2/files/exiv2-0.26-tools-optional.patch b/media-gfx/exiv2/files/exiv2-0.26-tools-optional.patch new file mode 100644 index 000000000000..36920cd0dc49 --- /dev/null +++ b/media-gfx/exiv2/files/exiv2-0.26-tools-optional.patch @@ -0,0 +1,28 @@ +--- a/CMakeLists.txt 2017-06-07 00:14:25.374608170 +0200 ++++ b/CMakeLists.txt 2017-06-07 00:17:00.680483299 +0200 +@@ -60,6 +60,7 @@ + OPTION( EXIV2_ENABLE_SSH "USE Libssh for SshIo" ON ) + SET ( EXIV2_ENABLE_DYNAMIC_RUNTIME OFF ) + ENDIF() ++OPTION( EXIV2_ENABLE_TOOLS "Build exiv2 executable" ON ) + + # set include path for FindXXX.cmake files + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/config/") +--- a/src/CMakeLists.txt 2017-06-07 00:14:25.368608098 +0200 ++++ b/src/CMakeLists.txt 2017-06-07 00:16:06.710831682 +0200 +@@ -317,10 +317,12 @@ + + # ****************************************************************************** + # exiv2 application +-ADD_EXECUTABLE( exiv2 ${EXIV2_SRC} ${EXIV2_HDR} ) ++IF(EXIV2_ENABLE_TOOLS) ++ ADD_EXECUTABLE( exiv2 ${EXIV2_SRC} ${EXIV2_HDR} ) + target_compile_definitions(exiv2 PRIVATE EXV_LOCALEDIR="${CMAKE_INSTALL_LOCALEDIR}" ) +-TARGET_LINK_LIBRARIES( exiv2 exiv2lib ${LIBINTL_LIBRARIES} ) +-INSTALL( TARGETS exiv2 ${INSTALL_TARGET_STANDARD_ARGS} ) ++ TARGET_LINK_LIBRARIES( exiv2 exiv2lib ${LIBINTL_LIBRARIES} ) ++ INSTALL( TARGETS exiv2 ${INSTALL_TARGET_STANDARD_ARGS} ) ++ENDIF( EXIV2_ENABLE_TOOLS ) + + # ****************************************************************************** + # connection test application diff --git a/media-gfx/exiv2/files/exiv2-0.26_p20171013-ccache.patch b/media-gfx/exiv2/files/exiv2-0.26_p20171013-ccache.patch deleted file mode 100644 index ece62cedce9c..000000000000 --- a/media-gfx/exiv2/files/exiv2-0.26_p20171013-ccache.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 9686aa8857bcd992ee4f23d20e80dfc31679f67a Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> -Date: Sun, 15 Oct 2017 09:28:09 +0200 -Subject: [PATCH] Add build switch to disable auto ccache - -Current usage of ccache leads to sandbox issues. -Be able to switch it off for package managers that already can -make use of ccache for build. ---- - CMakeLists.txt | 1 + - config/findDependencies.cmake | 12 +++++++----- - config/printSummary.cmake | 1 + - 3 files changed, 9 insertions(+), 5 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 80fa907c..a60d4b2e 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -41,6 +41,7 @@ option( EXIV2_ENABLE_SSH "USE Libssh for SshIo" - option( EXIV2_BUILD_SAMPLES "Build sample applications" ON ) - option( EXIV2_BUILD_PO "Build translations files" OFF ) - option( EXIV2_BUILD_EXIV2_COMMAND "Build exiv2 command-line executable" ON ) -+option( BUILD_WITH_CCACHE "Use ccache to speed up compile time" ON ) - - if ( EXIV2_ENABLE_WEBREADY ) - set ( EXIV2_ENABLE_CURL ON ) -diff --git a/config/findDependencies.cmake b/config/findDependencies.cmake -index 16967763..d6af9488 100644 ---- a/config/findDependencies.cmake -+++ b/config/findDependencies.cmake -@@ -58,9 +58,11 @@ if( EXIV2_ENABLE_BUILD_PO ) - endif() - endif() - --find_program(CCACHE_FOUND ccache) --if(CCACHE_FOUND) -- message(STATUS "Program ccache found") -- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) -- set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) -+if( BUILD_WITH_CCACHE ) -+ find_program(CCACHE_FOUND ccache) -+ if(CCACHE_FOUND) -+ message(STATUS "Program ccache found") -+ set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) -+ set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) -+ endif() - endif() -diff --git a/config/printSummary.cmake b/config/printSummary.cmake -index 21e444a4..62ba4e98 100644 ---- a/config/printSummary.cmake -+++ b/config/printSummary.cmake -@@ -40,6 +40,7 @@ endif() - OptionOutput( "Building exiv2 command: " EXIV2_BUILD_EXIV2_COMMAND ) - OptionOutput( "Building samples: " EXIV2_BUILD_SAMPLES ) - OptionOutput( "Building PO files: " EXIV2_BUILD_PO ) -+OptionOutput( "Using ccache: " BUILD_WITH_CCACHE ) - - - message( STATUS "------------------------------------------------------------------" ) --- -2.14.2 - diff --git a/media-gfx/exiv2/files/exiv2-0.26_p20171013-cmake.patch b/media-gfx/exiv2/files/exiv2-0.26_p20171013-cmake.patch deleted file mode 100644 index c10f125415b2..000000000000 --- a/media-gfx/exiv2/files/exiv2-0.26_p20171013-cmake.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 57883ee664260f5a1b382575e7477ad34c86ce7d Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> -Date: Fri, 13 Oct 2017 18:54:11 +0200 -Subject: [PATCH] Fix build with EXIV2_BUILD_EXIV2_COMMAND=OFF - ---- - src/CMakeLists.txt | 17 ++++++++++++----- - 1 file changed, 12 insertions(+), 5 deletions(-) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index fe49a0a6..f75cbf1b 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -291,21 +291,28 @@ if(EXIV2_BUILD_EXIV2_COMMAND) - if ( BUILD_SHARED_LIBS ) - target_compile_definitions(exiv2 PRIVATE EXV_HAVE_DLL ) - endif() -+ # modify source lists to suit environment -+ -+ # TODO This should not be needed here! we need to fix the previous TODO -+ target_include_directories(exiv2 PRIVATE ${CMAKE_SOURCE_DIR}/include/) -+ -+ if(NOT EXV_HAVE_TIMEGM ) -+ target_sources(exiv2 PRIVATE localtime.c) -+ endif() -+ -+ if (MSVC) -+ target_sources(exiv2 PRIVATE getopt_win32.c) -+ endif() - install(TARGETS exiv2 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) - endif() - --# TODO This should not be needed here! we need to fix the previous TODO --target_include_directories(exiv2 PRIVATE ${CMAKE_SOURCE_DIR}/include/) -- - # modify source lists to suit environment - if(NOT EXV_HAVE_TIMEGM ) - target_sources(exiv2lib PRIVATE localtime.c) -- target_sources(exiv2 PRIVATE localtime.c) - endif() - - if (MSVC) - target_sources(exiv2lib PRIVATE getopt_win32.c) -- target_sources(exiv2 PRIVATE getopt_win32.c) - endif() - - # ****************************************************************************** |