commit:     a1def98d550e9b6f2071f9afe2e3b60a0d8b2183
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 14 18:04:14 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 14 18:36:12 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1def98d

media-sound/cantata: Switch from gnome2-utils to xdg, EAPI-7 bump

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/cantata/cantata-2.3.3.ebuild | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/media-sound/cantata/cantata-2.3.3.ebuild 
b/media-sound/cantata/cantata-2.3.3.ebuild
index 0db70f0c745..063ffce416a 100644
--- a/media-sound/cantata/cantata-2.3.3.ebuild
+++ b/media-sound/cantata/cantata-2.3.3.ebuild
@@ -1,10 +1,10 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PLOCALES="cs da de en_GB es fr hu it ja ko pl pt_BR ru zh_CN"
-inherit cmake-utils gnome2-utils l10n qmake-utils xdg-utils
+inherit cmake-utils l10n qmake-utils xdg
 
 DESCRIPTION="Featureful and configurable Qt client for the music player daemon 
(MPD)"
 HOMEPAGE="https://github.com/CDrummond/cantata";
@@ -24,6 +24,9 @@ REQUIRED_USE="
        replaygain? ( taglib )
 "
 
+BDEPEND="
+       dev-qt/linguist-tools:5
+"
 COMMON_DEPEND="
        dev-qt/qtcore:5
        dev-qt/qtdbus:5
@@ -59,7 +62,6 @@ RDEPEND="${COMMON_DEPEND}
 "
 DEPEND="${COMMON_DEPEND}
        dev-qt/qtconcurrent:5
-       dev-qt/linguist-tools:5
 "
 
 # cantata has no tests
@@ -105,8 +107,7 @@ src_configure() {
 }
 
 pkg_postinst() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
+       xdg_pkg_postinst
 
        has_version media-sound/mpd || \
                elog "An instance of media-sound/mpd, local or remote, is 
required to set up Cantata."
@@ -116,8 +117,3 @@ pkg_postinst() {
                elog "and querying of portable media players"
        fi
 }
-
-pkg_postrm() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
-}

Reply via email to