media-gfx/photoqt: Fix USE exif
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 29 Dec 2018 21:40:38 +0000 (22:40 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 29 Dec 2018 22:02:02 +0000 (23:02 +0100)
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-gfx/photoqt/files/photoqt-1.7.1-cmake.patch [new file with mode: 0644]
media-gfx/photoqt/photoqt-1.7.1.ebuild

diff --git a/media-gfx/photoqt/files/photoqt-1.7.1-cmake.patch b/media-gfx/photoqt/files/photoqt-1.7.1-cmake.patch
new file mode 100644 (file)
index 0000000..5dfacf4
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/CMake/FindExiv2.cmake    2018-06-03 05:21:04.143148857 +0200
++++ b/CMake/FindExiv2.cmake    2018-12-29 22:35:40.770393025 +0100
+@@ -13,8 +13,8 @@
+     "${EXIV2_LOCATION}"
+     "${EXIV2_LOCATION}/include"
+     /usr/include
+-    /usr/include/Exiv2
+-    /opt/local/include/Exiv2
++    /usr/include/exiv2
++    /opt/local/include/exiv2
+ )
+ IF(EXIV2_INCLUDE_DIR)
index b37af5d4f16ac477fcd9d4693c496bef7d2fb9a3..a865dab8014b22bdd5c61ee8db8f3bba3d514a03 100644 (file)
@@ -41,6 +41,8 @@ DEPEND="${RDEPEND}
        kde-frameworks/extra-cmake-modules:5
 "
 
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
+
 src_configure() {
        local mycmakeargs=(
                -DDEVIL=$(usex devil)