From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D1F0138334 for ; Mon, 9 Dec 2019 12:26:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B187E0826; Mon, 9 Dec 2019 12:26:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4FEC9E0826 for ; Mon, 9 Dec 2019 12:26:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B001134D89E for ; Mon, 9 Dec 2019 12:26:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B7CE8A7 for ; Mon, 9 Dec 2019 12:26:42 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1575894368.997c773fb537808f5c175e46987230cdbc352fae.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/photoqt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/photoqt/photoqt-1.7.1-r1.ebuild X-VCS-Directories: media-gfx/photoqt/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 997c773fb537808f5c175e46987230cdbc352fae X-VCS-Branch: master Date: Mon, 9 Dec 2019 12:26:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c1a27fc0-86de-4dcf-b8fc-3d0af8bdd2d0 X-Archives-Hash: 94484fdd6313009e5b6e90c2785e45cc commit: 997c773fb537808f5c175e46987230cdbc352fae Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Dec 9 11:50:41 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Dec 9 12:26:08 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=997c773f 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 gentoo.org> media-gfx/photoqt/photoqt-1.7.1-r1.ebuild | 26 ++++++++------------------ 1 file 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 b8f003fbdbf..53e9fae1e60 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 }