diff options
-rw-r--r-- | media-sound/picard/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/picard/metadata.xml | 5 | ||||
-rw-r--r-- | media-sound/picard/picard-0.12.1.ebuild | 73 |
3 files changed, 80 insertions, 6 deletions
diff --git a/media-sound/picard/ChangeLog b/media-sound/picard/ChangeLog index fa616e4ad998..6505116ec315 100644 --- a/media-sound/picard/ChangeLog +++ b/media-sound/picard/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/picard # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.21 2009/10/25 17:12:20 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.22 2009/11/17 23:35:31 yngwin Exp $ + +*picard-0.12.1 (17 Nov 2009) + + 17 Nov 2009; Ben de Groot <yngwin@gentoo.org> +picard-0.12.1.ebuild, + metadata.xml: + Version bump. Updated metadata. Fixes bug 290786. 25 Oct 2009; Torsten Veller <tove@gentoo.org> metadata.xml: Remove coldwind from metadata.xml (#181764) diff --git a/media-sound/picard/metadata.xml b/media-sound/picard/metadata.xml index 9261054b7636..83082e61e5f4 100644 --- a/media-sound/picard/metadata.xml +++ b/media-sound/picard/metadata.xml @@ -2,11 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sound</herd> - <maintainer> - <email>marti@juffo.org</email> - <name>Marti Raudsepp</name> - <description>Proxy maintainer</description> - </maintainer> <longdescription>MusicBrainz Picard is a cross-platform MusicBrainz tag editor written in Python. Picard Tagger is intended to be the next generation of tagger for MusicBrainz, with a focus on album oriented tagging as opposed to diff --git a/media-sound/picard/picard-0.12.1.ebuild b/media-sound/picard/picard-0.12.1.ebuild new file mode 100644 index 000000000000..b7e1eeb7bc56 --- /dev/null +++ b/media-sound/picard/picard-0.12.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/picard-0.12.1.ebuild,v 1.1 2009/11/17 23:35:31 yngwin Exp $ + +EAPI="2" +inherit distutils + +MY_P="${P/_/}" +DESCRIPTION="An improved rewrite/port of the Picard Tagger using Qt" +HOMEPAGE="http://musicbrainz.org/doc/PicardQt" +SRC_URI="http://ftp.musicbrainz.org/pub/musicbrainz/picard/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cdda ffmpeg nls" + +DEPEND="|| ( >=dev-lang/python-2.5 + ( dev-lang/python:2.4[cxx] =dev-python/ctypes-0.9 ) ) + dev-python/PyQt4[X] + media-libs/mutagen + cdda? ( >=media-libs/libdiscid-0.1.1 ) + ffmpeg? ( media-video/ffmpeg + >=media-libs/libofa-0.9.2 )" +RDEPEND="${DEPEND}" + +DOCS="AUTHORS.txt INSTALL.txt NEWS.txt" +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if ! use ffmpeg; then + ewarn "The 'ffmpeg' USE flag is disabled. Acoustic fingerprinting and" + ewarn "recognition will not be available." + fi + if ! use cdda; then + ewarn "The 'cdda' USE flag is disabled. CD index lookup and" + ewarn "identification will not be available. You can get audio CD support" + ewarn "by installing media-libs/libdiscid." + fi +} + +src_configure() { + ${python} setup.py config || die "setup.py config failed" + if ! use ffmpeg; then + sed -i -e "s:\(^with-avcodec\ =\ \).*:\1False:" \ + -e "s:\(^with-libofa\ =\ \).*:\1False:" \ + build.cfg || die "sed failed" + fi +} + +src_compile() { + ${python} setup.py build $(use nls || echo "--disable-locales") \ + || die "setup.py build failed" +} + +src_install() { + distutils_src_install --disable-autoupdate --skip-build \ + $(use nls || echo "--disable-locales") + + doicon picard.ico || die 'doicon failed' + domenu picard.desktop || die 'domenu failed' +} + +pkg_postinst() { + distutils_pkg_postinst + echo + ewarn "If you are upgrading Picard and it does not start" + ewarn "try removing Picard's settings:" + ewarn " rm ~/.config/MusicBrainz/Picard.conf" + elog + elog "You should set the environment variable BROWSER to something like" + elog "\"firefox '%s' &\" to let python know which browser to use." +} |