1 |
coldwind 08/12/01 21:19:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: picard-0.10-r2.ebuild |
5 |
Removed: picard-0.9.0.ebuild |
6 |
Log: |
7 |
Fix bug #246148, thanks to Markus Rathgeb <maggu2810@×××.de>. |
8 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r2 x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.16 media-sound/picard/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/ChangeLog?rev=1.16&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/ChangeLog?rev=1.16&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/ChangeLog?r1=1.15&r2=1.16 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v |
20 |
retrieving revision 1.15 |
21 |
retrieving revision 1.16 |
22 |
diff -u -r1.15 -r1.16 |
23 |
--- ChangeLog 9 Nov 2008 11:16:36 -0000 1.15 |
24 |
+++ ChangeLog 1 Dec 2008 21:19:32 -0000 1.16 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for media-sound/picard |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.15 2008/11/09 11:16:36 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.16 2008/12/01 21:19:32 coldwind Exp $ |
30 |
+ |
31 |
+*picard-0.10-r2 (01 Dec 2008) |
32 |
+ |
33 |
+ 01 Dec 2008; Santiago M. Mola <coldwind@g.o> |
34 |
+ +files/picard-0.10-ffmpeg-avcodec_decode_audio2.patch, |
35 |
+ -picard-0.9.0.ebuild, +picard-0.10-r2.ebuild: |
36 |
+ Fix bug #246148, thanks to Markus Rathgeb <maggu2810@×××.de>. |
37 |
|
38 |
09 Nov 2008; Markus Meier <maekke@g.o> picard-0.10-r1.ebuild: |
39 |
amd64/x86 stable, bug #245947 |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-sound/picard/picard-0.10-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/picard-0.10-r2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/picard-0.10-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: picard-0.10-r2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/picard-0.10-r2.ebuild,v 1.1 2008/12/01 21:19:32 coldwind Exp $ |
53 |
|
54 |
inherit eutils distutils |
55 |
|
56 |
MY_P="${P/_/}" |
57 |
DESCRIPTION="An improved rewrite/port of the Picard Tagger using Qt" |
58 |
HOMEPAGE="http://musicbrainz.org/doc/PicardQt" |
59 |
SRC_URI="http://ftp.musicbrainz.org/pub/musicbrainz/picard/${MY_P}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="cdaudio ffmpeg nls" |
65 |
|
66 |
RDEPEND=">=dev-lang/python-2.4 |
67 |
|| ( >=dev-lang/python-2.5 >=dev-python/ctypes-0.9 ) |
68 |
>=dev-python/PyQt4-4.2 |
69 |
media-libs/mutagen |
70 |
cdaudio? ( >=media-libs/libdiscid-0.1.1 ) |
71 |
ffmpeg? ( media-video/ffmpeg |
72 |
>=media-libs/libofa-0.9.2 )" |
73 |
|
74 |
DEPEND="${RDEPEND}" |
75 |
|
76 |
DOCS="AUTHORS.txt INSTALL.txt NEWS.txt" |
77 |
S=${WORKDIR}/${MY_P} |
78 |
|
79 |
pkg_setup() { |
80 |
if ! use ffmpeg; then |
81 |
ewarn "The 'ffmpeg' USE flag is disabled. Acoustic fingerprinting and" |
82 |
ewarn "recognition will not be available." |
83 |
fi |
84 |
if ! use cdaudio; then |
85 |
ewarn "The 'cdaudio' USE flag is disabled. CD index lookup and" |
86 |
ewarn "identification will not be available. You can get audio CD support" |
87 |
ewarn "by installing media-libs/libdiscid." |
88 |
fi |
89 |
|
90 |
if ! built_with_use --missing true dev-lang/python cxx ; then |
91 |
eerror "Please, rebuild dev-lang/python with USE=\"cxx\"." |
92 |
die "dev-lang/python built without cxx support" |
93 |
fi |
94 |
} |
95 |
|
96 |
src_unpack() { |
97 |
unpack ${A} |
98 |
cd "${S}" |
99 |
if has_version '>=media-video/ffmpeg-0.4.9_p20080326' ; then |
100 |
epatch "${FILESDIR}"/${PN}-0.10.0_rc1-ffmpeg-headers.patch |
101 |
fi |
102 |
epatch "${FILESDIR}"/${P}-ffmpeg-avcodec_decode_audio2.patch |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
${python} setup.py config || die "setup.py config failed" |
107 |
if ! use ffmpeg; then |
108 |
sed -i -e "s:\(^with-avcodec\ =\ \).*:\1False:" \ |
109 |
-e "s:\(^with-libofa\ =\ \).*:\1False:" \ |
110 |
build.cfg || die "sed failed" |
111 |
fi |
112 |
${python} setup.py build $(use nls || echo "--disable-locales") \ |
113 |
|| die "setup.py build failed" |
114 |
} |
115 |
|
116 |
src_install() { |
117 |
distutils_src_install --disable-autoupdate --skip-build \ |
118 |
$(use nls || echo "--disable-locales") |
119 |
|
120 |
doicon picard-{16,32}.png |
121 |
domenu picard.desktop |
122 |
} |
123 |
|
124 |
pkg_postinst() { |
125 |
distutils_pkg_postinst |
126 |
echo |
127 |
elog "You should set the environment variable BROWSER to something like" |
128 |
elog "\"firefox '%s' &\" to let python know which browser to use." |
129 |
} |