From 75878e673501f792e48e4b32135656b1f0f14754 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Thu, 8 Nov 2001 01:10:24 +0000 Subject: fix install outside --- media-sound/xmms/files/digest-xmms-1.2.5-r2 | 1 + media-sound/xmms/xmms-1.2.5-r2.ebuild | 77 +++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 media-sound/xmms/files/digest-xmms-1.2.5-r2 create mode 100644 media-sound/xmms/xmms-1.2.5-r2.ebuild diff --git a/media-sound/xmms/files/digest-xmms-1.2.5-r2 b/media-sound/xmms/files/digest-xmms-1.2.5-r2 new file mode 100644 index 000000000000..9e088495df6a --- /dev/null +++ b/media-sound/xmms/files/digest-xmms-1.2.5-r2 @@ -0,0 +1 @@ +MD5 99bc40bffa66789ecc9d91ce7ae4ed09 xmms-1.2.5.tar.gz 2416640 diff --git a/media-sound/xmms/xmms-1.2.5-r2.ebuild b/media-sound/xmms/xmms-1.2.5-r2.ebuild new file mode 100644 index 000000000000..cc2b62a60200 --- /dev/null +++ b/media-sound/xmms/xmms-1.2.5-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger +# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms/xmms-1.2.5-r2.ebuild,v 1.1 2001/11/08 01:10:24 azarah Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="X MultiMedia System" +SRC_URI="ftp://ftp.xmms.org/xmms/1.2.x/${P}.tar.gz" +HOMEPAGE="http://www.xmms.org/" + +DEPEND="gnome? ( >=gnome-base/gnome-core-1.4.0.4-r1 ) + >=dev-libs/libxml-1.8.15 + >=media-libs/libmikmod-3.1.9 + esd? ( >=media-sound/esound-0.2.22 ) + vorbis? ( >=media-libs/libvorbis-1.0_beta4 ) + >=x11-libs/gtk+-1.2.10-r4 + virtual/opengl" + +RDEPEND="gnome? ( >=gnome-base/gnome-core-1.4.0.4-r1 ) + >=dev-libs/libxml-1.8.15 + >=media-libs/libmikmod-3.1.9 + esd? ( >=media-sound/esound-0.2.22 ) + vorbis? ( >=media-libs/libvorbis-1.0_beta4 ) + >=x11-libs/gtk+-1.2.10-r4 + virtual/opengl" + +src_unpack() { + unpack ${A} + + cd ${S} + cp configure configure.orig + sed -e "s:-m486::" configure.orig > configure +} +src_compile() { + local myopts + + if [ -n "`use gnome`" ] + then + myopts="--with-gnome" + else + myopts="--without-gnome" + fi + + if [ "`use 3dnow`" ] ; then + myopts="$myopts --enable-3dnow" + else + myopts="$myopts --disable-3dnow" + fi + + if [ "`use ogg`" ] ; then + myopts="$myopts --with-ogg" + else + myopts="$myopts --disable-ogg-test" + fi + + if [ "`use vorbis`" ] ; then + myopts="$myopts --with-vorbis" + else + myopts="$myopts --disable-vorbis-test" + fi + + ./configure --host=${CHOST} --prefix=/usr ${myopts} || die + + emake || die +} + +src_install() { + make prefix=${D}/usr \ + sysconfdir=${D}/etc \ + sysdir=${D}/usr/share/applets/Multimedia \ + GNOME_SYSCONFDIR=${D}/etc \ + install || die + + dodoc AUTHORS ChangeLog COPYING FAQ NEWS README TODO + insinto /usr/share/pixmaps/ + donewins gnomexmms/gnomexmms.xpm xmms.xpm +} -- cgit v1.2.3-65-gdbad