blob: 310be873ce2fcfa969ad427cd17f175c74531629 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/alsaplayer-0.99.76.ebuild,v 1.3 2004/01/22 10:48:51 torbenh Exp $
IUSE="nas nls esd opengl doc oss gtk oggvorbis alsa jack mikmod flac"
S=${WORKDIR}/${P}
DESCRIPTION="Media player primarily utilising ALSA"
HOMEPAGE="http://www.alsaplayer.org/"
SRC_URI="http://www.alsaplayer.org/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm ~amd64 ~ia64"
DEPEND=">=dev-libs/glib-1.2.10
doc? ( app-doc/doxygen )
esd? ( media-sound/esound )
gtk? ( x11-libs/gtk+ )
nas? ( media-libs/nas )
alsa? ( media-libs/alsa-lib )
jack? ( >=media-sound/jack-audio-connection-kit-0.80.0 )
flac? ( media-libs/flac )
mikmod? ( >=media-libs/libmikmod-3.1.10 )
opengl? ( virtual/opengl )
oggvorbis? ( media-libs/libvorbis )"
RDEPEND="nls? ( sys-devel/gettext )"
src_compile() {
export CPPFLAGS="${CPPFLAGS} -I/usr/X11R6/include"
econf \
`use_enable oss` \
`use_enable nas` \
`use_enable opengl` \
`use_enable nls` \
`use_enable sparc` \
`use_enable oggvorbis` \
`use_enable esd` \
`use_enable gtk` \
`use_enable jack` \
`use_enable mikmod` \
`use_enable flac` \
--disable-sgi || die
emake || die
}
src_install() {
make DESTDIR=${D} docdir=${D}/usr/share/doc/${PF} install
dodoc AUTHORS COPYING ChangeLog README TODO
dodoc docs/wishlist.txt
}
|