From: | "Pacho Ramos (pacho)" <pacho@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/emul-linux-x86-soundlibs: emul-linux-x86-soundlibs-20120520-r1.ebuild ChangeLog |
Date: | Sun, 27 May 2012 17:58:39 |
Message-Id: | 20120527175829.DE7162004B@flycatcher.gentoo.org |
1 | pacho 12/05/27 17:58:29 |
2 | |
3 | Modified: ChangeLog |
4 | Added: emul-linux-x86-soundlibs-20120520-r1.ebuild |
5 | Log: |
6 | Use another way to disable pulseaudio stuff to prevent problems like bug #416751 (by Manuel Rüger (mrueg) and fix by Samuli Suominen). |
7 | |
8 | (Portage version: 2.1.10.63/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.77 app-emulation/emul-linux-x86-soundlibs/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog?rev=1.77&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog?rev=1.77&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog?r1=1.76&r2=1.77 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog,v |
20 | retrieving revision 1.76 |
21 | retrieving revision 1.77 |
22 | diff -u -r1.76 -r1.77 |
23 | --- ChangeLog 20 May 2012 13:14:10 -0000 1.76 |
24 | +++ ChangeLog 27 May 2012 17:58:29 -0000 1.77 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for app-emulation/emul-linux-x86-soundlibs |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog,v 1.76 2012/05/20 13:14:10 pacho Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog,v 1.77 2012/05/27 17:58:29 pacho Exp $ |
30 | + |
31 | +*emul-linux-x86-soundlibs-20120520-r1 (27 May 2012) |
32 | + |
33 | + 27 May 2012; Pacho Ramos <pacho@g.o> |
34 | + +emul-linux-x86-soundlibs-20120520-r1.ebuild: |
35 | + Use another way to disable pulseaudio stuff to prevent problems like bug |
36 | + #416751 (by Manuel Rüger (mrueg) and fix by Samuli Suominen). |
37 | |
38 | *emul-linux-x86-soundlibs-20120520 (20 May 2012) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20120520-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20120520-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20120520-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: emul-linux-x86-soundlibs-20120520-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2012 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20120520-r1.ebuild,v 1.1 2012/05/27 17:58:29 pacho Exp $ |
53 | |
54 | EAPI="4" |
55 | |
56 | inherit emul-linux-x86 |
57 | |
58 | LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1 LGPL-2 as-is gsm public-domain" |
59 | KEYWORDS="-* ~amd64" |
60 | IUSE="alsa pulseaudio" |
61 | |
62 | RDEPEND="pulseaudio? ( media-sound/pulseaudio ) |
63 | ~app-emulation/emul-linux-x86-baselibs-${PV} |
64 | ~app-emulation/emul-linux-x86-medialibs-${PV}" |
65 | |
66 | QA_DT_HASH="usr/lib32/.*" |
67 | |
68 | src_prepare() { |
69 | _ALLOWED="${S}/etc/env.d" |
70 | use alsa && _ALLOWED="${_ALLOWED}|${S}/usr/bin/aoss" |
71 | ALLOWED="(${_ALLOWED})" |
72 | |
73 | emul-linux-x86_src_prepare |
74 | |
75 | if use alsa; then |
76 | mv -f "${S}"/usr/bin/aoss{,32} || die |
77 | fi |
78 | |
79 | # libs without the rest of pulseaudio cause problems, bug 302003 |
80 | # See bug 416751 to understand this way to disable pulseaudio |
81 | if ! use pulseaudio; then |
82 | chmod a-r "${S}"/usr/lib32/libpulse{,-simple}.so.* || die |
83 | fi |
84 | } |