this isn't really for pentoo but I figured since I wrote it others could use it too.

This commit is contained in:
Zero_Chaos 2009-11-13 18:08:46 +00:00
parent 1f22e47947
commit c75786b293
4 changed files with 195 additions and 0 deletions

View file

@ -0,0 +1,102 @@
# 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 $
25 Oct 2009; Torsten Veller <tove@gentoo.org> metadata.xml:
Remove coldwind from metadata.xml (#181764)
22 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> picard-0.11.ebuild:
Rename USE cdaudio to USE cdda.
06 Jun 2009; Ben de Groot <yngwin@gentoo.org> -picard-0.10-r1.ebuild,
picard-0.11.ebuild:
Remove old, migrate 0.11 to eapi-2 with use deps, check for X useflag in
PyQt4. Fixes bug 272175.
14 May 2009; Markus Meier <maekke@gentoo.org> picard-0.11.ebuild:
amd64/x86 stable, bug #269737
*picard-0.11 (07 Dec 2008)
07 Dec 2008; Santiago M. Mola <coldwind@gentoo.org> +picard-0.11.ebuild:
Version bump, may fix bug #249650.
*picard-0.10-r2 (01 Dec 2008)
01 Dec 2008; Santiago M. Mola <coldwind@gentoo.org>
+files/picard-0.10-ffmpeg-avcodec_decode_audio2.patch,
-picard-0.9.0.ebuild, +picard-0.10-r2.ebuild:
Fix bug #246148, thanks to Markus Rathgeb <maggu2810@web.de>.
09 Nov 2008; Markus Meier <maekke@gentoo.org> picard-0.10-r1.ebuild:
amd64/x86 stable, bug #245947
*picard-0.10-r1 (07 Nov 2008)
07 Nov 2008; Santiago M. Mola <coldwind@gentoo.org> -picard-0.10.ebuild,
+picard-0.10-r1.ebuild:
Install menu entry (bug #235122).
*picard-0.10 (17 Aug 2008)
17 Aug 2008; Santiago M. Mola <coldwind@gentoo.org> +picard-0.10.ebuild,
-picard-0.10.0_rc1.ebuild:
Bump to 0.10 release, fixes #233171, thanks to Vadim Efimov for the hints.
30 Jun 2008; Santiago M. Mola <coldwind@gentoo.org> picard-0.9.0.ebuild,
picard-0.10.0_rc1.ebuild:
Add a built_with_use check foru python and cxx use flag, bug #230225
29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> picard-0.9.0.ebuild:
Fix deps for stable picard to not include >=ffmpeg-0.4.9_p20080326. Fixes
bug #229887.
*picard-0.10.0_rc1 (13 Jun 2008)
13 Jun 2008; Santiago M. Mola <coldwind@gentoo.org>
+files/picard-0.10.0_rc1-ffmpeg-headers.patch, +picard-0.10.0_rc1.ebuild:
Version bump and added patch for new ffmpeg headers compatibility (bug
#223949), thanks to Ben de Groot.
11 Apr 2008; Santiago M. Mola <coldwind@gentoo.org> picard-0.9.0.ebuild:
Remove qt-4.2 dep wrt bug #217190
24 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> picard-0.9.0.ebuild:
amd64 stable wrt bug #214416
23 Mar 2008; Christian Faulhammer <opfer@gentoo.org> picard-0.9.0.ebuild:
stable x86, bug 214416
08 Feb 2008; Santiago M. Mola <coldwind@gentoo.org>
-picard-0.9.0_beta1.ebuild:
Remove old.
*picard-0.9.0 (23 Dec 2007)
23 Dec 2007; Santiago M. Mola <coldwind@gentoo.org>
-files/picard-0.9.0_alpha14-disable-locales.patch,
-picard-0.9.0_alpha14.ebuild, +picard-0.9.0.ebuild:
Version bump and remove old alpha, #203177 thanks to Marti Raudsepp.
*picard-0.9.0_beta1 (28 Oct 2007)
28 Oct 2007; Santiago M. Mola <coldwind@gentoo.org>
+picard-0.9.0_beta1.ebuild:
Bump to 0.9.0_beta1, thanks to Marti Raudsepp <marti@juffo.org>.
16 Sep 2007; Santiago M. Mola <coldwind@gentoo.org>
picard-0.9.0_alpha14.ebuild:
Fix ctypes dep, make cdaudio elog message more clear. bug #190258 thanks to
René Necoro Neumann <necoro@necoro.net>.
27 Aug 2007; Christoph Mende <angelos@gentoo.org>
picard-0.9.0_alpha14.ebuild:
Added ~amd64 wrt bug #189357
*picard-0.9.0_alpha14 (17 Aug 2007)
17 Aug 2007; Santiago M. Mola <coldwind@gentoo.org>
+files/picard-0.9.0_alpha14-disable-locales.patch, +metadata.xml,
+picard-0.9.0_alpha14.ebuild:
Initial ebuild wrt bug #80312. Thanks to Marti Raudsepp.

View file

@ -0,0 +1,4 @@
DIST picard-0.12.1.tar.gz 1361157 RMD160 9d91e53f6ea0fd4c4a25bd1dbd8036a413971aef SHA1 965412de954d2a73487a1332b49ac7725e719f0c SHA256 7ffb28a47b610c45cfd972eacbb65c95a224aeaed0750d57c61a47d29f9a8183
EBUILD picard-0.12.1.ebuild 2131 RMD160 42989576072ef9d9f8b4b23863b7f1a0829856f1 SHA1 260d9918cd6036bf514c3ff8d616cf13ce83c77f SHA256 5a81d244c8a8d97bba4f9b58d598344348ad74c87ddd6ff81b0e0d779c716432
MISC ChangeLog 3661 RMD160 16a00120c84a68236206de12c5547a3c19ea52a3 SHA1 76fc529960a07b7a682bf3fa6966b306cafb967d SHA256 8fa54fcc049b490b3e4dc7b8bde978d6fa5138ee19a0ffe2fd46dfd5f854ac4f
MISC metadata.xml 616 RMD160 6bd96d66533a76c240081842407f1a671d2d767d SHA1 6c0fe6eed91152e91502503e902fb6ca0881e57b SHA256 074c40346934b7915bfd0851546a7ea381197ee1d847dd24e284f6448822fd73

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!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
track based tagging and cross platform compatibility.</longdescription>
</pkgmetadata>

View file

@ -0,0 +1,75 @@
# 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.11.ebuild,v 1.4 2009/07/22 15:59:44 ssuominen 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"
RDEPEND="|| (
>=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 )"
DEPEND="${RDEPEND}"
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."
}