diff options
Diffstat (limited to 'media-video/xmps/xmps-0.2.0-r1.ebuild')
-rw-r--r-- | media-video/xmps/xmps-0.2.0-r1.ebuild | 62 |
1 files changed, 30 insertions, 32 deletions
diff --git a/media-video/xmps/xmps-0.2.0-r1.ebuild b/media-video/xmps/xmps-0.2.0-r1.ebuild index 4f2e1f77ccb7..fd117739b66a 100644 --- a/media-video/xmps/xmps-0.2.0-r1.ebuild +++ b/media-video/xmps/xmps-0.2.0-r1.ebuild @@ -1,49 +1,47 @@ -# 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/xmps/xmps-0.2.0-r1.ebuild,v 1.1 2001/10/06 10:08:19 azarah Exp $ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/xmps/xmps-0.2.0-r1.ebuild,v 1.1.1.1 2005/11/30 09:57:50 chriswhite Exp $ + +IUSE="nls gnome" -A=${P}.tar.gz -S=${WORKDIR}/${P} DESCRIPTION="X Movie Player System" -SRC_URI="http://xmps.sourceforge.net/sources/${A}" +SRC_URI="http://xmps.sourceforge.net/sources/${P}.tar.gz" HOMEPAGE="http://xmps.sourceforge.net" -DEPEND=">=media-libs/smpeg-0.4.1 nls? ( sys-devel/gettext ) - >=dev-lang/nasm-0.98 - >=dev-libs/popt-1.5 - >=x11-libs/gtk+-1.2.10-r4 - gnome? ( >=gnome-base/gnome-libs-1.4.0.4-r1 )" +DEPEND="=x11-libs/gtk+-1.2* + x86? ( >=dev-lang/nasm-0.98 ) + >=dev-libs/popt-1.5 + gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )" + +RDEPEND=">=media-libs/smpeg-0.4.4-r1 + nls? ( sys-devel/gettext )" -RDEPEND=">=media-libs/smpeg-0.4.1 - >=x11-libs/gtk+-1.2.10-r4 - >=dev-libs/popt-1.5 - gnome? ( >=gnome-base/gnome-libs-1.4.0.4-r1 )" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86" src_compile() { - local myopts - if [ -n "`use gnome`" ] ; then - myopts="--enable-gnome" - fi - if [ -z "`use nls`" ] ; then - myopts="$myopts --disable-nls" - fi - try ./configure ${myopts} --host=${CHOST} --prefix=/usr - cp Makefile Makefile.orig - sed -e "s:\$(bindir)/xmps-config:\$(DESTDIR)\$(bindir)/xmps-config:" \ - Makefile.orig > Makefile - try make + local myconf -} + use gnome && myconf="--enable-gnome" -src_install () { + use nls || myconf="${myconf} --disable-nls" - try make prefix=${D}/usr install + econf ${myconf} || die - dodoc AUTHORS ChangeLog COPYING NEWS README TODO + cp Makefile Makefile.orig + sed -e "s:\$(bindir)/xmps-config:\$(DESTDIR)\$(bindir)/xmps-config:" \ + Makefile.orig > Makefile + + make || die } +src_install () { + + einstall || die + dodoc AUTHORS ChangeLog NEWS README TODO +} |