Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libcanberra: metadata.xml ChangeLog libcanberra-0.28-r1.ebuild
Date: Sun, 01 May 2011 16:22:02
Message-Id: 20110501162153.AB9C620054@flycatcher.gentoo.org
1 nirbheek 11/05/01 16:21:53
2
3 Modified: metadata.xml ChangeLog
4 Added: libcanberra-0.28-r1.ebuild
5 Log:
6 Add libcanberra-0.28-r1 from the gnome overlay
7
8 (Portage version: 2.1.9.46/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.5 media-libs/libcanberra/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcanberra/metadata.xml?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcanberra/metadata.xml?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcanberra/metadata.xml?r1=1.4&r2=1.5
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libcanberra/metadata.xml,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- metadata.xml 27 Mar 2011 14:45:55 -0000 1.4
24 +++ metadata.xml 1 May 2011 16:21:53 -0000 1.5
25 @@ -1,19 +1,32 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>gnome</herd>
30 -<herd>sound</herd>
31 -<longdescription>A small and lightweight implementation of the XDG Sound Theme Specification (http://0pointer.de/public/sound-theme-spec.html).</longdescription>
32 -<use>
33 - <flag name='alsa'>Enables ALSA sound driver.</flag>
34 - <flag name='gstreamer'>Enables gstreamer sound driver. Not useful when alsa or pulseaudio is available.</flag>
35 - <flag name='gtk'>Enables building of gtk+ helper library, gtk+ runtime sound effects and the canberra-gtk-play
36 - utility. To enable the gtk+ sound effects add canberra-gtk-module to the colon separated list of modules
37 - in the GTK_MODULES environment variable.</flag>
38 - <flag name='pulseaudio'>Enables PulseAudio sound driver that should be able to support positional event sounds.
39 - This is the preferred choice for best sound events experience and picked by default if compiled in and
40 - possible to use at runtime.</flag>
41 - <flag name='sound'>Install x11-themes/sound-theme-freedesktop to get sounds on Gnome and Xfce.</flag>
42 - <flag name='tdb'>Enables Trivial Database support for caching purposes.</flag>
43 -</use>
44 + <herd>gnome</herd>
45 + <herd>sound</herd>
46 + <longdescription>
47 + A small and lightweight implementation of the XDG Sound Theme Specification
48 + (http://0pointer.de/public/sound-theme-spec.html)
49 + </longdescription>
50 + <use>
51 + <flag name='alsa'>Enables ALSA sound driver.</flag>
52 + <flag name='gstreamer'>Enables gstreamer sound driver. Not useful when
53 + alsa or pulseaudio is available.</flag>
54 + <flag name='gtk'>Enables building of gtk+ helper library, gtk+ runtime
55 + sound effects and the canberra-gtk-play utility. To enable the gtk+
56 + sound effects add canberra-gtk-module to the colon separated list of
57 + modules in the GTK_MODULES environment variable.</flag>
58 + <flag name='gtk3'>Enables building of gtk+3 helper library, gtk+3
59 + runtime sound effects and the canberra-gtk-play utility. To enable
60 + the gtk+3 sound effects add canberra-gtk-module to the colon
61 + separated list of modules in the GTK_MODULES environment
62 + variable.</flag>
63 + <flag name='pulseaudio'>Enables PulseAudio sound driver that should be
64 + able to support positional event sounds. This is the preferred
65 + choice for best sound events experience and picked by default if
66 + compiled in and possible to use at runtime.</flag>
67 + <flag name='sound'>Install x11-themes/sound-theme-freedesktop to get
68 + sounds on Gnome and Xfce.</flag>
69 + <flag name='tdb'>Enables Trivial Database support for caching
70 + purposes.</flag>
71 + </use>
72 </pkgmetadata>
73
74
75
76 1.67 media-libs/libcanberra/ChangeLog
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcanberra/ChangeLog?rev=1.67&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcanberra/ChangeLog?rev=1.67&content-type=text/plain
80 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcanberra/ChangeLog?r1=1.66&r2=1.67
81
82 Index: ChangeLog
83 ===================================================================
84 RCS file: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v
85 retrieving revision 1.66
86 retrieving revision 1.67
87 diff -u -r1.66 -r1.67
88 --- ChangeLog 10 Apr 2011 10:44:46 -0000 1.66
89 +++ ChangeLog 1 May 2011 16:21:53 -0000 1.67
90 @@ -1,6 +1,12 @@
91 # ChangeLog for media-libs/libcanberra
92 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
93 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.66 2011/04/10 10:44:46 ssuominen Exp $
94 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.67 2011/05/01 16:21:53 nirbheek Exp $
95 +
96 +*libcanberra-0.28-r1 (01 May 2011)
97 +
98 + 01 May 2011; Nirbheek Chauhan <nirbheek@g.o>
99 + +libcanberra-0.28-r1.ebuild:
100 + Add libcanberra-0.28-r1 from the gnome overlay
101
102 10 Apr 2011; Samuli Suominen <ssuominen@g.o> libcanberra-0.26.ebuild:
103 Reset dependency_libs to '' in libtool files.
104
105
106
107 1.1 media-libs/libcanberra/libcanberra-0.28-r1.ebuild
108
109 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcanberra/libcanberra-0.28-r1.ebuild?rev=1.1&view=markup
110 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcanberra/libcanberra-0.28-r1.ebuild?rev=1.1&content-type=text/plain
111
112 Index: libcanberra-0.28-r1.ebuild
113 ===================================================================
114 # Copyright 1999-2011 Gentoo Foundation
115 # Distributed under the terms of the GNU General Public License v2
116 # $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/libcanberra-0.28-r1.ebuild,v 1.1 2011/05/01 16:21:53 nirbheek Exp $
117
118 EAPI="4"
119 inherit gnome2-utils libtool
120
121 DESCRIPTION="Portable Sound Event Library"
122 HOMEPAGE="http://0pointer.de/lennart/projects/libcanberra/"
123 SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
124
125 LICENSE="LGPL-2.1"
126 SLOT="0"
127 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
128 IUSE="alsa gstreamer +gtk +gtk3 oss pulseaudio +sound tdb udev"
129
130 COMMON_DEPEND="media-libs/libvorbis
131 >=sys-devel/libtool-2.2.6b
132 alsa? (
133 media-libs/alsa-lib
134 udev? ( >=sys-fs/udev-160 ) )
135 gstreamer? ( >=media-libs/gstreamer-0.10.15 )
136 gtk? ( >=x11-libs/gtk+-2.20.0:2
137 gnome-base/gconf:2 )
138 gtk3? ( x11-libs/gtk+:3
139 gnome-base/gconf:2 )
140 pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
141 tdb? ( sys-libs/tdb )
142 "
143 RDEPEND="${COMMON_DEPEND}
144 sound? ( x11-themes/sound-theme-freedesktop )" # Required for index.theme wrt #323379
145 DEPEND="${COMMON_DEPEND}
146 >=dev-util/pkgconfig-0.17"
147
148 REQUIRED_USE="udev? ( alsa )"
149
150 src_prepare() {
151 # Run elibtoolize for ~x86-fbsd.
152 use x86-fbsd && elibtoolize
153 }
154
155 src_configure() {
156 econf \
157 --docdir=/usr/share/doc/${PF} \
158 --disable-dependency-tracking \
159 $(use_enable alsa) \
160 $(use_enable oss) \
161 $(use_enable pulseaudio pulse) \
162 $(use_enable gstreamer) \
163 $(use_enable gtk) \
164 $(use_enable gtk3) \
165 $(use_enable tdb) \
166 $(use_enable udev) \
167 --disable-lynx \
168 --disable-gtk-doc \
169 --with-html-dir=/usr/share/doc/${PF}/html
170 }
171
172 src_install() {
173 # Disable parallel installation until bug #253862 is solved
174 emake -j1 DESTDIR="${D}" install || die
175
176 # Remove useless .la files
177 # la files in /usr/lib*/${P}/ are needed
178 rm -v "${ED}"/usr/$(get_libdir)/gtk-*/modules/*.la || die
179 rm -v "${ED}"/usr/$(get_libdir)/*.la || die
180 }
181
182 pkg_preinst() { gnome2_gconf_savelist; }
183 pkg_postinst() { gnome2_gconf_install; }