summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-02-14 19:04:14 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-14 19:36:12 +0100
commita1def98d550e9b6f2071f9afe2e3b60a0d8b2183 (patch)
treeda6531f2964b518e20560f6e025beb436ab304ea /media-sound/cantata
parentmedia-video/vlc: EAPI-7 bump (diff)
downloadgentoo-a1def98d550e9b6f2071f9afe2e3b60a0d8b2183.tar.gz
gentoo-a1def98d550e9b6f2071f9afe2e3b60a0d8b2183.tar.bz2
gentoo-a1def98d550e9b6f2071f9afe2e3b60a0d8b2183.zip
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@gentoo.org>
Diffstat (limited to 'media-sound/cantata')
-rw-r--r--media-sound/cantata/cantata-2.3.3.ebuild16
1 files 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 0db70f0c745a..063ffce416a9 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
-}