summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago M. Mola <coldwind@gentoo.org>2007-10-28 17:24:35 +0000
committerSantiago M. Mola <coldwind@gentoo.org>2007-10-28 17:24:35 +0000
commit01205e4f50a7339b63130272e940aab6de7a050d (patch)
tree4ef50b678949472552ccc9210bbb45a46402c93b /media-sound/picard
parentRemove media-libs/ming dependency. (bug #197258) (diff)
downloadgentoo-2-01205e4f50a7339b63130272e940aab6de7a050d.tar.gz
gentoo-2-01205e4f50a7339b63130272e940aab6de7a050d.tar.bz2
gentoo-2-01205e4f50a7339b63130272e940aab6de7a050d.zip
Bump to 0.9.0_beta1, thanks to Marti Raudsepp <marti@juffo.org>.
(Portage version: 2.1.3.9)
Diffstat (limited to 'media-sound/picard')
-rw-r--r--media-sound/picard/ChangeLog8
-rw-r--r--media-sound/picard/files/digest-picard-0.9.0_beta13
-rw-r--r--media-sound/picard/picard-0.9.0_beta1.ebuild64
3 files changed, 74 insertions, 1 deletions
diff --git a/media-sound/picard/ChangeLog b/media-sound/picard/ChangeLog
index c453f734bd20..9c4b007ec285 100644
--- a/media-sound/picard/ChangeLog
+++ b/media-sound/picard/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/picard
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.3 2007/09/16 21:43:33 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.4 2007/10/28 17:24:35 coldwind Exp $
+
+*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:
diff --git a/media-sound/picard/files/digest-picard-0.9.0_beta1 b/media-sound/picard/files/digest-picard-0.9.0_beta1
new file mode 100644
index 000000000000..8a0a12444ca1
--- /dev/null
+++ b/media-sound/picard/files/digest-picard-0.9.0_beta1
@@ -0,0 +1,3 @@
+MD5 2568970e4b2112fc03afafd441186a5b picard-0.9.0beta1.tar.gz 399995
+RMD160 2109f274ad2a84be1e75bea77dc67d074db00848 picard-0.9.0beta1.tar.gz 399995
+SHA256 99118f336d8c6dcc0e2d9e49f335acb440e00d383d7c26d7f97e98ffba55858e picard-0.9.0beta1.tar.gz 399995
diff --git a/media-sound/picard/picard-0.9.0_beta1.ebuild b/media-sound/picard/picard-0.9.0_beta1.ebuild
new file mode 100644
index 000000000000..74e44f887acd
--- /dev/null
+++ b/media-sound/picard/picard-0.9.0_beta1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/picard-0.9.0_beta1.ebuild,v 1.1 2007/10/28 17:24:35 coldwind Exp $
+
+inherit eutils distutils
+
+MY_P="${P/_beta/beta}"
+
+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/users/luks/picard-qt/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="cdaudio ffmpeg nls"
+
+RDEPEND=">=dev-lang/python-2.4
+ || ( >=dev-lang/python-2.5 >=dev-python/ctypes-0.9 )
+ >=dev-python/PyQt4-4.2
+ >=x11-libs/qt-4.2
+ >=media-libs/mutagen-1.9
+ cdaudio? ( >=media-libs/libdiscid-0.1.1 )
+ ffmpeg? ( >=media-video/ffmpeg-0.4.9
+ >=media-libs/libofa-0.9.2 )"
+
+DEPEND="${RDEPEND}"
+
+DOCS="AUTHORS.txt INSTALL.txt NEWS.txt"
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ ${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
+ ${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")
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ echo
+ elog "You should set the environment variable BROWSER to something like"
+ elog "\"firefox '%s' &\" to let python know which browser to use."
+ echo
+ if ! use ffmpeg; then
+ ewarn "The 'ffmpeg' USE flag is disabled. Acoustic fingerprinting and"
+ ewarn "recognition will not be available."
+ echo
+ fi
+ if ! use cdaudio; then
+ ewarn "The 'cdaudio' 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
+}