blob: 38914046df12f32c0610d07f3214dc987cbb6841 (
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
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms-arts/xmms-arts-0.4-r2.ebuild,v 1.2 2001/12/10 18:31:51 verwilst Exp $
. /usr/portage/eclass/inherit.eclass || die
inherit kde || die
# Note: we set many vars e.g. DEPEND insteaed of extending them because this isn't a proper KDE app,
# it only links against arts. So we need set-kdedir, but almost nothing else. So make sure it continues
# to override e.g. src_install.
DESCRIPTION="This output plugin allows xmms to work with arts, KDE's sound system"
SRC_URI="http://stukach.com/hosted/m.i.a/xmmsarts/xmmsarts-0.4.tar.gz"
# HOMEPAGE="http://home.earthlink.net/~bheath/xmms-arts/" #disappeared from the 'net?
DEPEND="virtual/glibc
sys-devel/gcc
>=media-sound/xmms-1.2.5-r1
sys-devel/autoconf"
RDEPEND="virtual/glibc
sys-devel/gcc
>=media-sound/xmms-1.2.5-r1"
need-kdelibs 2.1
src_unpack() {
unpack ${A}
cd ${S}
cp Makefile.am Makefile.orig
sed -e "s:artsc-config:${KDEDIR}/bin/artsc-config:" Makefile.orig > Makefile.am
autoconf
}
src_compile() {
kde_src_compile myconf # calls set-kdedir
CFLAGS="$CFLAGS -I/usr/X11R6/include -I/usr/include -I${KDEDIR}/include -I${KDEDIR}/include/artsc" ./configure --prefix=/usr --host=${CHOST} || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS COPYING NEWS README
}
|