Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libzen: ChangeLog libzen-0.4.24.ebuild libzen-0.4.23.ebuild
Date: Sun, 05 Feb 2012 04:45:01
Message-Id: 20120205044449.E91662004B@flycatcher.gentoo.org
1 radhermit 12/02/05 04:44:49
2
3 Modified: ChangeLog libzen-0.4.24.ebuild libzen-0.4.23.ebuild
4 Log:
5 Revert to autotools eclass to fix broken reconfigure deps (bug #402219).
6
7 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.33 media-libs/libzen/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libzen/ChangeLog?rev=1.33&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libzen/ChangeLog?rev=1.33&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libzen/ChangeLog?r1=1.32&r2=1.33
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/libzen/ChangeLog,v
19 retrieving revision 1.32
20 retrieving revision 1.33
21 diff -u -r1.32 -r1.33
22 --- ChangeLog 5 Feb 2012 02:28:30 -0000 1.32
23 +++ ChangeLog 5 Feb 2012 04:44:49 -0000 1.33
24 @@ -1,6 +1,10 @@
25 # ChangeLog for media-libs/libzen
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/ChangeLog,v 1.32 2012/02/05 02:28:30 radhermit Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/ChangeLog,v 1.33 2012/02/05 04:44:49 radhermit Exp $
29 +
30 + 05 Feb 2012; Tim Harder <radhermit@g.o> libzen-0.4.23.ebuild,
31 + libzen-0.4.24.ebuild:
32 + Revert to autotools eclass to fix broken reconfigure deps (bug #402219).
33
34 05 Feb 2012; Tim Harder <radhermit@g.o> libzen-0.4.23.ebuild:
35 Use autoreconf from autotools-utils eclass for old version too.
36
37
38
39 1.3 media-libs/libzen/libzen-0.4.24.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libzen/libzen-0.4.24.ebuild?rev=1.3&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libzen/libzen-0.4.24.ebuild?rev=1.3&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libzen/libzen-0.4.24.ebuild?r1=1.2&r2=1.3
44
45 Index: libzen-0.4.24.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/media-libs/libzen/libzen-0.4.24.ebuild,v
48 retrieving revision 1.2
49 retrieving revision 1.3
50 diff -u -r1.2 -r1.3
51 --- libzen-0.4.24.ebuild 5 Feb 2012 02:26:14 -0000 1.2
52 +++ libzen-0.4.24.ebuild 5 Feb 2012 04:44:49 -0000 1.3
53 @@ -1,10 +1,10 @@
54 # Copyright 1999-2012 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/libzen-0.4.24.ebuild,v 1.2 2012/02/05 02:26:14 radhermit Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/libzen-0.4.24.ebuild,v 1.3 2012/02/05 04:44:49 radhermit Exp $
58
59 EAPI="4"
60
61 -inherit autotools-utils multilib
62 +inherit autotools multilib
63
64 MY_PN="ZenLib"
65 DESCRIPTION="Shared library for libmediainfo and mediainfo"
66 @@ -22,23 +22,20 @@
67
68 S="${WORKDIR}/${MY_PN}/Project/GNU/Library"
69
70 -AUTOTOOLS_IN_SOURCE_BUILD=1
71 -AUTOTOOLS_AUTORECONF=1
72 -
73 src_prepare() {
74 sed -i -e "s:-O2::" configure.ac
75 - autotools-utils_src_prepare
76 + eautoreconf
77 }
78
79 src_configure() {
80 - local myeconfargs=(
81 - --enable-unicode
82 - )
83 - autotools-utils_src_configure
84 + econf \
85 + --enable-unicode \
86 + --enable-shared \
87 + $(use_enable static-libs static)
88 }
89
90 src_compile() {
91 - autotools-utils_src_compile
92 + default
93
94 if use doc ; then
95 cd "${WORKDIR}"/${MY_PN}/Source/Doc
96 @@ -47,10 +44,10 @@
97 }
98
99 src_install() {
100 - autotools-utils_src_install
101 + default
102
103 insinto /usr/$(get_libdir)/pkgconfig
104 - doins "${AUTOTOOLS_BUILD_DIR}"/${PN}.pc
105 + doins ${PN}.pc
106
107 for x in ./ Format/Html Format/Http HTTP_Client ; do
108 insinto /usr/include/${MY_PN}/${x}
109 @@ -61,4 +58,6 @@
110 if use doc ; then
111 dohtml "${WORKDIR}"/${MY_PN}/Doc/*
112 fi
113 +
114 + find "${ED}" -name '*.la' -exec rm -f {} +
115 }
116
117
118
119 1.8 media-libs/libzen/libzen-0.4.23.ebuild
120
121 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libzen/libzen-0.4.23.ebuild?rev=1.8&view=markup
122 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libzen/libzen-0.4.23.ebuild?rev=1.8&content-type=text/plain
123 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libzen/libzen-0.4.23.ebuild?r1=1.7&r2=1.8
124
125 Index: libzen-0.4.23.ebuild
126 ===================================================================
127 RCS file: /var/cvsroot/gentoo-x86/media-libs/libzen/libzen-0.4.23.ebuild,v
128 retrieving revision 1.7
129 retrieving revision 1.8
130 diff -u -r1.7 -r1.8
131 --- libzen-0.4.23.ebuild 5 Feb 2012 02:28:30 -0000 1.7
132 +++ libzen-0.4.23.ebuild 5 Feb 2012 04:44:49 -0000 1.8
133 @@ -1,10 +1,10 @@
134 # Copyright 1999-2012 Gentoo Foundation
135 # Distributed under the terms of the GNU General Public License v2
136 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/libzen-0.4.23.ebuild,v 1.7 2012/02/05 02:28:30 radhermit Exp $
137 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/libzen-0.4.23.ebuild,v 1.8 2012/02/05 04:44:49 radhermit Exp $
138
139 EAPI="4"
140
141 -inherit autotools-utils multilib
142 +inherit eutils autotools multilib
143
144 MY_PN="ZenLib"
145 DESCRIPTION="Shared library for libmediainfo and mediainfo"
146 @@ -22,27 +22,21 @@
147
148 S="${WORKDIR}/${MY_PN}/Project/GNU/Library"
149
150 -PATCHES=(
151 - "${FILESDIR}"/${PN}-0.4.21-no-tinyxml.patch
152 -)
153 -
154 -AUTOTOOLS_IN_SOURCE_BUILD=1
155 -AUTOTOOLS_AUTORECONF=1
156 -
157 src_prepare() {
158 + epatch "${FILESDIR}"/${PN}-0.4.21-no-tinyxml.patch
159 sed -i -e "s:-O2::" configure.ac
160 - autotools-utils_src_prepare
161 + eautoreconf
162 }
163
164 src_configure() {
165 - local myeconfargs=(
166 - --enable-unicode
167 - )
168 - autotools-utils_src_configure
169 + econf \
170 + --enable-unicode \
171 + --enable-shared \
172 + $(use_enable static-libs static)
173 }
174
175 src_compile() {
176 - autotools-utils_src_compile
177 + default
178
179 if use doc ; then
180 cd "${WORKDIR}"/${MY_PN}/Source/Doc
181 @@ -51,10 +45,10 @@
182 }
183
184 src_install() {
185 - autotools-utils_src_install
186 + default
187
188 insinto /usr/$(get_libdir)/pkgconfig
189 - doins "${AUTOTOOLS_BUILD_DIR}"/${PN}.pc
190 + doins ${PN}.pc
191
192 for x in ./ Base64 Format/Html Format/Http HTTP_Client ; do
193 insinto /usr/include/${MY_PN}/${x}
194 @@ -65,4 +59,6 @@
195 if use doc ; then
196 dohtml "${WORKDIR}"/${MY_PN}/Doc/*
197 fi
198 +
199 + find "${ED}" -name '*.la' -exec rm -f {} +
200 }