commit:     2ab36b4e15ab63e64b0a4b20f5117455e84e58af
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 29 21:40:38 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 29 22:02:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ab36b4e

media-gfx/photoqt: Fix USE exif

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/photoqt/files/photoqt-1.7.1-cmake.patch | 13 +++++++++++++
 media-gfx/photoqt/photoqt-1.7.1.ebuild            |  2 ++
 2 files changed, 15 insertions(+)

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
index 00000000000..5dfacf435a0
--- /dev/null
+++ b/media-gfx/photoqt/files/photoqt-1.7.1-cmake.patch
@@ -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)

diff --git a/media-gfx/photoqt/photoqt-1.7.1.ebuild 
b/media-gfx/photoqt/photoqt-1.7.1.ebuild
index b37af5d4f16..a865dab8014 100644
--- a/media-gfx/photoqt/photoqt-1.7.1.ebuild
+++ b/media-gfx/photoqt/photoqt-1.7.1.ebuild
@@ -41,6 +41,8 @@ DEPEND="${RDEPEND}
        kde-frameworks/extra-cmake-modules:5
 "
 
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
+
 src_configure() {
        local mycmakeargs=(
                -DDEVIL=$(usex devil)

Reply via email to