diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-03-22 07:14:08 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-03-22 07:14:08 +0000 |
commit | 5470e5faeff0b6a896939824ca611cf072da3004 (patch) | |
tree | e07d6ea31b251df7c94a8852a912fec8fb55d594 /media-sound | |
parent | added "make mrproper" to postinst to fix flaky patches (diff) | |
download | historical-5470e5faeff0b6a896939824ca611cf072da3004.tar.gz historical-5470e5faeff0b6a896939824ca611cf072da3004.tar.bz2 historical-5470e5faeff0b6a896939824ca611cf072da3004.zip |
Added USE dependent avi support compilation
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/xmms/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/xmms/files/digest-xmms-1.2.7-r2 | 2 | ||||
-rw-r--r-- | media-sound/xmms/xmms-1.2.7-r2.ebuild | 115 |
3 files changed, 124 insertions, 1 deletions
diff --git a/media-sound/xmms/ChangeLog b/media-sound/xmms/ChangeLog index 6cca1c6db0a1..79fffbc2bb96 100644 --- a/media-sound/xmms/ChangeLog +++ b/media-sound/xmms/ChangeLog @@ -1,6 +1,12 @@ # 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.4 2002/03/19 09:48:25 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms/ChangeLog,v 1.5 2002/03/22 07:14:08 seemant Exp $ + +*xmms-1.2.7-r2 (21 Mar 2002) + + 21 Mar 2002; Seemant Kulleen <seemant@gentoo.org> xmms-1.2.7-r2.ebuild : + Now, avi is in the USE flags, which means the bloaty avi hack is an option + that I think only few will take to anyway. *xmms-1.2.7-r1 (19 Mar 2002) diff --git a/media-sound/xmms/files/digest-xmms-1.2.7-r2 b/media-sound/xmms/files/digest-xmms-1.2.7-r2 new file mode 100644 index 000000000000..bd6731115e58 --- /dev/null +++ b/media-sound/xmms/files/digest-xmms-1.2.7-r2 @@ -0,0 +1,2 @@ +MD5 8aa14a305d1eeb1bb53dba2197ba695a xmms-1.2.7.tar.gz 2860908 +MD5 a1adac3e8c4430e735d763c1ef242e9d plover-xmms127.tar.gz 32804 diff --git a/media-sound/xmms/xmms-1.2.7-r2.ebuild b/media-sound/xmms/xmms-1.2.7-r2.ebuild new file mode 100644 index 000000000000..2e25f951e73c --- /dev/null +++ b/media-sound/xmms/xmms-1.2.7-r2.ebuild @@ -0,0 +1,115 @@ +# 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-r2.ebuild,v 1.1 2002/03/22 07:14:08 seemant Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="X MultiMedia System" +SRC_URI="ftp://ftp.xmms.org/xmms/1.2.x/${P}.tar.gz http://www.openface.ca/~nephtes/plover-xmms127.tar.gz" +HOMEPAGE="http://www.xmms.org/" + +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 ) + avi? ( >=media-video/avifile-0.6 ) + >=x11-libs/gtk+-1.2.10-r4" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool )" + +src_unpack() { + unpack ${P}.tar.gz + + cd ${S} + cp configure configure.orig + sed -e "s:-m486::" configure.orig > configure + + if [ "`use avi`" ] + then + unpack plover-xmms127.tar.gz + patch -p1 < plover-xmms127.diff + touch stamp-h1.in xmms/stamp-h2.in + fi +} + +src_compile() { + local myopts + + if [ -n "`use gnome`" ] + then + myopts="${myopts} --with-gnome" + else + myopts="${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 +} |