summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-05-26 04:33:52 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-05-26 04:33:52 +0000
commitd98a605817d33307372f1b57947afc19ad9a7cce (patch)
tree7ee33703185114c53e8542e5bd06bfd35128164b /media-sound/picard
parentgames-action/chromium is now games-action/chromium-bsu (diff)
downloadhistorical-d98a605817d33307372f1b57947afc19ad9a7cce.tar.gz
historical-d98a605817d33307372f1b57947afc19ad9a7cce.tar.bz2
historical-d98a605817d33307372f1b57947afc19ad9a7cce.zip
version bump
Package-Manager: portage-2.2.0_alpha36/cvs/Linux x86_64
Diffstat (limited to 'media-sound/picard')
-rw-r--r--media-sound/picard/ChangeLog7
-rw-r--r--media-sound/picard/Manifest10
-rw-r--r--media-sound/picard/picard-0.14.ebuild100
3 files changed, 112 insertions, 5 deletions
diff --git a/media-sound/picard/ChangeLog b/media-sound/picard/ChangeLog
index ea41aa69a715..4db1b4069b50 100644
--- a/media-sound/picard/ChangeLog
+++ b/media-sound/picard/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/picard
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.30 2011/04/28 14:37:51 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.31 2011/05/26 04:33:52 aballier Exp $
+
+*picard-0.14 (26 May 2011)
+
+ 26 May 2011; Alexis Ballier <aballier@gentoo.org> +picard-0.14.ebuild:
+ version bump
*picard-0.13 (28 Apr 2011)
diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest
index 4a8560e38636..1d245bd4b91c 100644
--- a/media-sound/picard/Manifest
+++ b/media-sound/picard/Manifest
@@ -5,14 +5,16 @@ AUX picard-0.13-ffmpeg.patch 639 RMD160 3059a5826d86595b870078f6af6db53bcb1fdb99
DIST coverart.py 6476 RMD160 49b833a0cf663632d1c02a102eeda2660e00dec9 SHA1 c16d8238f958da8bcf69f7a7f69dbc93dc0f32d4 SHA256 91ac249a120be52b335fb8e615e8396be0519aac87fdbce2ce259970c9363dba
DIST picard-0.12.1.tar.gz 1361157 RMD160 9d91e53f6ea0fd4c4a25bd1dbd8036a413971aef SHA1 965412de954d2a73487a1332b49ac7725e719f0c SHA256 7ffb28a47b610c45cfd972eacbb65c95a224aeaed0750d57c61a47d29f9a8183
DIST picard-0.13.tar.gz 1370119 RMD160 49df33059bbde85e4be9f5aab772e50405e2ddb2 SHA1 c40b05ab46f97e7dae8f3178ac12212d8b004317 SHA256 4826c490b3f120eeb90bb118e9277a716795852f4be24187a977365347fe4dc3
+DIST picard-0.14.tar.gz 1375876 RMD160 4e52f726ff07358573ad2f495541e7c1679111bf SHA1 e8d2b7098bca8124459c636cbb20a62f767a7756 SHA256 4454641de9c0f455cbcb021636d1b459f8447b7d93058f30a36b949f712fbc23
EBUILD picard-0.12.1-r1.ebuild 2588 RMD160 620cf6159716bdfb5043e67912604c0382415c01 SHA1 8ae4fbe769c28ec7672b5def70d98b4e9bd3a591 SHA256 a6b25f96d0d88c0c962bf2a7be5fee089bfd2e2d97e1fd0980cfbad557961556
EBUILD picard-0.13.ebuild 2670 RMD160 5b9d4762904e3ed88a8d2cd14bd6e9b7d351db73 SHA1 5c17af0d3911f159e5d44f6a4ce557ddbdb18dbb SHA256 6d8a6b95ee24498a6bfd8b07e96e46f31f645975bf4bc1e551ac3c776ec31be6
-MISC ChangeLog 4962 RMD160 1b1485c3c41ca4c7e2bb9a9d7fefd0382429cb18 SHA1 09dce4df0b9c94e052e6fe8b5ac3090b61257f48 SHA256 53cabde38c64bf7861cadf4a689e3e460cb0c5f7b0cd1c11a76d959eca02d4c0
+EBUILD picard-0.14.ebuild 2676 RMD160 80cea2fb6b450828e777d5b49be62bcc1b026251 SHA1 bf9cfcc3adc1def1c4703bcb2054efa6f7061de0 SHA256 b1f336131f02616d0c8c9d62b8fa662695f8e4dc4c02b17e59a83a4c5b4f82b0
+MISC ChangeLog 5079 RMD160 50ef6f5bedb706d8a3dab9220234f90f831bb384 SHA1 2097a433e30f146c77020b2e882ff4e69f9c404b SHA256 bff503b1b20978b73b5471ea7bac9894efc99546a8ff07b51a11bc3c55e430ec
MISC metadata.xml 553 RMD160 aa0f6c2209114f46b535081ff6755b8580ab2de8 SHA1 2bc539d9847f8523ae99b5a819638a3d8e51d3e8 SHA256 deb9d87153b6e173691172b883e947d9c0561dc6533a7b4a2bf5569f25e32ae5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk25e8QACgkQvFcC4BYPU0rY/QCfWRBtlBUxjDyh4MqTrXY+27Ax
-VCsAoKfiHjDlnpdKzehRo+vm9z9A4N54
-=Mdlf
+iEYEARECAAYFAk3d2DYACgkQvFcC4BYPU0quEQCcChCXrKhuet/VOeu4DtUG0Xoz
+G3cAoIAX6weGryoRR+JPFfP1EJXHKh2/
+=a7Dl
-----END PGP SIGNATURE-----
diff --git a/media-sound/picard/picard-0.14.ebuild b/media-sound/picard/picard-0.14.ebuild
new file mode 100644
index 000000000000..a86eeba000f0
--- /dev/null
+++ b/media-sound/picard/picard-0.14.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/picard-0.14.ebuild,v 1.1 2011/05/26 04:33:52 aballier Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit eutils 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
+ coverart? ( http://users.musicbrainz.org/~outsidecontext/picard/plugins/coverart.py )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cdda coverart ffmpeg nls"
+
+DEPEND="
+ dev-python/PyQt4[X]
+ media-libs/mutagen
+ cdda? ( >=media-libs/libdiscid-0.1.1 )
+ ffmpeg? (
+ virtual/ffmpeg
+ >=media-libs/libofa-0.9.2 )"
+RDEPEND="${DEPEND}"
+
+# doesn't work with ebuilds
+RESTRICT="test"
+
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="AUTHORS.txt INSTALL.txt NEWS.txt"
+
+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_unpack() {
+ unpack ${MY_P}.tar.gz
+ if use coverart; then
+ cp "${DISTDIR}"/coverart.py "${S}"/${PN}/plugins/coverart.py || die "Copy of coverart plugin failed"
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.13-ffmpeg.patch"
+ distutils_src_prepare
+}
+
+src_configure() {
+ $(PYTHON -f) 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() {
+ distutils_src_compile $(use nls || echo "--disable-locales")
+}
+
+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."
+ if use coverart; then
+ ewarn "You have downloaded and installed the coverart downloader plugin."
+ ewarn "If you expect it to work please enable it in Options->Plugins."
+ fi
+}