summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-12-09 12:50:41 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-12-09 13:26:08 +0100
commit997c773fb537808f5c175e46987230cdbc352fae (patch)
tree36d8dc6bd7fccde93f5c922f6825e8481dcdf641 /media-gfx/photoqt
parentnet-analyzer/wireshark: ppc64 stable wrt bug #702028 (diff)
downloadgentoo-997c773fb537808f5c175e46987230cdbc352fae.tar.gz
gentoo-997c773fb537808f5c175e46987230cdbc352fae.tar.bz2
gentoo-997c773fb537808f5c175e46987230cdbc352fae.zip
media-gfx/photoqt: Switch to ecm.eclass, EAPI-7 bump
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/photoqt')
-rw-r--r--media-gfx/photoqt/photoqt-1.7.1-r1.ebuild26
1 files changed, 8 insertions, 18 deletions
diff --git a/media-gfx/photoqt/photoqt-1.7.1-r1.ebuild b/media-gfx/photoqt/photoqt-1.7.1-r1.ebuild
index b8f003fbdbfa..53e9fae1e605 100644
--- a/media-gfx/photoqt/photoqt-1.7.1-r1.ebuild
+++ b/media-gfx/photoqt/photoqt-1.7.1-r1.ebuild
@@ -1,9 +1,10 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils gnome2-utils xdg-utils
+ECM_KDEINSTALLDIRS=false
+inherit ecm
DESCRIPTION="Simple but powerful Qt-based image viewer"
HOMEPAGE="https://photoqt.org/"
@@ -14,8 +15,10 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="devil exif freeimage graphicsmagick pdf raw"
+BDEPEND="
+ dev-qt/linguist-tools:5
+"
RDEPEND="
- dev-qt/qtcore:5
dev-qt/qtdeclarative:5
dev-qt/qtgraphicaleffects:5
dev-qt/qtgui:5
@@ -36,10 +39,7 @@ RDEPEND="
pdf? ( app-text/poppler[qt5] )
raw? ( media-libs/libraw:= )
"
-DEPEND="${RDEPEND}
- dev-qt/linguist-tools:5
- kde-frameworks/extra-cmake-modules:5
-"
+DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${P}-cmake.patch"
@@ -55,15 +55,5 @@ src_configure() {
-DPOPPLER=$(usex pdf)
-DRAW=$(usex raw)
)
- cmake-utils_src_configure
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
- xdg_desktop_database_update
+ ecm_src_configure
}