blob: 6783c1f6535a675ea36bed2334ae0f51ce1e7622 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/orpheus/orpheus-1.5.ebuild,v 1.7 2004/09/15 19:44:13 eradicator Exp $
inherit eutils
DESCRIPTION="Command line MP3 player."
HOMEPAGE="http://konst.org.ua/en/orpheus"
SRC_URI="http://konst.org.ua/download/${P}.tar.gz"
SLOT="0"
KEYWORDS="x86 sparc ~amd64"
LICENSE="GPL-2"
IUSE="oggvorbis"
DEPEND=">=sys-libs/ncurses-5.2
oggvorbis? ( >=media-libs/libvorbis-1.0_beta1 )
virtual/mpg123
media-sound/vorbis-tools
gnome-base/libghttp"
# nas? ( >=media-libs/nas-1.4.1 )
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PV}-gcc34.patch
#if use nas; then
# cd src
# sed -e "s:^INCLUDES =:INCLUDES = -I/usr/X11R6/include:" \
# -e "s:^splay_LDADD =:splay_LDADD = \$(NAS_LIBS):" \
# Makefile | cat > Makefile
#fi
}
src_compile() {
local myconf
### Looks like NAS support is broken, at least with NAS 1.5 and
### mp3player 3.1.1 (Aug 13, agenkin@thpoon.com)
#use nas && myconf="${myconf} --with-nas"
#use nas || myconf="${myconf} --disable-nas"
myconf="${myconf}"
econf ${myconf} || die
make CC="gcc ${CFLAGS}" CXX="c++ ${CXXFLAGS}" || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
}
|