media-gfx/photoqt: USE exiv2 (local) -> exif (global)
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 29 Dec 2018 21:29:41 +0000 (22:29 +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/metadata.xml
media-gfx/photoqt/photoqt-1.5.1-r1.ebuild
media-gfx/photoqt/photoqt-1.7.1.ebuild

index c0acf63798da42fe1e3c1e89c71c882eb909dc13..d6620e46687fc66bf1f2991dca3651317647fb33 100644 (file)
@@ -12,8 +12,5 @@
                <flag name="freeimage">
                        Support additional iamge formats using <pkg>media-libs/freeimage</pkg>
                </flag>
-               <flag name="exiv2">
-                       Use <pkg>media-gfx/exiv2</pkg> as optional dependency
-               </flag>
        </use>
 </pkgmetadata>
index ff02aa7771cc387522a5e5febe0e91fdb213db6e..7702e5284c0fd70fc90072a70090e92fc918ddf8 100644 (file)
@@ -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="exiv2 graphicsmagick raw"
+IUSE="exif graphicsmagick raw"
 
 RDEPEND="
        dev-qt/qtcore:5
@@ -27,7 +27,7 @@ RDEPEND="
        dev-qt/qtsvg:5
        dev-qt/qtwidgets:5
        dev-qt/qtxml:5
-       exiv2? ( media-gfx/exiv2:= )
+       exif? ( media-gfx/exiv2:= )
        graphicsmagick? ( >=media-gfx/graphicsmagick-1.3.20:= )
        raw? ( media-libs/libraw:= )
 "
@@ -37,7 +37,7 @@ DEPEND="${RDEPEND}
 
 src_configure() {
        local mycmakeargs=(
-               -DEXIV2=$(usex exiv2)
+               -DEXIV2=$(usex exif)
                -DGM=$(usex graphicsmagick)
                -DRAW=$(usex raw)
        )
index b1e9fd011dee85f2bdedc1c015ac7614d69dd7fd..b37af5d4f16ac477fcd9d4693c496bef7d2fb9a3 100644 (file)
@@ -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] )
@@ -44,7 +44,7 @@ DEPEND="${RDEPEND}
 src_configure() {
        local mycmakeargs=(
                -DDEVIL=$(usex devil)
-               -DEXIV2=$(usex exiv2)
+               -DEXIV2=$(usex exif)
                -DFREEIMAGE=$(usex freeimage)
                -DGM=$(usex graphicsmagick)
                -DPOPPLER=$(usex pdf)