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/libid3tag: ChangeLog libid3tag-0.15.1b-r2.ebuild
Date: Wed, 26 Jan 2011 16:14:16
Message-Id: 20110126161405.A8D4D20054@flycatcher.gentoo.org
1 ssuominen 11/01/26 16:14:05
2
3 Modified: ChangeLog libid3tag-0.15.1b-r2.ebuild
4 Log:
5 Move gperf to DEPEND only wrt #352840 by Mr. Bones. USE="static-libs" and punt useless libtool archive.
6
7 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.43 media-libs/libid3tag/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libid3tag/ChangeLog?rev=1.43&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libid3tag/ChangeLog?rev=1.43&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libid3tag/ChangeLog?r1=1.42&r2=1.43
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/libid3tag/ChangeLog,v
19 retrieving revision 1.42
20 retrieving revision 1.43
21 diff -u -r1.42 -r1.43
22 --- ChangeLog 20 Nov 2008 16:44:48 -0000 1.42
23 +++ ChangeLog 26 Jan 2011 16:14:05 -0000 1.43
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-libs/libid3tag
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libid3tag/ChangeLog,v 1.42 2008/11/20 16:44:48 vapier Exp $
28 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libid3tag/ChangeLog,v 1.43 2011/01/26 16:14:05 ssuominen Exp $
30 +
31 + 26 Jan 2011; Samuli Suominen <ssuominen@g.o>
32 + libid3tag-0.15.1b-r2.ebuild:
33 + Move gperf to DEPEND only wrt #352840 by Mr. Bones. USE="static-libs" and
34 + punt useless libtool archive.
35
36 20 Nov 2008; Mike Frysinger <vapier@g.o>
37 files/0.15.1b/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch:
38
39
40
41 1.8 media-libs/libid3tag/libid3tag-0.15.1b-r2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libid3tag/libid3tag-0.15.1b-r2.ebuild?rev=1.8&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libid3tag/libid3tag-0.15.1b-r2.ebuild?rev=1.8&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libid3tag/libid3tag-0.15.1b-r2.ebuild?r1=1.7&r2=1.8
46
47 Index: libid3tag-0.15.1b-r2.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/media-libs/libid3tag/libid3tag-0.15.1b-r2.ebuild,v
50 retrieving revision 1.7
51 retrieving revision 1.8
52 diff -u -r1.7 -r1.8
53 --- libid3tag-0.15.1b-r2.ebuild 7 Dec 2008 11:51:40 -0000 1.7
54 +++ libid3tag-0.15.1b-r2.ebuild 26 Jan 2011 16:14:05 -0000 1.8
55 @@ -1,7 +1,8 @@
56 -# Copyright 1999-2008 Gentoo Foundation
57 +# Copyright 1999-2011 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libid3tag/libid3tag-0.15.1b-r2.ebuild,v 1.7 2008/12/07 11:51:40 vapier Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libid3tag/libid3tag-0.15.1b-r2.ebuild,v 1.8 2011/01/26 16:14:05 ssuominen Exp $
61
62 +EAPI=2
63 inherit eutils multilib
64
65 DESCRIPTION="The MAD id3tag library"
66 @@ -11,35 +12,35 @@
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
70 -IUSE="debug"
71 +IUSE="debug static-libs"
72
73 -DEPEND="dev-util/gperf"
74 +RDEPEND=">=sys-libs/zlib-1.1.3"
75 +DEPEND="${RDEPEND}
76 + dev-util/gperf"
77
78 -RDEPEND="${DEPEND}
79 - >=sys-libs/zlib-1.1.3"
80 -
81 -src_unpack() {
82 - unpack ${A}
83 - cd "${S}"
84 +src_prepare() {
85 epunt_cxx #74489
86 -
87 epatch "${FILESDIR}/${PV}"/*.patch
88 }
89
90 -src_compile() {
91 - econf $(use_enable debug debugging) || die "configure failed"
92 - emake || die "make failed"
93 +src_configure() {
94 + econf \
95 + --disable-dependency-tracking \
96 + $(use_enable static-libs static) \
97 + $(use_enable debug debugging)
98 }
99
100 src_install() {
101 - make install DESTDIR="${D}" || die "make install failed"
102 -
103 + emake DESTDIR="${D}" install || die
104 dodoc CHANGES CREDITS README TODO VERSION
105
106 # This file must be updated with every version update
107 insinto /usr/$(get_libdir)/pkgconfig
108 - doins "${FILESDIR}/id3tag.pc"
109 - sed -i -e "s:libdir=\${exec_prefix}/lib:libdir=/usr/$(get_libdir):" \
110 + doins "${FILESDIR}"/id3tag.pc
111 + sed -i \
112 + -e "s:libdir=\${exec_prefix}/lib:libdir=/usr/$(get_libdir):" \
113 -e "s:0.15.0b:${PV}:" \
114 - "${D}/usr/$(get_libdir)/pkgconfig/id3tag.pc"
115 + "${D}"/usr/$(get_libdir)/pkgconfig/id3tag.pc || die
116 +
117 + find "${D}" -name '*.la' -exec rm -f '{}' +
118 }