blob: a1327c09b4f76ef186a23c309ff168f15563a284 (
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
65
66
67
68
|
# Copyright 1999-2005 Gentoo Foundation
# 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.16 2005/05/09 13:15:14 agriffis Exp $
inherit eutils
IUSE="nas nls esd opengl doc oss gtk vorbis alsa jack mikmod flac"
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="~alpha amd64 ia64 ~mips ppc ~sparc x86"
RDEPEND=">=dev-libs/glib-1.2.10
media-libs/libsndfile
doc? ( app-doc/doxygen )
esd? ( media-sound/esound )
gtk? ( =x11-libs/gtk+-1* )
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 )
vorbis? ( media-libs/libvorbis )"
DEPEND="${RDEPEND}
sys-apps/sed
nls? ( sys-devel/gettext )"
src_unpack() {
unpack ${A}
cd ${S}
if use ppc; then
epatch ${FILESDIR}/alsaplayer-endian.patch
fi
}
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 vorbis 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 ChangeLog README TODO
dodoc docs/wishlist.txt
}
|