Version bump.
authorTim Harder <radhermit@gentoo.org>
Mon, 24 Oct 2011 03:59:39 +0000 (03:59 +0000)
committerTim Harder <radhermit@gentoo.org>
Mon, 24 Oct 2011 03:59:39 +0000 (03:59 +0000)
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64

media-sound/picard/ChangeLog
media-sound/picard/Manifest
media-sound/picard/picard-0.16.ebuild [new file with mode: 0644]

index 7b8cf0bd3e06c7ff7be5b76a6d125eaa1e386584..80b1bcf12c59ac4a95b08ce653c7356f4aadcd48 100644 (file)
@@ -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.33 2011/09/29 08:54:46 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.34 2011/10/24 03:59:39 radhermit Exp $
+
+*picard-0.16 (24 Oct 2011)
+
+  24 Oct 2011; Tim Harder <radhermit@gentoo.org> +picard-0.16.ebuild:
+  Version bump.
 
 *picard-0.15.1-r1 (29 Sep 2011)
 
index 2e6564ee7dd70fd63864e2554a78b970c78a9a1c..dafc9e7672673b30290de657e146d6554c6aad93 100644 (file)
@@ -8,20 +8,22 @@ DIST picard-0.13.tar.gz 1370119 RMD160 49df33059bbde85e4be9f5aab772e50405e2ddb2
 DIST picard-0.14.tar.gz 1375876 RMD160 4e52f726ff07358573ad2f495541e7c1679111bf SHA1 e8d2b7098bca8124459c636cbb20a62f767a7756 SHA256 4454641de9c0f455cbcb021636d1b459f8447b7d93058f30a36b949f712fbc23
 DIST picard-0.15.1-coverart.py.gz 2430 RMD160 dab3c0a1e81854d868700a901084cfcd0e8a6ee4 SHA1 c15bc403251d39e39861a34763c11fae7a11e2d5 SHA256 3547364a578ebdf6b81cf7edba50131ec1d3f67aac5eea98097072468b7b3aa7
 DIST picard-0.15.1.tar.gz 1549887 RMD160 195902699349d27af268180f45312a4d3ce1ac80 SHA1 91b461430add978f0b07ae738ce1b9de616998f4 SHA256 227bd6a55a59e4d9e1cd79e1608de378fa044e6d547e923d1fe72b402873546d
+DIST picard-0.16.tar.gz 1828595 RMD160 375610cfd8ff03825e22af726730fa85c7cb54fd SHA1 274071410550ee29051bb0137d72602921a015f9 SHA256 5623216feddf6000187cead3746b3aebe5f603837e313c7dfc99783576f54b18
 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
 EBUILD picard-0.14.ebuild 2676 RMD160 80cea2fb6b450828e777d5b49be62bcc1b026251 SHA1 bf9cfcc3adc1def1c4703bcb2054efa6f7061de0 SHA256 b1f336131f02616d0c8c9d62b8fa662695f8e4dc4c02b17e59a83a4c5b4f82b0
 EBUILD picard-0.15.1-r1.ebuild 2621 RMD160 bd884590504d48560664cd2740c7b98c838030ad SHA1 3759909c09b69cbbee9a1df1ac89534903784b99 SHA256 2f6bdebeeb4895706fc5867d98a7489e8ceae382881cc3c27a4f5ae21b0c77a2
-MISC ChangeLog 5450 RMD160 417445f6f7e7a66c0928af4c091ad1318b0cec88 SHA1 cb42f61c2feaff109244b56528aba5e64204dda0 SHA256 d86c165675139c7a7a5e3eca40e78348bed47629ee9104c00c1bf95f0edc4d1a
+EBUILD picard-0.16.ebuild 2632 RMD160 783846170ec94c141627a9c8117fcf2832a5e920 SHA1 250f5e063bd215ff04aa0a2744fef35ebd036731 SHA256 fc55bfa3fdc8898c9b1f8690f787b36567fb5ac62cbeddb2ca8f7fca9a66e060
+MISC ChangeLog 5565 RMD160 43588553224e223b11a2c53c4950260925b2b7b3 SHA1 9d392a4020fafefc97717021091c6552744b706e SHA256 6eb1c9af01089d5eb415ead17e87802de46735c339aeb1020e12a7f63005af12
 MISC metadata.xml 553 RMD160 aa0f6c2209114f46b535081ff6755b8580ab2de8 SHA1 2bc539d9847f8523ae99b5a819638a3d8e51d3e8 SHA256 deb9d87153b6e173691172b883e947d9c0561dc6533a7b4a2bf5569f25e32ae5
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iQEcBAEBCgAGBQJOhDJcAAoJEEqz6FtPBkyjEScH/jGUawcmJQBug5u/GR2SQ1eJ
-ml4JnbXE/Ug1tFQQlZWVQTk/e8ufUsuvH0AO8LO+g5sYvqT4HetiCkeG4qKOY/h/
-M5yKT+KaUBwXaV56JHn+k6pIeN9VDpXmExtDKk27H3WK1i/hYfhk+zb7Vd35cDrJ
-9DrzOi0jC34VCk8ygLCc1h9W65pNeTuKZNbo1l8DkWz83Za++9Ep3zLZL1PcOwMa
-1+ngdRSGtYB7a7CpR04HVXpMjY5XsQJS3+OYk7HQ5QV07CMgC4iuGQR87U9dEyPH
-TOBU5in99Sc2OFsfliQOM13BItK1iK1oIolif8IOUj/RiIBvA9C7G1womZvWIRU=
-=qb4A
+iQEcBAEBCgAGBQJOpOKxAAoJEEqz6FtPBkyj/RoH/3eLAxVtNH8NHsVPCHqVok3v
+wCNpMt1vckiZ26A5kiohMJYZc/aIyk0GSWBKc+rRrWeaMB0MiyZ8ggqhdN7E38Uw
+YqkemgLxoxzECdNl/V+PQLwlfhhDRmR3XwyaDg6f06bAM0PA83B8aH9LzuoaN1xf
+njKQg46iLtNqgkxBvp2uHiAzYe+h4vr8LFXEhhKRIjIuzQaDeL+XnAAEswUuLK4U
+uErJ76TAwMQcRFg3/a7zVZzZPhsUFy2zabdJuum6+/4R41NctxGo2DR2Yidi5oJD
+jJJm6rQfGsDdmsyM8FJPX1i4NGSFOhbL1+KDLy5NpuhI7uZYpygyORlCLmbOQ3s=
+=zm4G
 -----END PGP SIGNATURE-----
diff --git a/media-sound/picard/picard-0.16.ebuild b/media-sound/picard/picard-0.16.ebuild
new file mode 100644 (file)
index 0000000..fa0e60a
--- /dev/null
@@ -0,0 +1,98 @@
+# 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.16.ebuild,v 1.1 2011/10/24 03:59:39 radhermit Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+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://dev.gentoo.org/~radhermit/distfiles/${PN}-0.15.1-coverart.py.gz )"
+
+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"
+
+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 ${A}
+       if use coverart; then
+               cp "${WORKDIR}"/${PN}-0.15.1-coverart.py "${S}"/${PN}/plugins/coverart.py || die "Copy of coverart plugin failed"
+       fi
+}
+
+src_prepare() {
+       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
+}