diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-01-13 12:58:37 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-01-13 12:58:37 +0000 |
commit | 02d5067c1fe91e11e259a44131a5c5a87d21a1ae (patch) | |
tree | 966fc4975ff282b6ea845ca22c7585cf36d35d7e /media-sound | |
parent | all portage versions was masked creating an error when doing: emerge update (diff) | |
download | gentoo-2-02d5067c1fe91e11e259a44131a5c5a87d21a1ae.tar.gz gentoo-2-02d5067c1fe91e11e259a44131a5c5a87d21a1ae.tar.bz2 gentoo-2-02d5067c1fe91e11e259a44131a5c5a87d21a1ae.zip |
add gnome desktop entry
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/xmms/files/digest-xmms-1.2.6-r1 | 1 | ||||
-rw-r--r-- | media-sound/xmms/xmms-1.2.6-r1.ebuild | 95 |
2 files changed, 96 insertions, 0 deletions
diff --git a/media-sound/xmms/files/digest-xmms-1.2.6-r1 b/media-sound/xmms/files/digest-xmms-1.2.6-r1 new file mode 100644 index 000000000000..287466c47bd7 --- /dev/null +++ b/media-sound/xmms/files/digest-xmms-1.2.6-r1 @@ -0,0 +1 @@ +MD5 0a2d68ce07e4c30bc8b028a5d537930d xmms-1.2.6.tar.gz 2863104 diff --git a/media-sound/xmms/xmms-1.2.6-r1.ebuild b/media-sound/xmms/xmms-1.2.6-r1.ebuild new file mode 100644 index 000000000000..e09fad79b224 --- /dev/null +++ b/media-sound/xmms/xmms-1.2.6-r1.ebuild @@ -0,0 +1,95 @@ +# 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.6-r1.ebuild,v 1.1 2002/01/13 12:58:37 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 + 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 +} |