Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libcanberra: ChangeLog libcanberra-0.15-r1.ebuild libcanberra-0.15.ebuild
Date: Mon, 24 Aug 2009 13:27:47
Message-Id: E1MfZa8-00036S-2d@stork.gentoo.org
1 eva 09/08/24 13:27:32
2
3 Modified: ChangeLog
4 Added: libcanberra-0.15-r1.ebuild
5 Removed: libcanberra-0.15.ebuild
6 Log:
7 Version bump. Fix passing arguments to econf.
8 (Portage version: 2.2_rc35/cvs/Linux i686)
9
10 Revision Changes Path
11 1.27 media-libs/libcanberra/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/ChangeLog?rev=1.27&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/ChangeLog?rev=1.27&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/ChangeLog?r1=1.26&r2=1.27
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v
20 retrieving revision 1.26
21 retrieving revision 1.27
22 diff -u -r1.26 -r1.27
23 --- ChangeLog 23 Aug 2009 22:12:51 -0000 1.26
24 +++ ChangeLog 24 Aug 2009 13:27:31 -0000 1.27
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-libs/libcanberra
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.26 2009/08/23 22:12:51 eva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.27 2009/08/24 13:27:31 eva Exp $
30 +
31 +*libcanberra-0.15-r1 (24 Aug 2009)
32 +
33 + 24 Aug 2009; Gilles Dartiguelongue <eva@g.o>
34 + -libcanberra-0.15.ebuild, +libcanberra-0.15-r1.ebuild:
35 + Version bump. Fix passing arguments to econf.
36
37 *libcanberra-0.15 (23 Aug 2009)
38
39
40
41
42 1.1 media-libs/libcanberra/libcanberra-0.15-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/libcanberra-0.15-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/libcanberra-0.15-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libcanberra-0.15-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/libcanberra-0.15-r1.ebuild,v 1.1 2009/08/24 13:27:31 eva Exp $
52
53 EAPI="1"
54
55 inherit eutils gnome2-utils autotools
56
57 DESCRIPTION="Portable Sound Event Library"
58 HOMEPAGE="http://0pointer.de/lennart/projects/libcanberra/"
59 SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
64 IUSE="alsa doc gstreamer +gtk oss pulseaudio"
65
66 RDEPEND="media-libs/libvorbis
67 sys-devel/libtool
68 alsa? ( media-libs/alsa-lib )
69 pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
70 gstreamer? ( >=media-libs/gstreamer-0.10.15 )
71 gtk? ( dev-libs/glib:2
72 >=x11-libs/gtk+-2.13.4:2
73 >=gnome-base/gconf-2 )"
74 DEPEND="${RDEPEND}
75 >=dev-util/pkgconfig-0.17
76 dev-util/gtk-doc-am
77 doc? ( >=dev-util/gtk-doc-1.9 )"
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82
83 # Fix bug 277739, replace LT_PREREQ and LT_INIT by AC_LIBTOOL*
84 # macros (equivalent for earlier version), preserve backward
85 # compatibility with libtool-1
86 epatch "${FILESDIR}/${PN}-0.14-backward-compatibility-libtool.patch"
87
88 # Fix bug 278354, Backport AM_GCONF_SOURCE_2 macro to m4/ dir
89 # in case where gconf isn't installed on the system
90 # (eautoconf could fail)
91 epatch "${FILESDIR}/${PN}-0.14-am-gconf-source-2-m4.patch"
92
93 rm lt* || die "clean-up ltmain.sh failed"
94 rm m4/lt* || die "clean-up lt scripts failed"
95 rm m4/libtool* || die "clean-up libtool script failed"
96
97 eautoreconf
98 }
99
100 src_compile() {
101 econf --disable-static \
102 --docdir=/usr/share/doc/${PF} \
103 $(use_enable alsa) \
104 $(use_enable gstreamer) \
105 $(use_enable gtk) \
106 $(use_enable oss) \
107 $(use_enable pulseaudio pulse) \
108 $(use_enable doc gtk-doc) \
109 --disable-tdb \
110 --disable-lynx
111 # tdb support would need a split-out from samba before we can use it
112
113 emake || die "emake failed."
114 }
115
116 src_install() {
117 # we must delay gconf schema installation due to sandbox
118 #export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
119
120 emake DESTDIR="${D}" install || die "emake install failed."
121
122 #unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
123 }
124
125 pkg_preinst() {
126 gnome2_gconf_savelist
127 }
128
129 pkg_postinst() {
130 gnome2_gconf_install
131 }
132
133 #pkg_prerm() {
134 # gnome2_gconf_uninstall
135 #}