summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/xmps/xmps-0.2.0-r3.ebuild')
-rw-r--r--media-video/xmps/xmps-0.2.0-r3.ebuild25
1 files changed, 11 insertions, 14 deletions
diff --git a/media-video/xmps/xmps-0.2.0-r3.ebuild b/media-video/xmps/xmps-0.2.0-r3.ebuild
index f5e0d003ae53..cb6e3905034b 100644
--- a/media-video/xmps/xmps-0.2.0-r3.ebuild
+++ b/media-video/xmps/xmps-0.2.0-r3.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# 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-r3.ebuild,v 1.1 2003/03/05 01:34:21 pfeifer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xmps/xmps-0.2.0-r3.ebuild,v 1.1.1.1 2005/11/30 09:57:50 chriswhite Exp $
IUSE="nls gnome"
-S=${WORKDIR}/${P}
DESCRIPTION="X Movie Player System"
SRC_URI="http://xmps.sourceforge.net/sources/${P}.tar.gz"
HOMEPAGE="http://xmps.sourceforge.net"
DEPEND="=x11-libs/gtk+-1.2*
+ >=sys-apps/sed-4
x86? ( >=dev-lang/nasm-0.98 )
>=dev-libs/popt-1.5
gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )"
@@ -19,7 +19,7 @@ RDEPEND=">=media-libs/smpeg-0.4.4-r1
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86"
+KEYWORDS="x86"
src_unpack() {
@@ -41,18 +41,15 @@ src_compile() {
econf ${myconf} || die "econf failed"
for file in `find . -iname "Makefile"`;do
- mv ${file} ${file}.orig
- sed -e "s:-Werror::g;s:-ldb1:-ldb:g" \
- ${file}.orig > ${file} || die "sed-fu failed"
+ sed -i -e "s:-Werror::g;s:-ldb1:-ldb:g" \
+ ${file} || die "sed-fu failed"
done
- mv intl/l10nflist.c intl/l10nflist.c.orig
- sed -e "s:\(#ifdef HAVE_CONFIG_H\):#define _LIBC 1\n\1:" \
- intl/l10nflist.c.orig > intl/l10nflist.c
+ sed -i -e "s:\(#ifdef HAVE_CONFIG_H\):#define _LIBC 1\n\1:" \
+ intl/l10nflist.c || die "sed-fu 2 failed"
- mv Makefile Makefile.orig
- sed -e "s:\$(bindir)/xmps-config:\$(DESTDIR)\$(bindir)/xmps-config:" \
- Makefile.orig > Makefile
+ sed -i -e "s:\$(bindir)/xmps-config:\$(DESTDIR)\$(bindir)/xmps-config:" \
+ Makefile || die "sed-fu 3 failed"
emake || die "emake failed"
@@ -62,6 +59,6 @@ src_install () {
einstall || die "einstall failed"
- dodoc AUTHORS ChangeLog COPYING NEWS README TODO
+ dodoc AUTHORS ChangeLog NEWS README TODO
}