summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-11-05 12:59:09 +0000
committerAchim Gottinger <achim@gentoo.org>2000-11-05 12:59:09 +0000
commit44c9219fdcd554a4c7e487c7d7a3aac2021241c6 (patch)
treed61dfcdfb3625e1abd5d3a1f9b1b4667d9ccbb17 /media-video/smpeg-xmms
parentAdded dependencies (diff)
downloadgentoo-2-44c9219fdcd554a4c7e487c7d7a3aac2021241c6.tar.gz
gentoo-2-44c9219fdcd554a4c7e487c7d7a3aac2021241c6.tar.bz2
gentoo-2-44c9219fdcd554a4c7e487c7d7a3aac2021241c6.zip
Added dependencies and use gnome feature
Diffstat (limited to 'media-video/smpeg-xmms')
-rw-r--r--media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild b/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild
index a316708a6761..825a8bfd4468 100644
--- a/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild
+++ b/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild,v 1.2 2000/09/15 20:09:06 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild,v 1.3 2000/11/05 12:59:09 achim Exp $
P=smpeg-xmms-0.3.1
A=${P}.tar.gz
@@ -10,11 +10,20 @@ DESCRIPTION="A MPEG Plugin for XMMS"
SRC_URI="ftp://ftp.xmms.org/xmms/plugins/smpeg-xmms/${A}"
HOMEPAGE="http://www.xmms.org/plugins_input.html"
+DEPEND=">=media-sound/xmms-1.2.3"
+RDEPEND=">=media-sound/xmms-1.2.3"
src_compile() {
cd ${S}
- try ./configure --prefix=/usr/X11R6 --host=${CHOST}
+ local myopts
+ if [ -n "`use gnome`" ]
+ then
+ myopts="--prefix=/opt/gnome"
+ else
+ myopts="--prefix=/usr/X11R6"
+ fi
+ try ./configure ${myopts} --host=${CHOST}
try make
}