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