media-gfx/photoqt: USE exiv2 (local) -> exif (global)

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2018-12-29 23:02:02 +01:00
parent 363481907e
commit f31a16ea4e
3 changed files with 8 additions and 11 deletions
-3
View 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>
+4 -4
View 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)
)
+4 -4
View 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)