Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 26855 Details for
Bug 43641
ffmpeg-0.4.8.20040222 doesn't build on ppc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Update to install libpostproc library
ffmpeg-0.4.8.20040222.ebuild (text/plain), 3.37 KB, created by
Joel Martin (RETIRED)
on 2004-03-04 13:47:37 UTC
(
hide
)
Description:
Update to install libpostproc library
Filename:
MIME Type:
Creator:
Joel Martin (RETIRED)
Created:
2004-03-04 13:47:37 UTC
Size:
3.37 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils flag-o-matic > ># TODO: --enablea52bin breaks compile > >DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec." >HOMEPAGE="http://ffmpeg.sourceforge.net/" >PDATE=${PV##*.} >MY_PV=${PV%.*} >S=${WORKDIR}/${PN}-${PDATE} ># TODO: This should point to a more logical source. This just happens to ># be somewhere we can get a fixed date ffmpeg snapshot >SRC_URI="http://download.videolan.org/pub/videolan/vlc/0.7.1/contrib/ffmpeg-${PDATE}.tar.bz2" > >LICENSE="LGPL-2" >SLOT="0" >KEYWORDS="~x86 ~ppc ~sparc alpha amd64 ia64" >IUSE="mmx altivec encode oggvorbis doc faad dvd static sdl imlib truetype" > >DEPEND="encode? ( >=media-sound/lame-3.92 ) > oggvorbis? ( >=media-libs/libvorbis-1.0-r1 ) > doc? ( >=app-text/texi2html-1.64 ) > faad? ( >=media-libs/faad2-1.1 ) > dvd? ( >=media-libs/a52dec-0.7.4 ) > sdl? ( >=media-libs/libsdl-1.2.5 ) > imlib? ( >=media-libs/imlib2-1.0.6 ) > truetype? ( >=media-libs/freetype-2.1.2 )" > >pkg_setup() { > if `has_version "<=media-video/mplayer-1.0_pre3-r1"` ; then > echo > einfo "mplayer prior to version 1.0_pre3-r1 installs the" > einfo "libpostproc library. This library is now provided by" > einfo "ffmpeg. You must upgrade or remove mplayer in order" > einfo "to continue." > die > fi >} > >src_unpack() { > unpack ${A} || die > cd ${S} > > # for some reason it tries to #include <X11/Xlib.h>,b ut doesn't use it > cd ${S} > sed -i s:\#define\ HAVE_X11:\#define\ HAVE_LINUX: ffplay.c >} > >src_compile() { > filter-flags -fforce-addr -fPIC > # fixes bug #16281 > use alpha && append-flags -fPIC > use amd64 && append-flags -fPIC > > local myconf > #myconf="${myconf} --disable-opts --enable-pp --enable-shared-pp" > myconf="${myconf} --disable-opts --enable-pp" > use mmx || myconf="${myconf} --disable-mmx" > use encode && myconf="${myconf} --enable-mp3lame" > use oggvorbis && myconf="${myconf} --enable-vorbis" > use faad && myconf="${myconf} --enable-faad --enable-faadbin" > use dvd && myconf="${myconf} --enable-a52" > use static || myconf="${myconf} --enable-shared" > use sdl || myconf="${myconf} --disable-ffplay" > use debug || myconf="${myconf} --disable-debug" > use altivec || myconf="${myconf} --disable-altivec" > ># Using --enable-a52bin breaks the compile > #use dvd && myconf="${myconf} --enable-a52 --enable-a52bin" > > ./configure ${myconf} \ > --prefix=/usr || die "./configure failed." > make || die "make failed." > use doc && make -C doc all > > # Build libpostproc > cd ${S}/libavcodec/libpostproc > make || die "Failed to build libpostproc.a!" > make SHARED_PP="yes" || die "Failed to build libpostproc.so!" >} > >src_install() { > make \ > DESTDIR=${D} \ > prefix=${D}/usr \ > bindir=${D}/usr/bin \ > mandir=${D}/usr/share/man \ > infodir=${D}/usr/share/info \ > install || die > dosym /usr/bin/ffmpeg /usr/bin/ffplay > dosym /usr/lib/libavcodec-${MY_PV}.so /usr/lib/libavcodec.so > > dodoc COPYING CREDITS Changelog INSTALL README > docinto doc > dodoc doc/TODO doc/*.html doc/*.texi > insinto /etc > doins doc/ffserver.conf > > # Install libpostproc ... > cd ${S}/libavcodec/libpostproc > make prefix=${D}/usr \ > install || die "Failed to install libpostproc.a!" > make prefix=${D}/usr \ > SHARED_PP="yes" \ > install || die "Failed to install libpostproc.so!" > cd ${S} > # Some stuff like transcode can use this one. > dolib ${S}/libavcodec/libpostproc/libpostproc.a > > preplib /usr >}
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 43641
:
26794
|
26855
|
26900