diff options
Diffstat (limited to 'media-gfx/photoqt/photoqt-1.7.1.ebuild')
-rw-r--r-- | media-gfx/photoqt/photoqt-1.7.1.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/media-gfx/photoqt/photoqt-1.7.1.ebuild b/media-gfx/photoqt/photoqt-1.7.1.ebuild index b1e9fd011dee..a865dab8014b 100644 --- a/media-gfx/photoqt/photoqt-1.7.1.ebuild +++ b/media-gfx/photoqt/photoqt-1.7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ SRC_URI="https://photoqt.org/pkgs/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="devil exiv2 freeimage graphicsmagick pdf raw" +IUSE="devil exif freeimage graphicsmagick pdf raw" RDEPEND=" dev-qt/qtcore:5 @@ -30,7 +30,7 @@ RDEPEND=" app-arch/libarchive:= app-arch/unrar devil? ( media-libs/devil ) - exiv2? ( media-gfx/exiv2:= ) + exif? ( media-gfx/exiv2:= ) freeimage? ( media-libs/freeimage ) graphicsmagick? ( >=media-gfx/graphicsmagick-1.3.20:= ) pdf? ( app-text/poppler[qt5] ) @@ -41,10 +41,12 @@ DEPEND="${RDEPEND} kde-frameworks/extra-cmake-modules:5 " +PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) + src_configure() { local mycmakeargs=( -DDEVIL=$(usex devil) - -DEXIV2=$(usex exiv2) + -DEXIV2=$(usex exif) -DFREEIMAGE=$(usex freeimage) -DGM=$(usex graphicsmagick) -DPOPPLER=$(usex pdf) |