Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/tunepimp: tunepimp-0.5.3-r2.ebuild tunepimp-0.5.3.ebuild
Date: Wed, 29 Jul 2009 15:03:39
Message-Id: E1MWAgq-0004A3-AG@stork.gentoo.org
1 ssuominen 09/07/29 15:03:36
2
3 Modified: tunepimp-0.5.3-r2.ebuild
4 Removed: tunepimp-0.5.3.ebuild
5 Log:
6 qa
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild?r1=1.2&r2=1.3
15
16 Index: tunepimp-0.5.3-r2.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- tunepimp-0.5.3-r2.ebuild 10 Jul 2009 12:49:06 -0000 1.2
23 +++ tunepimp-0.5.3-r2.ebuild 29 Jul 2009 15:03:36 -0000 1.3
24 @@ -1,13 +1,11 @@
25 # Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild,v 1.2 2009/07/10 12:49:06 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild,v 1.3 2009/07/29 15:03:36 ssuominen Exp $
29
30 -EAPI="1"
31 +EAPI=2
32 +inherit autotools eutils distutils
33
34 -inherit eutils distutils autotools
35 -
36 -MY_P="lib${P}"
37 -S="${WORKDIR}/${MY_P}"
38 +MY_P=lib${P}
39
40 DESCRIPTION="TunePimp is a library to create MusicBrainz enabled tagging applications."
41 HOMEPAGE="http://www.musicbrainz.org/products/tunepimp"
42 @@ -16,60 +14,56 @@
43 LICENSE="GPL-2"
44 SLOT="0"
45 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
46 -# Most use flags were void as not deterministic - needs a patch sooner or later.
47 -#IUSE="flac mp3 readline perl python vorbis"
48 IUSE="python"
49
50 RDEPEND="sys-libs/zlib
51 dev-libs/expat
52 net-misc/curl
53 - >=media-libs/flac-1.1.2
54 + media-libs/flac
55 media-libs/libmad
56 - >=media-libs/musicbrainz-2.1.0:1
57 - media-libs/libmp4v2
58 + >=media-libs/musicbrainz-2.1:1
59 + >=media-libs/libmp4v2-1.9
60 media-libs/libofa
61 media-libs/libvorbis
62 - !media-sound/trm
63 sys-libs/readline"
64 DEPEND="${RDEPEND}
65 - dev-util/pkgconfig"
66 + dev-util/pkgconfig
67 + !media-sound/trm"
68
69 # parallel build is broken - https://bugs.gentoo.org/204174
70 MAKEOPTS="${MAKEOPTS} -j1"
71
72 -src_unpack() {
73 - unpack ${A}
74 - cd "${S}"
75 +S=${WORKDIR}/${MY_P}
76
77 +src_prepare() {
78 epatch \
79 - "${FILESDIR}/${P}-gcc43.patch" \
80 - "${FILESDIR}/${P}-libtool.patch" \
81 - "${FILESDIR}/${P}-build-fix.patch" \
82 - "${FILESDIR}/${P}-gcc44.patch"
83 -
84 - sed -i -e "s: tta::" configure.in
85 + "${FILESDIR}"/${P}-gcc43.patch \
86 + "${FILESDIR}"/${P}-libtool.patch \
87 + "${FILESDIR}"/${P}-build-fix.patch \
88 + "${FILESDIR}"/${P}-gcc44.patch \
89 + "${FILESDIR}"/${P}-new_libmp4v2.patch
90
91 - if has_version ">=media-libs/libmp4v2-1.9.0"; then
92 - epatch "${FILESDIR}"/${P}-new_libmp4v2.patch
93 - fi
94 + sed -i -e "s: tta::" configure.in || die "sed failed"
95
96 eautoreconf
97 }
98
99 +src_configure() {
100 + default
101 +}
102 +
103 src_compile() {
104 - # We need to override distutils_src_compile, bug 160145
105 - econf || die 'econf failed'
106 - emake || die 'emake failed'
107 + default
108 }
109
110 src_install() {
111 - emake DESTDIR="${D}" install || die "make install failed"
112 - dodoc AUTHORS ChangeLog INSTALL README TODO || die "installing docs failed"
113 + emake DESTDIR="${D}" install || die "emake install failed"
114 + dodoc AUTHORS ChangeLog INSTALL README TODO
115
116 if use python; then
117 - cd "${S}/python"
118 + cd python
119 distutils_src_install
120 - insinto /usr/share/doc/${PF}/examples/
121 - doins examples/* || die "installing examples failed"
122 + insinto /usr/share/doc/${PF}/examples
123 + doins examples/* || die "doins failed"
124 fi
125 }