summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-02-14 19:09:21 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-14 19:36:12 +0100
commita8752d3cf6e24ed8be70f6c78f83ff9728bcf403 (patch)
tree3dc7964a225d219a101befe3e8957bf6322c724c /media-sound/picard
parentmedia-sound/cantata: Switch from gnome2-utils to xdg, EAPI-7 bump (diff)
downloadgentoo-a8752d3cf6e24ed8be70f6c78f83ff9728bcf403.tar.gz
gentoo-a8752d3cf6e24ed8be70f6c78f83ff9728bcf403.tar.bz2
gentoo-a8752d3cf6e24ed8be70f6c78f83ff9728bcf403.zip
media-sound/picard: 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/picard')
-rw-r--r--media-sound/picard/picard-9999.ebuild29
1 files changed, 14 insertions, 15 deletions
diff --git a/media-sound/picard/picard-9999.ebuild b/media-sound/picard/picard-9999.ebuild
index e29c2cbc2b5..17fd6142062 100644
--- a/media-sound/picard/picard-9999.ebuild
+++ b/media-sound/picard/picard-9999.ebuild
@@ -1,29 +1,34 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
DISTUTILS_SINGLE_IMPL=1
DISABLE_AUTOFORMATTING=true
-EGIT_REPO_URI="https://github.com/metabrainz/picard"
-inherit distutils-r1 git-r3 gnome2-utils readme.gentoo-r1 xdg-utils
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/metabrainz/picard"
+ inherit git-r3
+else
+ SRC_URI="https://musicbrainz.osuosl.org/pub/musicbrainz/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit distutils-r1 readme.gentoo-r1 xdg
DESCRIPTION="A cross-platform music tagger"
HOMEPAGE="https://picard.musicbrainz.org"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS=""
IUSE="nls"
+BDEPEND="
+ nls? ( dev-qt/linguist-tools:5 )
+"
RDEPEND="
dev-python/PyQt5[declarative,gui,network,widgets,${PYTHON_USEDEP}]
dev-qt/qtgui:5[accessibility]
>=media-libs/mutagen-1.38"
-DEPEND="
- nls? ( dev-qt/linguist-tools:5 )
-"
RESTRICT="test" # doesn't work with ebuilds
@@ -65,11 +70,5 @@ Picard's settings:
pkg_postinst() {
readme.gentoo_print_elog
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
+ xdg_pkg_postinst
}