Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@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-r2.ebuild ChangeLog emul-linux-x86-soundlibs-20120520-r1.ebuild
Date: Sun, 03 Jun 2012 09:19:55
Message-Id: 20120603091940.472262004B@flycatcher.gentoo.org
1 hwoarang 12/06/03 09:19:40
2
3 Modified: ChangeLog
4 Added: emul-linux-x86-soundlibs-20120520-r2.ebuild
5 Removed: emul-linux-x86-soundlibs-20120520-r1.ebuild
6 Log:
7 Yet another revbump to fix the pulseaudio dependency. Bug #416751. Thanks to Samuli Suominen <ssuominen@g.o> for the patch
8
9 (Portage version: 2.1.10.64/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.78 app-emulation/emul-linux-x86-soundlibs/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog?rev=1.78&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog?rev=1.78&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog?r1=1.77&r2=1.78
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog,v
21 retrieving revision 1.77
22 retrieving revision 1.78
23 diff -u -r1.77 -r1.78
24 --- ChangeLog 27 May 2012 17:58:29 -0000 1.77
25 +++ ChangeLog 3 Jun 2012 09:19:40 -0000 1.78
26 @@ -1,6 +1,14 @@
27 # ChangeLog for app-emulation/emul-linux-x86-soundlibs
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
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 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog,v 1.78 2012/06/03 09:19:40 hwoarang Exp $
31 +
32 +*emul-linux-x86-soundlibs-20120520-r2 (03 Jun 2012)
33 +
34 + 03 Jun 2012; Markos Chandras <hwoarang@g.o>
35 + +emul-linux-x86-soundlibs-20120520-r2.ebuild,
36 + -emul-linux-x86-soundlibs-20120520-r1.ebuild:
37 + Yet another revbump to fix the pulseaudio dependency. Bug #416751. Thanks to
38 + Samuli Suominen <ssuominen@g.o> for the patch
39
40 *emul-linux-x86-soundlibs-20120520-r1 (27 May 2012)
41
42
43
44
45 1.1 app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20120520-r2.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20120520-r2.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20120520-r2.ebuild?rev=1.1&content-type=text/plain
49
50 Index: emul-linux-x86-soundlibs-20120520-r2.ebuild
51 ===================================================================
52 # Copyright 1999-2012 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20120520-r2.ebuild,v 1.1 2012/06/03 09:19:40 hwoarang Exp $
55
56 EAPI="4"
57
58 inherit emul-linux-x86 toolchain-funcs
59
60 LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1 LGPL-2 as-is gsm public-domain"
61 KEYWORDS="-* ~amd64"
62 IUSE="alsa pulseaudio"
63
64 RDEPEND="pulseaudio? ( media-sound/pulseaudio )
65 ~app-emulation/emul-linux-x86-baselibs-${PV}
66 ~app-emulation/emul-linux-x86-medialibs-${PV}"
67
68 QA_DT_HASH="usr/lib32/.*"
69
70 src_prepare() {
71 _ALLOWED="${S}/etc/env.d"
72 use alsa && _ALLOWED="${_ALLOWED}|${S}/usr/bin/aoss"
73 ALLOWED="(${_ALLOWED})"
74
75 emul-linux-x86_src_prepare
76
77 if use alsa; then
78 mv -f "${S}"/usr/bin/aoss{,32} || die
79 fi
80
81 # libs without the rest of pulseaudio cause problems, bug 302003
82 if ! use pulseaudio; then
83 rm -f "${S}"/usr/lib32/libpulse{,-simple}.so*
84 echo 'int main() { }' > "${T}"/tmp.c
85 $(tc-getCC) -m32 -shared -Wl,-soname -Wl,libpulse.so.0 "${T}"/tmp.c -o "${S}"/usr/lib32/libpulse.so.0
86 $(tc-getCC) -m32 -shared -Wl,-soname -Wl,libpulse-simple.so.0 "${T}"/tmp.c -o "${S}"/usr/lib32/libpulse-simple.so.0
87 fi
88 }