blob: 07ae72de6dcff53fd2c1498ed28371767a1e75fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
}
|