blob: 980a0f0e4c8f74c6bcb12c53590cb1d42c0ad38c (
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
|
# 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.3 2002/05/23 06:50:14 seemant 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.4-r1 nls? ( sys-devel/gettext )
>=dev-lang/nasm-0.98
>=dev-libs/popt-1.5
=x11-libs/gtk+-1.2*
gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )"
RDEPEND=">=media-libs/smpeg-0.4.4-r1
=x11-libs/gtk+-1.2*
>=dev-libs/popt-1.5
gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )"
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
}
src_install () {
try make prefix=${D}/usr install
dodoc AUTHORS ChangeLog COPYING NEWS README TODO
}
|