Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 14985 Details for
Bug 25163
mjpegtools 1.6.0-r7 fails to build with gcc 3.3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild to use patch
mjpegtools-1.6.0-r8.ebuild (text/plain), 2.95 KB, created by
Chandler Carruth
on 2003-07-24 23:13:32 UTC
(
hide
)
Description:
ebuild to use patch
Filename:
MIME Type:
Creator:
Chandler Carruth
Created:
2003-07-24 23:13:32 UTC
Size:
2.95 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-1.6.0-r7.ebuild,v 1.13 2003/06/10 20:25:35 msterret Exp $ > >IUSE="sse arts gtk mmx sdl X quicktime 3dnow avi svga" > >inherit eutils gcc libtool flag-o-matic base > >S="${WORKDIR}/${P}" >DESCRIPTION="Tools for MJPEG video" >HOMEPAGE="http://mjpeg.sourceforge.net/" > ># Portage currently chokes on the following nested conditional. ># SRC_URI="mirror://sourceforge/mjpeg/${P}.tar.gz ># quicktime? ( !alpha? ( ># mirror://sourceforge/mjpeg/quicktime4linux-1.4-patched.tar.gz ># ) )" >SRC_URI="mirror://sourceforge/mjpeg/${P}.tar.gz > quicktime? ( > mirror://sourceforge/mjpeg/quicktime4linux-1.4-patched.tar.gz > )" > >LICENSE="as-is" >SLOT="1" >KEYWORDS="x86 ~ppc alpha ~sparc" > >RDEPEND="media-libs/jpeg > media-libs/libpng > =x11-libs/gtk+-1.2* > X? ( x11-base/xfree ) > sdl? ( media-libs/libsdl ) > media-libs/libdv > arts? ( kde-base/arts )" > >DEPEND="${RDEPEND} > >=sys-apps/sed-4 > x86? ( media-libs/libmovtar ) > avi? ( media-video/avifile ) > quicktime? ( !alpha? ( >=media-libs/quicktime4linux-1.5.5-r1 ) ) > mmx? ( >=media-libs/jpeg-mmx-1.1.2-r1 ) > mmx? ( dev-lang/nasm ) > 3dnow? ( dev-lang/nasm ) > sse? ( dev-lang/nasm ) > media-libs/libdv > svga? ( media-libs/svgalib ) > arts? ( kde-base/arts )" > > >src_unpack() { > base_src_unpack > > if use quicktime && ! use alpha; then > cd ${WORKDIR}/quicktime4linux-1.4-patch > cp libmjpeg.h libmjpeg.h.orig > sed -e "s:\"jpeg/jpeglib.h\":<jpeglib.h>:" libmjpeg.h.orig > libmjpeg.h > cp jpeg_old.h jpeg_old.h.orig > sed -e "s:\"jpeg/jpeglib.h\":<jpeglib.h>:" jpeg_old.h.orig > jpeg_old.h > > if [ "`gcc-major-version`" -eq "3" ] ; then > # Don't remove this - contact phoen][x <phoenix@gentoo.org> if you have problems with it. > cd ${S}/lavtools > sed -i "s/dv_decoder_new(0,0,0)\;/dv_decoder_new()\;/" lav_common.c > sed -i "s/dv_decoder_new(0,0,0)\;/dv_decoder_new()\;/" lav_io.c > fi > fi > > if use ppc; then > cd ${S} > epatch ${FILESDIR}/1.6.0-r7-ppc.patch || die "epatch failed" > fi > > cd ${S} > epatch ${FILESDIR}/mjpegtools-1.6.0-gcc33.diff || die "epatch (gcc33) failed" >} > >src_compile() { > elibtoolize > > local myconf="" > > replace-flags "-march=pentium4" "-march=i686" > replace-flags "-march=athlon*" "-march=i686" > filter-flags "-fprefetch-loop-arrays" > > use gtk \ > && myconf="${myconf} --with-gtk-prefix=/usr" > > use X \ > && myconf="${myconf} --with-x" \ > || myconf="${myconf} --without-x" > > use mmx \ > && myconf="${myconf} --with-jpeg-mmx=/usr/include/jpeg-mmx --enable-mmx-accel" > > use avi \ > || myconf="${myconf} --without-aviplay" > > if use quicktime && ! use alpha; then > einfo "Building quicktime4linux" > myconf="${myconf} --with-quicktime=${WORKDIR}/quicktime4linux-1.4-patch" > > cd ${WORKDIR}/quicktime4linux-1.4-patch > ./configure || die > make || die > cd ${S} > fi > > einfo "Building mjpegtools" > econf ${myconf} || die > emake || die >} > >src_install() { > einstall || die > dodoc mjpeg_howto.txt >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 25163
:
14984
| 14985