diff options
Diffstat (limited to 'media-sound/picard/picard-0.6.0.ebuild')
-rw-r--r-- | media-sound/picard/picard-0.6.0.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/media-sound/picard/picard-0.6.0.ebuild b/media-sound/picard/picard-0.6.0.ebuild new file mode 100644 index 0000000..8e05e0a --- /dev/null +++ b/media-sound/picard/picard-0.6.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="The PicardTagger is the next generation MusicBrainzTagger." +HOMEPAGE="http://wiki.musicbrainz.org/PicardTagger" +SRC_URI="https://helixcommunity.org/download.php/1791/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=dev-lang/python-2.4.0 + >=dev-python/wxpython-2.6.1.0 + =media-libs/musicbrainz-2.1.1* + python-musicbrainz + media-libs/tunepimp + " + +S="${WORKDIR}" + +pkg_setup() { + if ! built_with_use dev-python/wxpython unicode ; then + eerror "Dependency dev-python/wxpython must be intalled with USE=\"unicode\"" + die "Broken depencency" + fi + if ! built_with_use media-libs/tunepimp python; then + eerror "Dependency media-libs/tunepimp must be installed with USE=\"python\"" + die "Broken dependency" + fi +} + +src_install() { + dodir /usr/share + cp -vr ${P} ${D}/usr/share/${P} || die + dodir /usr/bin + dosym /usr/share/${P}/tagger.py /usr/bin/tagger.py +} + +pkg_postinst() { + einfo "You should set the environment variable BROWSER to something like" + einfo "\"firefox '%s' &\" to let python know which browser to use." +} + |