/[gentoo-x86]/media-sound/xmp/xmp-2.0.5_pre3-r1.ebuild
Gentoo

Contents of /media-sound/xmp/xmp-2.0.5_pre3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Jan 21 20:41:42 2007 UTC (12 years, 10 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Remove xmp, was scheduled for removal one week ago.

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/xmp/xmp-2.0.5_pre3-r1.ebuild,v 1.8 2006/11/13 15:23:07 flameeyes Exp $
4
5 IUSE="arts esd nas X oss"
6
7 inherit eutils
8
9 S="${WORKDIR}/${PN}-2.0.5-pre3"
10
11 DESCRIPTION="Extended Module Player"
12 HOMEPAGE="http://xmp.sf.net"
13 SRC_URI="mirror://sourceforge/xmp/${PN}-2.0.5pre3.tar.bz2"
14
15 SLOT="0"
16 LICENSE="GPL-2"
17 #-amd64: 2.0.5_pre3-r1 - compilation nightmare
18 #-sparc: Segfaults
19 KEYWORDS="-amd64 x86 -sparc"
20
21 DEPEND="X? ( virtual/x11 )
22 esd? ( media-sound/esound )
23 nas? ( media-libs/nas )
24 arts? ( kde-base/arts )"
25
26 # Nobody uses alsa5, but if they do, they can hand edit this...
27 # alsa? ( =media-libs/alsa-lib-0.5* )
28
29
30 src_unpack() {
31 unpack ${A}
32 epatch ${FILESDIR}/${P}-gcc3.3.diff
33 }
34
35 src_compile() {
36 local myconf="--disable-alsa"
37
38 # use alsa \
39 # && myconf="${myconf} --enable-alsa" \
40 # || myconf="${myconf} --disable-alsa"
41
42 use arts \
43 && myconf="${myconf} --enable-arts" \
44 || myconf="${myconf} --disable-arts"
45
46 use esd \
47 && myconf="${myconf} --enable-esd" \
48 || myconf="${myconf} --disable-esd"
49
50 use nas \
51 && myconf="${myconf} --enable-nas" \
52 || myconf="${myconf} --disable-nas"
53
54 use oss \
55 && myconf="${myconf} --enable-oss" \
56 || myconf="${myconf} --disable-oss"
57
58 myconf="${myconf} --disable-xmms"
59
60 use X \
61 && myconf="${myconf} --with-x" \
62 || myconf="${myconf} --with-x"
63
64 econf ${myconf} || die
65
66 make || die
67 }
68
69 src_install () {
70 make DEST_DIR=${D} MAN_DIR=${D}/usr/share/man/man1 install || die
71 dodoc README
72 }

  ViewVC Help
Powered by ViewVC 1.1.20