Gentoo Archives: gentoo-commits

From: "Santiago M. Mola (coldwind)" <coldwind@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/picard: ChangeLog picard-0.9.0_beta1.ebuild
Date: Sun, 28 Oct 2007 17:24:40
Message-Id: E1ImBsJ-0007Hw-NJ@stork.gentoo.org
1 coldwind 07/10/28 17:24:35
2
3 Modified: ChangeLog
4 Added: picard-0.9.0_beta1.ebuild
5 Log:
6 Bump to 0.9.0_beta1, thanks to Marti Raudsepp <marti@×××××.org>.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.4 media-sound/picard/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 16 Sep 2007 21:43:33 -0000 1.3
23 +++ ChangeLog 28 Oct 2007 17:24:35 -0000 1.4
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-sound/picard
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.3 2007/09/16 21:43:33 coldwind Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.4 2007/10/28 17:24:35 coldwind Exp $
29 +
30 +*picard-0.9.0_beta1 (28 Oct 2007)
31 +
32 + 28 Oct 2007; Santiago M. Mola <coldwind@g.o>
33 + +picard-0.9.0_beta1.ebuild:
34 + Bump to 0.9.0_beta1, thanks to Marti Raudsepp <marti@×××××.org>.
35
36 16 Sep 2007; Santiago M. Mola <coldwind@g.o>
37 picard-0.9.0_alpha14.ebuild:
38
39
40
41 1.1 media-sound/picard/picard-0.9.0_beta1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/picard-0.9.0_beta1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/picard-0.9.0_beta1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: picard-0.9.0_beta1.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $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 $
51
52 inherit eutils distutils
53
54 MY_P="${P/_beta/beta}"
55
56 DESCRIPTION="An improved rewrite/port of the Picard Tagger using Qt"
57 HOMEPAGE="http://musicbrainz.org/doc/PicardQt"
58 SRC_URI="http://ftp.musicbrainz.org/pub/musicbrainz/users/luks/picard-qt/${MY_P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~x86 ~amd64"
63 IUSE="cdaudio ffmpeg nls"
64
65 RDEPEND=">=dev-lang/python-2.4
66 || ( >=dev-lang/python-2.5 >=dev-python/ctypes-0.9 )
67 >=dev-python/PyQt4-4.2
68 >=x11-libs/qt-4.2
69 >=media-libs/mutagen-1.9
70 cdaudio? ( >=media-libs/libdiscid-0.1.1 )
71 ffmpeg? ( >=media-video/ffmpeg-0.4.9
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 src_compile() {
80 ${python} setup.py config || die "setup.py config failed"
81 if ! use ffmpeg; then
82 sed -i -e "s:\(^with-avcodec\ =\ \).*:\1False:" \
83 -e "s:\(^with-libofa\ =\ \).*:\1False:" \
84 build.cfg || die "sed failed"
85 fi
86 ${python} setup.py build $(use nls || echo "--disable-locales") \
87 || die "setup.py build failed"
88 }
89
90 src_install() {
91 distutils_src_install --disable-autoupdate --skip-build \
92 $(use nls || echo "--disable-locales")
93 }
94
95 pkg_postinst() {
96 distutils_pkg_postinst
97 echo
98 elog "You should set the environment variable BROWSER to something like"
99 elog "\"firefox '%s' &\" to let python know which browser to use."
100 echo
101 if ! use ffmpeg; then
102 ewarn "The 'ffmpeg' USE flag is disabled. Acoustic fingerprinting and"
103 ewarn "recognition will not be available."
104 echo
105 fi
106 if ! use cdaudio; then
107 ewarn "The 'cdaudio' USE flag is disabled. CD index lookup and"
108 ewarn "identification will not be available. You can get audio CD support"
109 ewarn "by installing media-libs/libdiscid."
110 fi
111 }
112
113
114
115 --
116 gentoo-commits@g.o mailing list