summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-04-29 22:50:16 +0000
committerAchim Gottinger <achim@gentoo.org>2001-04-29 22:50:16 +0000
commitb4945eb347e8d7a954d54948e513d09819a3806b (patch)
tree23973b8ca181c8938efbe7d713e178db4e863f05 /media-video/xmps
parentMissing digests (diff)
downloadgentoo-2-b4945eb347e8d7a954d54948e513d09819a3806b.tar.gz
gentoo-2-b4945eb347e8d7a954d54948e513d09819a3806b.tar.bz2
gentoo-2-b4945eb347e8d7a954d54948e513d09819a3806b.zip
*** empty log message ***
Diffstat (limited to 'media-video/xmps')
-rw-r--r--media-video/xmps/xmps-0.2.0.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/media-video/xmps/xmps-0.2.0.ebuild b/media-video/xmps/xmps-0.2.0.ebuild
new file mode 100644
index 000000000000..07ae72de6dcf
--- /dev/null
+++ b/media-video/xmps/xmps-0.2.0.ebuild
@@ -0,0 +1,51 @@
+# 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.ebuild,v 1.1 2001/04/29 22:50:16 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="X Movie Player System"
+SRC_URI="http://xmps.sourceforge.net/sources/${A}"
+HOMEPAGE="http://xmps.sourceforge.net"
+
+DEPEND=">=media-libs/smpeg-0.4.1
+ >=dev-lang/nasm-0.98
+ gnome? ( >=gnome-base/gnome-libs-1.2.4 )"
+
+RDEPEND=">=media-libs/smpeg-0.4.1
+ gnome? ( >=gnome-base/gnome-libs-1.2.4 )"
+
+src_compile() {
+
+ local myopts
+ if [ -n "`use gnome`" ]
+ then
+ myopts="--enable-gnome --prefix=/opt/gnome"
+ else
+ myopts="--disable-gnome --prefix=/usr/X11R6"
+ fi
+ try ./configure ${myopts} --host=${CHOST} \
+ --with-catgets
+ cp Makefile Makefile.orig
+ sed -e "s:\$(bindir)/xmps-config:\$(DESTDIR)\$(bindir)/xmps-config:" \
+ Makefile.orig > Makefile
+ try make
+
+}
+
+src_install () {
+
+ cd ${S}
+ if [ -n "`use gnome`" ]
+ then
+ try make prefix=${D}/opt/gnome install
+ else
+ try make prefix=${D}/usr/X11R6 install
+ fi
+ dodoc AUTHORS ChangeLog COPYING NEWS README TODO
+
+}
+
+
+