1 |
jlec 10/05/29 09:24:56 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: picard-0.12.1-r1.ebuild |
5 |
Log: |
6 |
Fix Python ABI compatibility #313965; added support for covert download #295922 |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.6 media-sound/picard/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/picard/metadata.xml?rev=1.6&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/picard/metadata.xml?rev=1.6&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/picard/metadata.xml?r1=1.5&r2=1.6 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/picard/metadata.xml,v |
19 |
retrieving revision 1.5 |
20 |
retrieving revision 1.6 |
21 |
diff -u -r1.5 -r1.6 |
22 |
--- metadata.xml 17 Nov 2009 23:35:31 -0000 1.5 |
23 |
+++ metadata.xml 29 May 2010 09:24:56 -0000 1.6 |
24 |
@@ -6,4 +6,5 @@ |
25 |
written in Python. Picard Tagger is intended to be the next generation of |
26 |
tagger for MusicBrainz, with a focus on album oriented tagging as opposed to |
27 |
track based tagging and cross platform compatibility.</longdescription> |
28 |
+<use><flag name='coverart'>Install plugin for direct coverart dowload</flag></use> |
29 |
</pkgmetadata> |
30 |
|
31 |
|
32 |
|
33 |
1.25 media-sound/picard/ChangeLog |
34 |
|
35 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/picard/ChangeLog?rev=1.25&view=markup |
36 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/picard/ChangeLog?rev=1.25&content-type=text/plain |
37 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/picard/ChangeLog?r1=1.24&r2=1.25 |
38 |
|
39 |
Index: ChangeLog |
40 |
=================================================================== |
41 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v |
42 |
retrieving revision 1.24 |
43 |
retrieving revision 1.25 |
44 |
diff -u -r1.24 -r1.25 |
45 |
--- ChangeLog 10 Mar 2010 09:26:24 -0000 1.24 |
46 |
+++ ChangeLog 29 May 2010 09:24:56 -0000 1.25 |
47 |
@@ -1,6 +1,13 @@ |
48 |
# ChangeLog for media-sound/picard |
49 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
50 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.24 2010/03/10 09:26:24 josejx Exp $ |
51 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.25 2010/05/29 09:24:56 jlec Exp $ |
52 |
+ |
53 |
+*picard-0.12.1-r1 (29 May 2010) |
54 |
+ |
55 |
+ 29 May 2010; Justin Lecher <jlec@g.o> +picard-0.12.1-r1.ebuild, |
56 |
+ metadata.xml: |
57 |
+ Fix Python ABI compatibility #313965; added support for covert download |
58 |
+ #295922 |
59 |
|
60 |
10 Mar 2010; Joseph Jezak <josejx@g.o> picard-0.12.1.ebuild: |
61 |
Marked ~ppc for bug #306453. |
62 |
|
63 |
|
64 |
|
65 |
1.1 media-sound/picard/picard-0.12.1-r1.ebuild |
66 |
|
67 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/picard/picard-0.12.1-r1.ebuild?rev=1.1&view=markup |
68 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/picard/picard-0.12.1-r1.ebuild?rev=1.1&content-type=text/plain |
69 |
|
70 |
Index: picard-0.12.1-r1.ebuild |
71 |
=================================================================== |
72 |
# Copyright 1999-2010 Gentoo Foundation |
73 |
# Distributed under the terms of the GNU General Public License v2 |
74 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/picard-0.12.1-r1.ebuild,v 1.1 2010/05/29 09:24:56 jlec Exp $ |
75 |
|
76 |
EAPI="3" |
77 |
|
78 |
PYTHON_DEPEND="2" |
79 |
SUPPORT_PYTHON_ABIS="1" |
80 |
|
81 |
inherit eutils distutils |
82 |
|
83 |
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="true" |
84 |
|
85 |
MY_P="${P/_/}" |
86 |
DESCRIPTION="An improved rewrite/port of the Picard Tagger using Qt" |
87 |
HOMEPAGE="http://musicbrainz.org/doc/PicardQt" |
88 |
SRC_URI=" |
89 |
http://ftp.musicbrainz.org/pub/musicbrainz/picard/${MY_P}.tar.gz |
90 |
coverart? ( http://users.musicbrainz.org/~outsidecontext/picard/plugins/coverart.py )" |
91 |
|
92 |
LICENSE="GPL-2" |
93 |
SLOT="0" |
94 |
KEYWORDS="~amd64 ~ppc ~x86" |
95 |
IUSE="cdda coverart ffmpeg nls" |
96 |
|
97 |
DEPEND=" |
98 |
dev-python/PyQt4[X] |
99 |
media-libs/mutagen |
100 |
cdda? ( >=media-libs/libdiscid-0.1.1 ) |
101 |
ffmpeg? ( |
102 |
media-video/ffmpeg |
103 |
>=media-libs/libofa-0.9.2 )" |
104 |
RDEPEND="${DEPEND}" |
105 |
|
106 |
# doesn't work with ebuilds |
107 |
RESTRICT="test" |
108 |
|
109 |
RESTRICT_PYTHON_ABIS="2.4 3.*" |
110 |
|
111 |
S="${WORKDIR}/${MY_P}" |
112 |
|
113 |
DOCS="AUTHORS.txt INSTALL.txt NEWS.txt" |
114 |
|
115 |
pkg_setup() { |
116 |
if ! use ffmpeg; then |
117 |
ewarn "The 'ffmpeg' USE flag is disabled. Acoustic fingerprinting and" |
118 |
ewarn "recognition will not be available." |
119 |
fi |
120 |
if ! use cdda; then |
121 |
ewarn "The 'cdda' USE flag is disabled. CD index lookup and" |
122 |
ewarn "identification will not be available. You can get audio CD support" |
123 |
ewarn "by installing media-libs/libdiscid." |
124 |
fi |
125 |
} |
126 |
|
127 |
src_unpack() { |
128 |
unpack ${MY_P}.tar.gz |
129 |
if use coverart; then |
130 |
cp "${DISTDIR}"/coverart.py "${S}"/${PN}/plugins/coverart.py || die "Copy of coverart plugin failed" |
131 |
fi |
132 |
} |
133 |
|
134 |
src_configure() { |
135 |
configuration() { |
136 |
$(PYTHON) setup.py config || die "setup.py config failed" |
137 |
if ! use ffmpeg; then |
138 |
sed -i -e "s:\(^with-avcodec\ =\ \).*:\1False:" \ |
139 |
-e "s:\(^with-libofa\ =\ \).*:\1False:" \ |
140 |
build.cfg || die "sed failed" |
141 |
fi |
142 |
} |
143 |
python_execute_function -s configuration |
144 |
} |
145 |
|
146 |
src_compile() { |
147 |
distutils_src_compile $(use nls || echo "--disable-locales") |
148 |
} |
149 |
|
150 |
src_install() { |
151 |
distutils_src_install --disable-autoupdate --skip-build \ |
152 |
$(use nls || echo "--disable-locales") |
153 |
|
154 |
doicon picard.ico || die 'doicon failed' |
155 |
domenu picard.desktop || die 'domenu failed' |
156 |
} |
157 |
|
158 |
pkg_postinst() { |
159 |
distutils_pkg_postinst |
160 |
echo |
161 |
ewarn "If you are upgrading Picard and it does not start" |
162 |
ewarn "try removing Picard's settings:" |
163 |
ewarn " rm ~/.config/MusicBrainz/Picard.conf" |
164 |
elog |
165 |
elog "You should set the environment variable BROWSER to something like" |
166 |
elog "\"firefox '%s' &\" to let python know which browser to use." |
167 |
if use coverart; then |
168 |
ewarn "You have downloaded and installed the coverart downloader plugin." |
169 |
ewarn "If you expect it to work please enable it in Options->Plugins." |
170 |
fi |
171 |
} |