1 |
ulm 09/03/28 18:25:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libcanberra-0.11-r5.ebuild |
5 |
Removed: libcanberra-0.9.ebuild libcanberra-0.10.ebuild |
6 |
Log: |
7 |
Add patch from upstream, fixes bug 259891. Remove old. |
8 |
(Portage version: 2.2_rc27/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.17 media-libs/libcanberra/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/ChangeLog?rev=1.17&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/ChangeLog?rev=1.17&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/ChangeLog?r1=1.16&r2=1.17 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v |
20 |
retrieving revision 1.16 |
21 |
retrieving revision 1.17 |
22 |
diff -u -r1.16 -r1.17 |
23 |
--- ChangeLog 18 Mar 2009 14:59:34 -0000 1.16 |
24 |
+++ ChangeLog 28 Mar 2009 18:25:12 -0000 1.17 |
25 |
@@ -1,6 +1,16 @@ |
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.16 2009/03/18 14:59:34 armin76 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.17 2009/03/28 18:25:12 ulm Exp $ |
30 |
+ |
31 |
+*libcanberra-0.11-r5 (28 Mar 2009) |
32 |
+ |
33 |
+ 28 Mar 2009; Ulrich Mueller <ulm@g.o> |
34 |
+ +files/libcanberra-0.11-dont-crash-without-display.patch, |
35 |
+ -libcanberra-0.9.ebuild, -libcanberra-0.10.ebuild, |
36 |
+ +libcanberra-0.11-r5.ebuild: |
37 |
+ Add patch from upstream: don't crash if there is no default display on |
38 |
+ initialization. Fixes bug 259891. Revbump to -r5 as requested by leio. |
39 |
+ Remove old. |
40 |
|
41 |
18 Mar 2009; Raúl Porcel <armin76@g.o> libcanberra-0.11.ebuild: |
42 |
alpha/ia64 stable wrt #260063 |
43 |
|
44 |
|
45 |
|
46 |
1.1 media-libs/libcanberra/libcanberra-0.11-r5.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/libcanberra-0.11-r5.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/libcanberra-0.11-r5.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: libcanberra-0.11-r5.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2009 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/libcanberra-0.11-r5.ebuild,v 1.1 2009/03/28 18:25:12 ulm Exp $ |
56 |
|
57 |
EAPI="1" |
58 |
|
59 |
inherit eutils gnome2-utils |
60 |
|
61 |
DESCRIPTION="Portable Sound Event Library" |
62 |
HOMEPAGE="http://0pointer.de/lennart/projects/libcanberra/" |
63 |
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" |
64 |
|
65 |
LICENSE="LGPL-2.1" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
68 |
IUSE="alsa doc gstreamer +gtk oss pulseaudio" |
69 |
|
70 |
RDEPEND="media-libs/libvorbis |
71 |
sys-devel/libtool |
72 |
alsa? ( media-libs/alsa-lib ) |
73 |
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 ) |
74 |
gstreamer? ( >=media-libs/gstreamer-0.10.15 ) |
75 |
gtk? ( dev-libs/glib:2 |
76 |
>=x11-libs/gtk+-2.13.4:2 |
77 |
>=gnome-base/gconf-2 )" |
78 |
DEPEND="${RDEPEND} |
79 |
>=dev-util/pkgconfig-0.17 |
80 |
doc? ( >=dev-util/gtk-doc-1.9 )" |
81 |
|
82 |
src_unpack() { |
83 |
unpack ${A} |
84 |
cd "${S}" |
85 |
epatch "${FILESDIR}/${P}-dont-crash-without-display.patch" #259891 |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
econf --disable-static \ |
90 |
$(use_enable alsa) \ |
91 |
$(use_enable gstreamer) \ |
92 |
$(use_enable gtk) \ |
93 |
$(use_enable oss) \ |
94 |
$(use_enable pulseaudio pulse) \ |
95 |
$(use_enable doc gtk-doc) \ |
96 |
--disable-tdb \ |
97 |
--disable-lynx |
98 |
# tdb support would need a split-out from samba before we can use it |
99 |
|
100 |
emake || die "emake failed." |
101 |
} |
102 |
|
103 |
src_install() { |
104 |
# we must delay gconf schema installation due to sandbox |
105 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" |
106 |
|
107 |
emake DESTDIR="${D}" install || die "emake install failed." |
108 |
|
109 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
110 |
|
111 |
rm "${D}/usr/share/doc/${PN}/README" |
112 |
# If the rmdir errors, you probably need to add a file to dodoc |
113 |
# and remove the package installed above |
114 |
rmdir "${D}/usr/share/doc/${PN}" |
115 |
dodoc README |
116 |
} |
117 |
|
118 |
pkg_preinst() { |
119 |
gnome2_gconf_savelist |
120 |
} |
121 |
|
122 |
pkg_postinst() { |
123 |
gnome2_gconf_install |
124 |
} |
125 |
|
126 |
#pkg_prerm() { |
127 |
# gnome2_gconf_uninstall |
128 |
#} |