summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2001-12-08 19:50:38 +0000
committerDan Armak <danarmak@gentoo.org>2001-12-08 19:50:38 +0000
commitf333e7ec39dac244aa729c4fe26d634da32a4a08 (patch)
tree3f61e2816e1ce15856eac25025a2663a16ada78c /media-sound/xmms-arts
parent/etc/shells moved to rc-scripts (diff)
downloadgentoo-2-f333e7ec39dac244aa729c4fe26d634da32a4a08.tar.gz
gentoo-2-f333e7ec39dac244aa729c4fe26d634da32a4a08.tar.bz2
gentoo-2-f333e7ec39dac244aa729c4fe26d634da32a4a08.zip
New revision, fixes SRC_URI and enables compile to find kdelibs w/ multi-kdelibs; it is now inheritng.
Diffstat (limited to 'media-sound/xmms-arts')
-rw-r--r--media-sound/xmms-arts/files/digest-xmms-arts-0.4-r2 (renamed from media-sound/xmms-arts/files/digest-xmms-arts-0.4-r1)0
-rw-r--r--media-sound/xmms-arts/xmms-arts-0.4-r1.ebuild37
-rw-r--r--media-sound/xmms-arts/xmms-arts-0.4-r2.ebuild45
3 files changed, 45 insertions, 37 deletions
diff --git a/media-sound/xmms-arts/files/digest-xmms-arts-0.4-r1 b/media-sound/xmms-arts/files/digest-xmms-arts-0.4-r2
index 9277af838a7d..9277af838a7d 100644
--- a/media-sound/xmms-arts/files/digest-xmms-arts-0.4-r1
+++ b/media-sound/xmms-arts/files/digest-xmms-arts-0.4-r2
diff --git a/media-sound/xmms-arts/xmms-arts-0.4-r1.ebuild b/media-sound/xmms-arts/xmms-arts-0.4-r1.ebuild
deleted file mode 100644
index a53e548c6a64..000000000000
--- a/media-sound/xmms-arts/xmms-arts-0.4-r1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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-r1.ebuild,v 1.1 2001/10/06 17:22:51 azarah Exp $
-
-S=${WORKDIR}/${P}
-DESCRIPTION="This output plugin allows xmms to work with arts, KDE's sound system"
-SRC_URI="http://home.earthlink.net/~bheath/xmms-arts/xmmsarts-0.4.tar.gz"
-HOMEPAGE="http://home.earthlink.net/~bheath/xmms-arts/"
-
-DEPEND="virtual/glibc
- >=media-sound/xmms-1.2.5-r1
- >=kde-base/kdelibs-2.1.1
- sys-devel/autoconf"
-
-RDEPEND="virtual/glibc
- >=media-sound/xmms-1.2.5-r1
- >=kde-base/kdelibs-2.1.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() {
- try CFLAGS="$CFLAGS -I/usr/X11R6/include -I/usr/include" ./configure --prefix=/usr --host=${CHOST}
- try make
-}
-
-src_install() {
- try make DESTDIR=${D} install
- dodoc AUTHORS COPYING NEWS README
-}
-
diff --git a/media-sound/xmms-arts/xmms-arts-0.4-r2.ebuild b/media-sound/xmms-arts/xmms-arts-0.4-r2.ebuild
new file mode 100644
index 000000000000..d2db3e55cb93
--- /dev/null
+++ b/media-sound/xmms-arts/xmms-arts-0.4-r2.ebuild
@@ -0,0 +1,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.1 2001/12/08 19:50:38 danarmak 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" ./configure --prefix=/usr --host=${CHOST} || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS COPYING NEWS README
+}
+