summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago M. Mola <coldwind@gentoo.org>2007-08-17 10:50:20 +0000
committerSantiago M. Mola <coldwind@gentoo.org>2007-08-17 10:50:20 +0000
commit3f7c9dfe433ef9d9f3a2c8b3e86398686e75814f (patch)
tree65a2e21fc25de5599cc04310b6fdf8e1131def5c /media-sound/picard
parentUse --chuid instead of --user, #189212 thanks to Jörg Eitemüller (diff)
downloadgentoo-2-3f7c9dfe433ef9d9f3a2c8b3e86398686e75814f.tar.gz
gentoo-2-3f7c9dfe433ef9d9f3a2c8b3e86398686e75814f.tar.bz2
gentoo-2-3f7c9dfe433ef9d9f3a2c8b3e86398686e75814f.zip
Initial ebuild wrt bug #80312. Thanks to Marti Raudsepp.
(Portage version: 2.1.2.11)
Diffstat (limited to 'media-sound/picard')
-rw-r--r--media-sound/picard/ChangeLog11
-rw-r--r--media-sound/picard/Manifest20
-rw-r--r--media-sound/picard/files/digest-picard-0.9.0_alpha143
-rw-r--r--media-sound/picard/files/picard-0.9.0_alpha14-disable-locales.patch63
-rw-r--r--media-sound/picard/metadata.xml18
-rw-r--r--media-sound/picard/picard-0.9.0_alpha14.ebuild72
6 files changed, 187 insertions, 0 deletions
diff --git a/media-sound/picard/ChangeLog b/media-sound/picard/ChangeLog
new file mode 100644
index 000000000000..c85185e244f4
--- /dev/null
+++ b/media-sound/picard/ChangeLog
@@ -0,0 +1,11 @@
+# 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.1 2007/08/17 10:50:20 coldwind Exp $
+
+*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.
+
diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest
new file mode 100644
index 000000000000..1bf5bf1d5c9e
--- /dev/null
+++ b/media-sound/picard/Manifest
@@ -0,0 +1,20 @@
+AUX picard-0.9.0_alpha14-disable-locales.patch 2182 RMD160 0d01a771151a97e94e65ec138c79043aa1a0d611 SHA1 6cb767c648e27ab534f140256d506a2a9bc9371a SHA256 48735ba16c72e9afb83fa8d6a98ea834da01cc5d2dc2add158f205ca7f08399d
+MD5 2cd54240d145fce2ee6d3ccf271d2cb3 files/picard-0.9.0_alpha14-disable-locales.patch 2182
+RMD160 0d01a771151a97e94e65ec138c79043aa1a0d611 files/picard-0.9.0_alpha14-disable-locales.patch 2182
+SHA256 48735ba16c72e9afb83fa8d6a98ea834da01cc5d2dc2add158f205ca7f08399d files/picard-0.9.0_alpha14-disable-locales.patch 2182
+DIST picard-0.9.0alpha14.tar.gz 399318 RMD160 694405552411e0e212614609eeed9344cbad47b1 SHA1 850eb9d688a7637b0008019ab29608f56301fed4 SHA256 5f2c4eb71ae20ccc3511be5f90d75f10a5a12e2311a02661dfff0e3d0ac8836e
+EBUILD picard-0.9.0_alpha14.ebuild 1850 RMD160 6279f7e5e33c6b995e7057596261568cfc5e2aaf SHA1 9f71fcc98fb6d2f2f197be6e9e901f301499f591 SHA256 67ca0141c04448f275f96618bb1fc91e9646a6e6f8f685f47f0a7ca80b185425
+MD5 b375cb16fb73696731795bb200b1b462 picard-0.9.0_alpha14.ebuild 1850
+RMD160 6279f7e5e33c6b995e7057596261568cfc5e2aaf picard-0.9.0_alpha14.ebuild 1850
+SHA256 67ca0141c04448f275f96618bb1fc91e9646a6e6f8f685f47f0a7ca80b185425 picard-0.9.0_alpha14.ebuild 1850
+MISC ChangeLog 370 RMD160 30c3fd7b11de67abb85dd920a550f7eb11b26a73 SHA1 d425e527bd13e76af5c6fad2a70d7d28d117db43 SHA256 f327eb2b7739118f266f363e9b4bd6bb84b01541e0aa0b40fb209e250ef11d31
+MD5 742c774fdeb026f0ee4f3d52fb978280 ChangeLog 370
+RMD160 30c3fd7b11de67abb85dd920a550f7eb11b26a73 ChangeLog 370
+SHA256 f327eb2b7739118f266f363e9b4bd6bb84b01541e0aa0b40fb209e250ef11d31 ChangeLog 370
+MISC metadata.xml 700 RMD160 acb7a92f8d83b1aeed710ddbaba14e6acf156aab SHA1 ef7dd0f244890ca785d3600f15786834388e5917 SHA256 1168298f9b8bab4d9d7edbf6bc1ac4b87e68380de4ea2455629e0bb3560d2839
+MD5 e96df4c00b5f0b12c87001121a318767 metadata.xml 700
+RMD160 acb7a92f8d83b1aeed710ddbaba14e6acf156aab metadata.xml 700
+SHA256 1168298f9b8bab4d9d7edbf6bc1ac4b87e68380de4ea2455629e0bb3560d2839 metadata.xml 700
+MD5 233bf148f2e97156435b5ebbdbd82b01 files/digest-picard-0.9.0_alpha14 259
+RMD160 bee60026bac8689b7559c94d19cde4297b4a2348 files/digest-picard-0.9.0_alpha14 259
+SHA256 058432d4455c3a7e30dbf5e49a82b00f1dc375bf3c2f32cb25133457c5a4a3ef files/digest-picard-0.9.0_alpha14 259
diff --git a/media-sound/picard/files/digest-picard-0.9.0_alpha14 b/media-sound/picard/files/digest-picard-0.9.0_alpha14
new file mode 100644
index 000000000000..3fb8793ec84d
--- /dev/null
+++ b/media-sound/picard/files/digest-picard-0.9.0_alpha14
@@ -0,0 +1,3 @@
+MD5 212e9e0efc2e2e5a78e04f52301cb4b2 picard-0.9.0alpha14.tar.gz 399318
+RMD160 694405552411e0e212614609eeed9344cbad47b1 picard-0.9.0alpha14.tar.gz 399318
+SHA256 5f2c4eb71ae20ccc3511be5f90d75f10a5a12e2311a02661dfff0e3d0ac8836e picard-0.9.0alpha14.tar.gz 399318
diff --git a/media-sound/picard/files/picard-0.9.0_alpha14-disable-locales.patch b/media-sound/picard/files/picard-0.9.0_alpha14-disable-locales.patch
new file mode 100644
index 000000000000..378babae48a6
--- /dev/null
+++ b/media-sound/picard/files/picard-0.9.0_alpha14-disable-locales.patch
@@ -0,0 +1,63 @@
+diff -uBr picard-0.9.0alpha11/setup.py picard-0.9.0alpha11.new/setup.py
+--- picard-0.9.0alpha11/setup.py 2007-05-27 16:04:25.000000000 +0200
++++ picard-0.9.0alpha11.new/setup.py 2007-06-20 15:01:09.000000000 +0200
+@@ -181,17 +181,17 @@
+ "installation directory for locales"),
+ ('localedir=', None, ''),
+ ('disable-autoupdate', None, ''),
++ ('disable-locales', None, ''),
+ ]
+
+- sub_commands = install.sub_commands + [
+- ('install_locales', None),
+- ]
++ sub_commands = install.sub_commands
+
+ def initialize_options(self):
+ install.initialize_options(self)
+ self.install_locales = None
+ self.localedir = None
+ self.disable_autoupdate = None
++ self.disable_locales = None
+
+ def finalize_options(self):
+ install.finalize_options(self)
+@@ -205,6 +205,8 @@
+ self.distribution.get_command_obj('build').disable_autoupdate = self.disable_autoupdate
+ if self.root is not None:
+ self.change_roots('locales')
++ if self.disable_locales is None:
++ self.sub_commands.append(('install_locales', None))
+
+ def run(self):
+ install.run(self)
+@@ -216,17 +218,17 @@
+ ('build-locales=', 'd', "build directory for locale files"),
+ ('localedir=', None, ''),
+ ('disable-autoupdate', None, ''),
++ ('disable-locales', None, ''),
+ ]
+
+- sub_commands = build.sub_commands + [
+- ('build_locales', None),
+- ]
++ sub_commands = build.sub_commands
+
+ def initialize_options(self):
+ build.initialize_options(self)
+ self.build_locales = None
+ self.localedir = None
+ self.disable_autoupdate = None
++ self.disable_locales = None
+
+ def finalize_options(self):
+ build.finalize_options(self)
+@@ -236,6 +238,8 @@
+ self.localedir = '/usr/share/locale'
+ if self.disable_autoupdate is None:
+ self.disable_autoupdate = False
++ if self.disable_locales is None:
++ self.sub_commands.append(('build_locales', None))
+
+ def run(self):
+ log.info('generating scripts/picard from scripts/picard.in')
diff --git a/media-sound/picard/metadata.xml b/media-sound/picard/metadata.xml
new file mode 100644
index 000000000000..c8820bdcf3f0
--- /dev/null
+++ b/media-sound/picard/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+<maintainer>
+ <email>coldwind@gentoo.org</email>
+ <name>Santiago M. Mola</name>
+</maintainer>
+<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>
diff --git a/media-sound/picard/picard-0.9.0_alpha14.ebuild b/media-sound/picard/picard-0.9.0_alpha14.ebuild
new file mode 100644
index 000000000000..487d3d537d98
--- /dev/null
+++ b/media-sound/picard/picard-0.9.0_alpha14.ebuild
@@ -0,0 +1,72 @@
+# 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_alpha14.ebuild,v 1.1 2007/08/17 10:50:20 coldwind Exp $
+
+inherit eutils distutils
+
+MY_P="${P/_/}"
+
+DESCRIPTION="the next generation of tagger for MusicBrainz"
+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"
+IUSE="cdaudio ffmpeg nls"
+
+RDEPEND=">=dev-lang/python-2.4
+ >=dev-python/PyQt4-4.1
+ >=x11-libs/qt-4.2
+ >=media-libs/mutagen-1.9
+ cdaudio? ( >=media-libs/libdiscid-0.1.1
+ || ( >=dev-lang/python-2.5 >=dev-python/ctypes-0.9 ) )
+ 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}
+
+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 cdaudio; then
+ ewarn "The 'cdaudio' USE flag is disabled. CD index lookup and"
+ ewarn "identification will be disabled."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-disable-locales.patch"
+}
+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
+
+ local myconf
+ use nls || myconf="--disable-locales"
+ ${python} setup.py build ${myconf} || die "setup.py build failed"
+
+}
+
+src_install() {
+ local myconf
+ use nls || myconf="--disable-locales"
+ distutils_src_install --disable-autoupdate --skip-build ${myconf}
+}
+
+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."
+}