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-sound/esound: ChangeLog esound-0.2.41.ebuild
Date: Sun, 23 Nov 2008 22:23:44
Message-Id: E1L4NMj-0002cw-PU@stork.gentoo.org
1 eva 08/11/23 22:23:41
2
3 Modified: ChangeLog
4 Added: esound-0.2.41.ebuild
5 Log:
6 Bump to 0.2.41.
7 (Portage version: 2.2_rc15/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
8
9 Revision Changes Path
10 1.120 media-sound/esound/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/esound/ChangeLog?rev=1.120&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/esound/ChangeLog?rev=1.120&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/esound/ChangeLog?r1=1.119&r2=1.120
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/esound/ChangeLog,v
19 retrieving revision 1.119
20 retrieving revision 1.120
21 diff -u -r1.119 -r1.120
22 --- ChangeLog 17 Nov 2008 21:49:05 -0000 1.119
23 +++ ChangeLog 23 Nov 2008 22:23:41 -0000 1.120
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-sound/esound
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/ChangeLog,v 1.119 2008/11/17 21:49:05 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/ChangeLog,v 1.120 2008/11/23 22:23:41 eva Exp $
29 +
30 +*esound-0.2.41 (23 Nov 2008)
31 +
32 + 23 Nov 2008; Gilles Dartiguelongue <eva@g.o> +esound-0.2.41.ebuild:
33 + Bump to 0.2.41.
34
35 17 Nov 2008; Diego E. Pettenò <flameeyes@g.o>
36 files/esound-0.2.32-amd64.patch:
37
38
39
40 1.1 media-sound/esound/esound-0.2.41.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/esound/esound-0.2.41.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/esound/esound-0.2.41.ebuild?rev=1.1&content-type=text/plain
44
45 Index: esound-0.2.41.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.41.ebuild,v 1.1 2008/11/23 22:23:41 eva Exp $
50
51 inherit libtool gnome.org eutils flag-o-matic
52
53 DESCRIPTION="The Enlightened Sound Daemon"
54 HOMEPAGE="http://www.tux.org/~ricdude/EsounD.html"
55
56 LICENSE="LGPL-2"
57 SLOT="0"
58 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
59 IUSE="alsa debug doc ipv6 tcpd"
60
61 # esound comes with arts support, but it hasn't been tested yet, feel free to
62 # submit patches/improvements
63 COMMON_DEPEND=">=media-libs/audiofile-0.2.3
64 alsa? ( >=media-libs/alsa-lib-0.5.10b )
65 doc? ( app-text/docbook-sgml-utils )
66 tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
67 # arts? ( kde-base/arts )
68
69 DEPEND="${COMMON_DEPEND}
70 dev-util/pkgconfig"
71
72 RDEPEND="${COMMON_DEPEND}
73 app-admin/eselect-esd"
74
75 src_unpack() {
76 unpack ${A}
77 cd "${S}"
78
79 epatch "${FILESDIR}/${PN}-0.2.39-fix-errno.patch"
80 }
81
82 src_compile() {
83 # Strict aliasing problem
84 append-flags -fno-strict-aliasing
85
86 econf \
87 --sysconfdir=/etc/esd \
88 --htmldir=/usr/share/doc/${PF}/html \
89 $(use_enable ipv6) \
90 $(use_enable debug debugging) \
91 $(use_enable alsa) \
92 $(use_with tcpd libwrap) \
93 --disable-dependency-tracking
94
95 emake || die "Make failed"
96 }
97
98 src_install() {
99 emake -j1 DESTDIR="${D}" install || die "Installation failed"
100 mv "${D}/usr/bin/"{esd,esound-esd}
101
102 dodoc AUTHORS ChangeLog MAINTAINERS NEWS README TIPS TODO
103
104 newconfd "${FILESDIR}/esound.conf.d" esound
105
106 extradepend=""
107 use tcpd && extradepend=" portmap"
108 use alsa && extradepend="$extradepend alsasound"
109 sed -e "s/@extradepend@/$extradepend/" "${FILESDIR}/esound.init.d.2" >"${T}/esound"
110 doinitd "${T}/esound"
111 }
112
113 pkg_postinst() {
114 eselect esd update --if-unset \
115 || die "eselect failed, try removing /usr/bin/esd and re-emerging."
116 }