Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/esound: esound-0.2.41.ebuild esound-0.2.38-r1.ebuild esound-0.2.39.ebuild esound-0.2.40.ebuild
Date: Mon, 01 Jun 2009 16:32:17
Message-Id: E1MBAQp-0005Ds-3T@stork.gentoo.org
1 ssuominen 09/06/01 16:32:15
2
3 Modified: esound-0.2.41.ebuild
4 Removed: esound-0.2.38-r1.ebuild esound-0.2.39.ebuild
5 esound-0.2.40.ebuild
6 Log:
7 Fix repoman warnings, clean old
8 (Portage version: 2.1.6.13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.9 media-sound/esound/esound-0.2.41.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/esound/esound-0.2.41.ebuild?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/esound/esound-0.2.41.ebuild?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/esound/esound-0.2.41.ebuild?r1=1.8&r2=1.9
16
17 Index: esound-0.2.41.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.41.ebuild,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- esound-0.2.41.ebuild 5 Mar 2009 22:30:18 -0000 1.8
24 +++ esound-0.2.41.ebuild 1 Jun 2009 16:32:15 -0000 1.9
25 @@ -1,7 +1,8 @@
26 # Copyright 1999-2009 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.41.ebuild,v 1.8 2009/03/05 22:30:18 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.41.ebuild,v 1.9 2009/06/01 16:32:15 ssuominen Exp $
30
31 +EAPI=2
32 inherit libtool gnome.org eutils flag-o-matic
33
34 DESCRIPTION="The Enlightened Sound Daemon"
35 @@ -12,13 +13,10 @@
36 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
37 IUSE="alsa debug doc ipv6 tcpd"
38
39 -# esound comes with arts support, but it hasn't been tested yet, feel free to
40 -# submit patches/improvements
41 COMMON_DEPEND=">=media-libs/audiofile-0.2.3
42 - alsa? ( >=media-libs/alsa-lib-0.5.10b )
43 + alsa? ( media-libs/alsa-lib )
44 doc? ( app-text/docbook-sgml-utils )
45 tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
46 -# arts? ( kde-base/arts )
47
48 DEPEND="${COMMON_DEPEND}
49 dev-util/pkgconfig"
50 @@ -26,34 +24,27 @@
51 RDEPEND="${COMMON_DEPEND}
52 app-admin/eselect-esd"
53
54 -src_unpack() {
55 - unpack ${A}
56 - cd "${S}"
57 -
58 - epatch "${FILESDIR}/${PN}-0.2.39-fix-errno.patch"
59 -
60 - # Fix compilation with USE="debug"
61 - epatch "${FILESDIR}/${P}-debug.patch"
62 +src_prepare() {
63 + epatch "${FILESDIR}/${PN}-0.2.39-fix-errno.patch" \
64 + "${FILESDIR}/${P}-debug.patch"
65 }
66
67 -src_compile() {
68 - # Strict aliasing problem
69 +src_configure() {
70 + # Strict aliasing issues
71 append-flags -fno-strict-aliasing
72
73 econf \
74 --sysconfdir=/etc/esd \
75 --htmldir=/usr/share/doc/${PF}/html \
76 + --disable-dependency-tracking \
77 $(use_enable ipv6) \
78 $(use_enable debug debugging) \
79 $(use_enable alsa) \
80 - $(use_with tcpd libwrap) \
81 - --disable-dependency-tracking
82 -
83 - emake || die "Make failed"
84 + $(use_with tcpd libwrap)
85 }
86
87 src_install() {
88 - emake -j1 DESTDIR="${D}" install || die "Installation failed"
89 + emake -j1 DESTDIR="${D}" install || die "emake install failed"
90 mv "${D}/usr/bin/"{esd,esound-esd}
91
92 dodoc AUTHORS ChangeLog MAINTAINERS NEWS README TIPS TODO