blob: 40b56106d8662fd4da9ac772b7198da58549f446 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wsoundserver/wsoundserver-0.4.1.ebuild,v 1.7 2010/09/03 10:25:47 s4t4n Exp $
inherit autotools eutils
MY_P="${P/wsoundserver/WSoundServer}-new"
S="${WORKDIR}/${MY_P}"
IUSE="esd"
DESCRIPTION="WindowMaker sound server"
SRC_URI="http://vlaadworld.net/public/${MY_P}.tar.gz"
HOMEPAGE="http://vlaadworld.net/"
DEPEND=">=x11-wm/windowmaker-0.91.0-r1
>=x11-libs/libdockapp-0.6.0
>=x11-libs/libPropList-0.10.1-r3
>=media-libs/audiofile-0.2.6-r1
>=media-sound/esound-0.2.34"
RDEPEND=">=x11-wm/windowmaker-0.91.0-r1
>=x11-libs/libdockapp-0.6.0
>=x11-libs/libPropList-0.10.1-r3
>=media-libs/audiofile-0.2.6-r1
esd? ( >=media-sound/esound-0.2.34 )
>=media-sound/wmsound-data-1.0.0"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~ppc x86"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-as-needed.patch"
eautoreconf
}
src_compile() {
local myconf="--prefix=/usr --with-x --sysconfdir=/etc/X11"
myconf="${myconf} `use_enable esd`"
cd "${S}"
emake clean >/dev/null 2>&1
econf || die "configure failed"
emake || die "make failed"
}
src_install() {
einstall sysconfdir=/etc/X11 || die "make install failed"
dodoc AUTHORS ChangeLog README
insinto /usr/share/WindowMaker/Pixmaps
doins "${FILESDIR}/WSoundServer.xpm"
}
pkg_postinst() {
einfo "This is Largo's WSoundServer."
einfo "It supports not only 8 and 16 bit .wav files"
einfo "as the original does"
}
|