diff options
author | Brandon Low <lostlogic@gentoo.org> | 2002-07-31 16:13:34 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2002-07-31 16:13:34 +0000 |
commit | 7d75d78088caf74387da4a9014a981f6d943668d (patch) | |
tree | a051ff6f58a6fb1718116cb4740a8954f175b156 /media-video | |
parent | unmask groff again, as it is a portage/DEPEND issue (diff) | |
download | gentoo-2-7d75d78088caf74387da4a9014a981f6d943668d.tar.gz gentoo-2-7d75d78088caf74387da4a9014a981f6d943668d.tar.bz2 gentoo-2-7d75d78088caf74387da4a9014a981f6d943668d.zip |
unmangle -march and -mcpu
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/xine-ui/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/xine-ui/files/digest-xine-ui-0.9.12-r1 | 1 | ||||
-rw-r--r-- | media-video/xine-ui/files/xine-ui-configure.patch | 13 | ||||
-rw-r--r-- | media-video/xine-ui/xine-ui-0.9.12-r1.ebuild | 69 |
4 files changed, 90 insertions, 1 deletions
diff --git a/media-video/xine-ui/ChangeLog b/media-video/xine-ui/ChangeLog index c936608f5513..5b8b42525952 100644 --- a/media-video/xine-ui/ChangeLog +++ b/media-video/xine-ui/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/xine-ui # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.15 2002/06/23 15:49:00 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.16 2002/07/31 16:13:34 lostlogic Exp $ + +*xine-ui-0.9.12-r1 (31 Jul 2002) + + 31 Jul 2002; Brandon Low <lostlogic@gentoo.org> xine-ui-0.9.12-r1.ebuild: + + Remove the configure script mangling of -march and -mcpu. *xine-ui-0.9.12 (23 Jun 2002) diff --git a/media-video/xine-ui/files/digest-xine-ui-0.9.12-r1 b/media-video/xine-ui/files/digest-xine-ui-0.9.12-r1 new file mode 100644 index 000000000000..38a0f2605f19 --- /dev/null +++ b/media-video/xine-ui/files/digest-xine-ui-0.9.12-r1 @@ -0,0 +1 @@ +MD5 10c596e45a4c2d44d80155df2c08ad92 xine-ui-0.9.12.tar.gz 1282113 diff --git a/media-video/xine-ui/files/xine-ui-configure.patch b/media-video/xine-ui/files/xine-ui-configure.patch new file mode 100644 index 000000000000..418e9992ada9 --- /dev/null +++ b/media-video/xine-ui/files/xine-ui-configure.patch @@ -0,0 +1,13 @@ +--- xine-ui-0.9.12/configure.in Sun Jun 23 04:00:40 2002 ++++ xine-ui-0.9.12/configure.in.new Wed Jul 31 10:34:49 2002 +@@ -514,10 +514,6 @@ + archopt_val=athlon ;; + esac + +- if test x"$archopt_val" != x; then +- CFLAGS="$CFLAGS $sarchopt=$archopt_val" +- DEBUG_CFLAGS="$DEBUG_CFLAGS $sarchopt=$archopt_val" +- fi + ] + fi + diff --git a/media-video/xine-ui/xine-ui-0.9.12-r1.ebuild b/media-video/xine-ui/xine-ui-0.9.12-r1.ebuild new file mode 100644 index 000000000000..9e2f13c686ec --- /dev/null +++ b/media-video/xine-ui/xine-ui-0.9.12-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.9.12-r1.ebuild,v 1.1 2002/07/31 16:13:34 lostlogic Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Xine is a free gpl-licensed video player for unix-like systems" +HOMEPAGE="http://xine.sourceforge.net/" +SRC_URI="http://xine.sourceforge.net/files/${P}.tar.gz" + +DEPEND="media-libs/libpng + >=media-libs/xine-lib-${PV} + X? ( virtual/x11 ) + aalib? ( media-libs/aalib ) + gnome? ( gnome-base/ORBit ) + directfb? ( media-libs/aalib + >=dev-libs/DirectFB-0.9.9 )" + +RDEPEND="nls? ( sys-devel/gettext )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86" + + +src_unpack() { + + unpack ${A} + cd ${S} + + for file in `grep -l -r "xine_logo.mpg" *`; do + sed -e "s:xine_logo.mpg:xine_logo.mpv:g" ${file} \ + > ${file}.hacked || die + mv ${file}.hacked ${file} || die + done + + patch -p1 < ${FILESDIR}/xine-ui-configure.patch || die "patch failed" + + use directfb || ( \ + sed -e "s:dfb::" src/Makefile.in \ + > src/Makefile.in.hacked + mv src/Makefile.in.hacked src/Makefile.in + ) + + sed -e "s:LDFLAGS =:LDFLAGS = -L/lib:" src/xitk/Makefile.in \ + > src/xitk/Makefile.in.hacked + mv src/xitk/Makefile.in.hacked src/xitk/Makefile.in + +} + +src_compile() { + + # Most of these are not working currently, but are here for completeness + local myconf + use X || myconf="${myconf} --disable-x11 --disable-xv" + use nls || myconf="${myconf} --disable-nls" + + econf ${myconf} || die + emake || die +} + +src_install() { + + make DESTDIR=${D} \ + docdir=/usr/share/doc/${PF} \ + docsdir=/usr/share/doc/${PF} \ + install || die + + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README +} |