diff options
-rw-r--r-- | media-sound/xmms/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/xmms/files/digest-xmms-1.2.7 | 1 | ||||
-rw-r--r-- | media-sound/xmms/xmms-1.2.7.ebuild | 113 |
3 files changed, 120 insertions, 2 deletions
diff --git a/media-sound/xmms/ChangeLog b/media-sound/xmms/ChangeLog index 52c8823038e0..bc2572cf1f85 100644 --- a/media-sound/xmms/ChangeLog +++ b/media-sound/xmms/ChangeLog @@ -1,11 +1,15 @@ # ChangeLog for media-sound/xmms # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms/ChangeLog,v 1.2 2002/02/28 07:25:36 blocke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms/ChangeLog,v 1.3 2002/03/05 19:49:54 drobbins Exp $ + +*xmms-1.2.7 (05 Mar 2002) + + 05 Mar 2002; Daniel Robbins <drobbins@gentoo.org> : new much-requested + version bump. Just copied ebuild over. *xmms-1.2.6-r2 (28 Feb 2002) 22 Feb 2002; Bruce A. Locke <blocke@shivan.org> xmms-1.2.6-r2.ebuild : - spider.gentoo@darkmere.wanfear.com (Spider) contributed additional USE keyword checks diff --git a/media-sound/xmms/files/digest-xmms-1.2.7 b/media-sound/xmms/files/digest-xmms-1.2.7 new file mode 100644 index 000000000000..7da9ca31b93a --- /dev/null +++ b/media-sound/xmms/files/digest-xmms-1.2.7 @@ -0,0 +1 @@ +MD5 8aa14a305d1eeb1bb53dba2197ba695a xmms-1.2.7.tar.gz 2860908 diff --git a/media-sound/xmms/xmms-1.2.7.ebuild b/media-sound/xmms/xmms-1.2.7.ebuild new file mode 100644 index 000000000000..257fa0bc80d4 --- /dev/null +++ b/media-sound/xmms/xmms-1.2.7.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms/xmms-1.2.7.ebuild,v 1.1 2002/03/05 19:49:54 drobbins 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 ) + opengl? ( virtual/opengl ) + nls? ( dev-util/intltool ) + >=x11-libs/gtk+-1.2.10-r4" + +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 ) + opengl? ( virtual/opengl ) + >=x11-libs/gtk+-1.2.10-r4" + +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 esd`" ] ; then + myopts="$myopts --enable-esd" + else + myopts="$myopts --disable-esd" + fi + + if [ "`use opengl`" ] ; then + myopts="$myopts --enable-opengl" + else + myopts="$myopts --disable-opengl" + 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 + + if [ ! "`use nls`" ] ; then + myopts="$myopts --disable-nls" + 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 + doins xmms/xmms_logo.xpm + insinto /usr/share/pixmaps/mini + doins xmms/xmms_mini.xpm + + insinto /etc/X11/wmconfig + donewins xmms/xmms.wmconfig xmms + + if [ "`use gnome`" ] + then + insinto /usr/share/gnome/apps/Multimedia + doins xmms/xmms.desktop + dosed "s:xmms_mini.xpm:mini/xmms_mini.xpm:" \ + /usr/share/gnome/apps/Multimedia/xmms.desktop + fi +} |