delete old
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@3040 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,14 +0,0 @@
|
||||
AUX avparser.patch 624 RMD160 87f9bd13d87e5560a36fe316e70e02fc0fa3a2c1 SHA1 3490a9f3553f6119eb1d16019f44c6ef36227453 SHA256 f5b1d3da4b007d28b6feca549260d82b0def7502353b7f7932d37852e64a37b3
|
||||
AUX avutil_aes_sha_h.patch 1299 RMD160 fe7e1d94adb228d9d64f40c499db9f9382154515 SHA1 d5da6c76515782244bd3791194e0ac73d922d390 SHA256 e8c4f3701f6ff00a29c672594d3397507be81186a08862e11d4c976ebda3db93
|
||||
DIST ffmpeg-0.6.90-rc0.tar.bz2 4531418 RMD160 5be99cc0242a3d7bf64622c082f0896460e90c66 SHA1 a5c898a220a7f2220a49a37c44d273d1775d081c SHA256 2e11fecba789fb2ee52e6fefbad07a026087b4b27df517fa0a6e31816f75c9f6
|
||||
DIST ffmpeg-0.6_p25767.tar.bz2 4000052 RMD160 1463e744ca5f6e5535571efe19296f055ba870fb SHA1 219ecd5007eb030945556a7f279beae980a96543 SHA256 a6773c54b528d967f56811866b149ac980ad96f6c06a00e56987f7a48b4d9ff2
|
||||
DIST ffmpeg-0.6_p28715.tar.bz2 4342986 RMD160 cd8a43d0337a3d66d7ca55682e3dab5a9537c302 SHA1 036afb71ce287d00d687f4935d898da9481f0933 SHA256 d664d4feb8e86da234721c0d509acfdb20a335716ea157904a898bb3e82cb56f
|
||||
DIST ffmpeg-0.7-rc1.tar.bz2 4782516 RMD160 26bad1c174e7b58a3bc207c6327d052670b53203 SHA1 d15c005f46483fbfc3b678cb1c89123762b56b82 SHA256 55703829d2bef30c5f294aee9a3a62beb772ca443fbbd688e79c6a0bd012aa1e
|
||||
EBUILD ffmpeg-0.6.90_rc0-r2.ebuild 8077 RMD160 b9767aa9a8f493a93377d177d6f5ac240447bcb8 SHA1 031c07b7ec9fe2e4d0ce3369456c37b32b484605 SHA256 216412a2e36d8f756d121ea17395abd1ee21e6c621a3c1e50409238698038312
|
||||
EBUILD ffmpeg-0.6.90_rc0.ebuild 7997 RMD160 fb37bb687fc1bdcea4f6b0f58da519a6c20d8f57 SHA1 ab46e6c81b81898d1fd2a2f8289f23105f936bd3 SHA256 8282fd65545920dc2a180a9e508ca76e71d932566978c987b6aa9b23eae5c13b
|
||||
EBUILD ffmpeg-0.6_p25767.ebuild 8035 RMD160 176ad09a076b26b01c022e63a1a7d49f51af367e SHA1 c98efe3bd7b54eb16417845d293782f9c1f22e42 SHA256 cdebee41e6c51b89a58b8ec3d2a07a2f8b0798bdcbf903aa5c0d825904e179a2
|
||||
EBUILD ffmpeg-0.6_p28715.ebuild 7947 RMD160 99997b2240874bb972357d50a454280a7e5f9f54 SHA1 f03e469cdaafa3fa34b0311ef75c92234e9ff0b9 SHA256 a3abb5c3177cc2480504d35c5652c75ec05561ed6d8d9a02be195f17bc04866e
|
||||
EBUILD ffmpeg-0.7_rc1.ebuild 8329 RMD160 63164430abd54a6a08745d5ed833be7d6e15c92b SHA1 e216902bb8739362be7791f94365809c25aa7702 SHA256 0562a4806625ffaaa9adbd7fb9f19f86f40ccd2eecd1befb10e563669c8150a0
|
||||
EBUILD ffmpeg-9999.ebuild 8035 RMD160 176ad09a076b26b01c022e63a1a7d49f51af367e SHA1 c98efe3bd7b54eb16417845d293782f9c1f22e42 SHA256 cdebee41e6c51b89a58b8ec3d2a07a2f8b0798bdcbf903aa5c0d825904e179a2
|
||||
MISC ChangeLog 57991 RMD160 f7dfe2012b77370a8fcf4b836163efb928e0294d SHA1 ef025469d0bbe098028d3b28317daa9228f39136 SHA256 96b76ce7ed3e8edbc3adde5c3b1db503435c89ad974204d92f1907accddeb6b0
|
||||
MISC metadata.xml 2265 RMD160 0416ebff8851e2ec715a801a3ecd66a98865578e SHA1 58d9750865481aedecd4d61dcaee9e43e6a27404 SHA256 38a520565c24ca97877c3b2814d685beb0079e3ad4d28e5924667084ba3ffd86
|
||||
@@ -1,276 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.6.90_rc0-r2.ebuild,v 1.1 2011/04/13 12:48:00 aballier Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git"
|
||||
EGIT_REPO_URI="git://git.videolan.org/ffmpeg.git"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
|
||||
HOMEPAGE="http://ffmpeg.org/"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
else # Release
|
||||
SRC_URI="http://ffmpeg.org/releases/${P/_/-}.tar.bz2"
|
||||
fi
|
||||
FFMPEG_REVISION="${PV#*_p}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
fi
|
||||
IUSE="
|
||||
+3dnow +3dnowext alsa altivec amr avx bindist +bzip2 cpudetection
|
||||
custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables
|
||||
ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp
|
||||
schroedinger sdl speex +ssse3 static-libs test theora threads truetype v4l
|
||||
v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib
|
||||
"
|
||||
|
||||
VIDEO_CARDS="nvidia"
|
||||
|
||||
for x in ${VIDEO_CARDS}; do
|
||||
IUSE="${IUSE} video_cards_${x}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
dirac? ( media-video/dirac )
|
||||
encode? (
|
||||
faac? ( media-libs/faac )
|
||||
mp3? ( >=media-sound/lame-3.98.3 )
|
||||
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
|
||||
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||
x264? ( >=media-libs/x264-0.0.20101029 )
|
||||
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||
)
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
||||
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.3-r2 )
|
||||
rtmp? ( >=media-video/rtmpdump-2.2f )
|
||||
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
|
||||
schroedinger? ( media-libs/schroedinger )
|
||||
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
vaapi? ( >=x11-libs/libva-0.32 )
|
||||
video_cards_nvidia? ( vdpau? ( x11-libs/libvdpau ) )
|
||||
vpx? ( media-libs/libvpx )
|
||||
X? ( x11-libs/libX11 x11-libs/libXext )
|
||||
zlib? ( sys-libs/zlib )
|
||||
!media-video/qt-faststart
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
dirac? ( dev-util/pkgconfig )
|
||||
doc? ( app-text/texi2html )
|
||||
mmx? ( dev-lang/yasm )
|
||||
rtmp? ( dev-util/pkgconfig )
|
||||
schroedinger? ( dev-util/pkgconfig )
|
||||
test? ( net-misc/wget )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
v4l2? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${P/_/-}
|
||||
|
||||
src_prepare() {
|
||||
if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
export revision=git-N-${FFMPEG_REVISION}
|
||||
fi
|
||||
epatch "${FILESDIR}/avparser.patch" \
|
||||
"${FILESDIR}/avutil_aes_sha_h.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="${EXTRA_FFMPEG_CONF}"
|
||||
|
||||
# enabled by default
|
||||
for i in debug doc network vaapi zlib; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use bzip2 || myconf="${myconf} --disable-bzlib"
|
||||
use sdl || myconf="${myconf} --disable-ffplay"
|
||||
|
||||
use custom-cflags && myconf="${myconf} --disable-optimizations"
|
||||
use cpudetection && myconf="${myconf} --enable-runtime-cpudetect"
|
||||
|
||||
#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
|
||||
# use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}"
|
||||
# use vdpau || myconf="${myconf} --disable-decoder=${i}"
|
||||
#done
|
||||
use video_cards_nvidia && use vdpau || myconf="${myconf} --disable-vdpau"
|
||||
|
||||
# Encoders
|
||||
if use encode
|
||||
then
|
||||
use mp3 && myconf="${myconf} --enable-libmp3lame"
|
||||
for i in theora vorbis x264 xvid; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
if use bindist
|
||||
then
|
||||
use faac && ewarn "faac is nonfree and cannot be distributed;
|
||||
disabling faac support."
|
||||
else
|
||||
use faac && myconf="${myconf} --enable-libfaac --enable-nonfree"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --disable-encoders"
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use ieee1394 && myconf="${myconf} --enable-libdc1394"
|
||||
# Indevs
|
||||
for i in v4l v4l2 alsa oss jack ; do
|
||||
use ${i} || myconf="${myconf} --disable-indev=${i}"
|
||||
done
|
||||
use X && myconf="${myconf} --enable-x11grab"
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf="${myconf} --disable-outdev=${i}"
|
||||
done
|
||||
# libavfilter options
|
||||
use frei0r && myconf="${myconf} --enable-frei0r"
|
||||
use truetype && myconf="${myconf} --enable-libfreetype"
|
||||
|
||||
# Threads; we only support pthread for now but ffmpeg supports more
|
||||
use threads && myconf="${myconf} --enable-pthreads"
|
||||
|
||||
# Decoders
|
||||
use amr && myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb"
|
||||
for i in gsm dirac rtmp schroedinger speex vpx; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
use jpeg2k && myconf="${myconf} --enable-libopenjpeg"
|
||||
|
||||
# CPU features
|
||||
for i in mmx ssse3 altivec avx ; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use mmxext || myconf="${myconf} --disable-mmx2"
|
||||
use 3dnow || myconf="${myconf} --disable-amd3dnow"
|
||||
use 3dnowext || myconf="${myconf} --disable-amd3dnowext"
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && use x86 ; then
|
||||
myconf="${myconf} --disable-mmx --disable-mmx2"
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf="${myconf} --enable-pic"
|
||||
|
||||
# Try to get cpu type based on CFLAGS.
|
||||
# Bug #172723
|
||||
# We need to do this so that features of that CPU will be better used
|
||||
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||
# will just ignore it.
|
||||
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||
[ "${i}" = "native" ] && i="host" # bug #273421
|
||||
[[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968
|
||||
myconf="${myconf} --cpu=${i}"
|
||||
break
|
||||
done
|
||||
|
||||
# Mandatory configuration
|
||||
myconf="
|
||||
--enable-gpl
|
||||
--enable-version3
|
||||
--enable-postproc
|
||||
--enable-avfilter
|
||||
--disable-stripping
|
||||
${myconf}"
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf="${myconf} --target-os=freebsd"
|
||||
;;
|
||||
mingw32*)
|
||||
myconf="${myconf} --target-os=mingw32"
|
||||
;;
|
||||
*linux*)
|
||||
myconf="${myconf} --target-os=linux"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ $(tc-arch) == "x86" ]]; then
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if (use debug); then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--shlibdir=/usr/$(get_libdir) \
|
||||
--mandir=/usr/share/man \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getCC)" \
|
||||
--host-cflags="${CFLAGS}" \
|
||||
--host-ldflags="${LDFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake version.h || die #252269
|
||||
emake || die
|
||||
|
||||
if use qt-faststart; then
|
||||
tc-export CC
|
||||
emake -C tools qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install-man || die
|
||||
|
||||
dodoc Changelog README INSTALL
|
||||
dodoc doc/*
|
||||
|
||||
if use qt-faststart; then
|
||||
dobin tools/qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use encode ; then
|
||||
for t in codectest lavftest seektest ; do
|
||||
LD_LIBRARY_PATH="${S}/libavcore:${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
|
||||
emake ${t} || die "Some tests in ${t} failed"
|
||||
done
|
||||
else
|
||||
ewarn "Tests fail without USE=encode, skipping"
|
||||
fi
|
||||
}
|
||||
@@ -1,274 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.6.90_rc0.ebuild,v 1.1 2011/04/05 04:49:22 aballier Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git"
|
||||
EGIT_REPO_URI="git://git.videolan.org/ffmpeg.git"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
|
||||
HOMEPAGE="http://ffmpeg.org/"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
else # Release
|
||||
SRC_URI="http://ffmpeg.org/releases/${P/_/-}.tar.bz2"
|
||||
fi
|
||||
FFMPEG_REVISION="${PV#*_p}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
fi
|
||||
IUSE="
|
||||
+3dnow +3dnowext alsa altivec amr avx bindist +bzip2 cpudetection
|
||||
custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables
|
||||
ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp
|
||||
schroedinger sdl speex +ssse3 static-libs test theora threads truetype v4l
|
||||
v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib
|
||||
"
|
||||
|
||||
VIDEO_CARDS="nvidia"
|
||||
|
||||
for x in ${VIDEO_CARDS}; do
|
||||
IUSE="${IUSE} video_cards_${x}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
dirac? ( media-video/dirac )
|
||||
encode? (
|
||||
faac? ( media-libs/faac )
|
||||
mp3? ( >=media-sound/lame-3.98.3 )
|
||||
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
|
||||
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||
x264? ( >=media-libs/x264-0.0.20101029 )
|
||||
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||
)
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
||||
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.3-r2 )
|
||||
rtmp? ( >=media-video/rtmpdump-2.2f )
|
||||
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
|
||||
schroedinger? ( media-libs/schroedinger )
|
||||
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
vaapi? ( >=x11-libs/libva-0.32 )
|
||||
video_cards_nvidia? ( vdpau? ( x11-libs/libvdpau ) )
|
||||
vpx? ( media-libs/libvpx )
|
||||
X? ( x11-libs/libX11 x11-libs/libXext )
|
||||
zlib? ( sys-libs/zlib )
|
||||
!media-video/qt-faststart
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
dirac? ( dev-util/pkgconfig )
|
||||
doc? ( app-text/texi2html )
|
||||
mmx? ( dev-lang/yasm )
|
||||
rtmp? ( dev-util/pkgconfig )
|
||||
schroedinger? ( dev-util/pkgconfig )
|
||||
test? ( net-misc/wget )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
v4l2? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${P/_/-}
|
||||
|
||||
src_prepare() {
|
||||
if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
export revision=git-N-${FFMPEG_REVISION}
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="${EXTRA_FFMPEG_CONF}"
|
||||
|
||||
# enabled by default
|
||||
for i in debug doc network vaapi zlib; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use bzip2 || myconf="${myconf} --disable-bzlib"
|
||||
use sdl || myconf="${myconf} --disable-ffplay"
|
||||
|
||||
use custom-cflags && myconf="${myconf} --disable-optimizations"
|
||||
use cpudetection && myconf="${myconf} --enable-runtime-cpudetect"
|
||||
|
||||
#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
|
||||
# use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}"
|
||||
# use vdpau || myconf="${myconf} --disable-decoder=${i}"
|
||||
#done
|
||||
use video_cards_nvidia && use vdpau || myconf="${myconf} --disable-vdpau"
|
||||
|
||||
# Encoders
|
||||
if use encode
|
||||
then
|
||||
use mp3 && myconf="${myconf} --enable-libmp3lame"
|
||||
for i in theora vorbis x264 xvid; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
if use bindist
|
||||
then
|
||||
use faac && ewarn "faac is nonfree and cannot be distributed;
|
||||
disabling faac support."
|
||||
else
|
||||
use faac && myconf="${myconf} --enable-libfaac --enable-nonfree"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --disable-encoders"
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use ieee1394 && myconf="${myconf} --enable-libdc1394"
|
||||
# Indevs
|
||||
for i in v4l v4l2 alsa oss jack ; do
|
||||
use ${i} || myconf="${myconf} --disable-indev=${i}"
|
||||
done
|
||||
use X && myconf="${myconf} --enable-x11grab"
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf="${myconf} --disable-outdev=${i}"
|
||||
done
|
||||
# libavfilter options
|
||||
use frei0r && myconf="${myconf} --enable-frei0r"
|
||||
use truetype && myconf="${myconf} --enable-libfreetype"
|
||||
|
||||
# Threads; we only support pthread for now but ffmpeg supports more
|
||||
use threads && myconf="${myconf} --enable-pthreads"
|
||||
|
||||
# Decoders
|
||||
use amr && myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb"
|
||||
for i in gsm dirac rtmp schroedinger speex vpx; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
use jpeg2k && myconf="${myconf} --enable-libopenjpeg"
|
||||
|
||||
# CPU features
|
||||
for i in mmx ssse3 altivec avx ; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use mmxext || myconf="${myconf} --disable-mmx2"
|
||||
use 3dnow || myconf="${myconf} --disable-amd3dnow"
|
||||
use 3dnowext || myconf="${myconf} --disable-amd3dnowext"
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && use x86 ; then
|
||||
myconf="${myconf} --disable-mmx --disable-mmx2"
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf="${myconf} --enable-pic"
|
||||
|
||||
# Try to get cpu type based on CFLAGS.
|
||||
# Bug #172723
|
||||
# We need to do this so that features of that CPU will be better used
|
||||
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||
# will just ignore it.
|
||||
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||
[ "${i}" = "native" ] && i="host" # bug #273421
|
||||
[[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968
|
||||
myconf="${myconf} --cpu=${i}"
|
||||
break
|
||||
done
|
||||
|
||||
# Mandatory configuration
|
||||
myconf="
|
||||
--enable-gpl
|
||||
--enable-version3
|
||||
--enable-postproc
|
||||
--enable-avfilter
|
||||
--disable-stripping
|
||||
${myconf}"
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf="${myconf} --target-os=freebsd"
|
||||
;;
|
||||
mingw32*)
|
||||
myconf="${myconf} --target-os=mingw32"
|
||||
;;
|
||||
*linux*)
|
||||
myconf="${myconf} --target-os=linux"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ $(tc-arch) == "x86" ]]; then
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if (use debug); then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--shlibdir=/usr/$(get_libdir) \
|
||||
--mandir=/usr/share/man \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getCC)" \
|
||||
--host-cflags="${CFLAGS}" \
|
||||
--host-ldflags="${LDFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake version.h || die #252269
|
||||
emake || die
|
||||
|
||||
if use qt-faststart; then
|
||||
tc-export CC
|
||||
emake -C tools qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install-man || die
|
||||
|
||||
dodoc Changelog README INSTALL
|
||||
dodoc doc/*
|
||||
|
||||
if use qt-faststart; then
|
||||
dobin tools/qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use encode ; then
|
||||
for t in codectest lavftest seektest ; do
|
||||
LD_LIBRARY_PATH="${S}/libavcore:${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
|
||||
emake ${t} || die "Some tests in ${t} failed"
|
||||
done
|
||||
else
|
||||
ewarn "Tests fail without USE=encode, skipping"
|
||||
fi
|
||||
}
|
||||
@@ -1,268 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.6_p25767.ebuild,v 1.4 2010/12/09 16:11:56 rich0 Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="subversion"
|
||||
ESVN_REPO_URI="svn://svn.ffmpeg.org/ffmpeg/trunk"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
|
||||
HOMEPAGE="http://ffmpeg.org/"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
else # Release
|
||||
SRC_URI="http://ffmpeg.org/releases/${P}.tar.bz2"
|
||||
fi
|
||||
FFMPEG_REVISION="${PV#*_p}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
fi
|
||||
IUSE="+3dnow +3dnowext alsa altivec amr bindist +bzip2 cpudetection custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads v4l v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib"
|
||||
|
||||
VIDEO_CARDS="nvidia"
|
||||
|
||||
for x in ${VIDEO_CARDS}; do
|
||||
IUSE="${IUSE} video_cards_${x}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
dirac? ( media-video/dirac )
|
||||
encode? (
|
||||
faac? ( media-libs/faac )
|
||||
mp3? ( >=media-sound/lame-3.98.3 )
|
||||
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
|
||||
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||
x264? ( >=media-libs/x264-0.0.20101029 )
|
||||
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||
)
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
||||
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.3-r2 )
|
||||
rtmp? ( >=media-video/rtmpdump-2.2f )
|
||||
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
|
||||
schroedinger? ( media-libs/schroedinger )
|
||||
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||
vaapi? ( x11-libs/libva )
|
||||
video_cards_nvidia? ( vdpau? ( x11-libs/libvdpau ) )
|
||||
vpx? ( media-libs/libvpx )
|
||||
X? ( x11-libs/libX11 x11-libs/libXext )
|
||||
zlib? ( sys-libs/zlib )
|
||||
!media-video/qt-faststart
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
dirac? ( dev-util/pkgconfig )
|
||||
doc? ( app-text/texi2html )
|
||||
mmx? ( dev-lang/yasm )
|
||||
rtmp? ( dev-util/pkgconfig )
|
||||
schroedinger? ( dev-util/pkgconfig )
|
||||
test? ( net-misc/wget )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
v4l2? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
# Set SVN version manually
|
||||
subversion_wc_info
|
||||
sed -i -e "s/UNKNOWN/SVN-r${ESVN_WC_REVISION}/" "${S}/version.sh" || die
|
||||
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
sed -i -e "s/UNKNOWN/SVN-r${FFMPEG_REVISION}/" "${S}/version.sh" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="${EXTRA_FFMPEG_CONF}"
|
||||
|
||||
# enabled by default
|
||||
for i in debug doc network vaapi zlib; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use bzip2 || myconf="${myconf} --disable-bzlib"
|
||||
use sdl || myconf="${myconf} --disable-ffplay"
|
||||
use static-libs || myconf="${myconf} --disable-static"
|
||||
|
||||
use custom-cflags && myconf="${myconf} --disable-optimizations"
|
||||
use cpudetection && myconf="${myconf} --enable-runtime-cpudetect"
|
||||
|
||||
#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
|
||||
# use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}"
|
||||
# use vdpau || myconf="${myconf} --disable-decoder=${i}"
|
||||
#done
|
||||
use video_cards_nvidia && use vdpau || myconf="${myconf} --disable-vdpau"
|
||||
|
||||
# Encoders
|
||||
if use encode
|
||||
then
|
||||
use mp3 && myconf="${myconf} --enable-libmp3lame"
|
||||
for i in theora vorbis x264 xvid; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
if use bindist
|
||||
then
|
||||
use faac && ewarn "faac is nonfree and cannot be distributed;
|
||||
disabling faac support."
|
||||
else
|
||||
use faac && myconf="${myconf} --enable-libfaac --enable-nonfree"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --disable-encoders"
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use ieee1394 && myconf="${myconf} --enable-libdc1394"
|
||||
# Indevs
|
||||
for i in v4l v4l2 alsa oss jack ; do
|
||||
use ${i} || myconf="${myconf} --disable-indev=${i}"
|
||||
done
|
||||
use X && myconf="${myconf} --enable-x11grab"
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf="${myconf} --disable-outdev=${i}"
|
||||
done
|
||||
# libavfilter options
|
||||
use frei0r && myconf="${myconf} --enable-frei0r"
|
||||
|
||||
# Threads; we only support pthread for now but ffmpeg supports more
|
||||
use threads && myconf="${myconf} --enable-pthreads"
|
||||
|
||||
# Decoders
|
||||
use amr && myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb"
|
||||
for i in gsm dirac rtmp schroedinger speex vpx; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
use jpeg2k && myconf="${myconf} --enable-libopenjpeg"
|
||||
|
||||
# CPU features
|
||||
for i in mmx ssse3 altivec ; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use mmxext || myconf="${myconf} --disable-mmx2"
|
||||
use 3dnow || myconf="${myconf} --disable-amd3dnow"
|
||||
use 3dnowext || myconf="${myconf} --disable-amd3dnowext"
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && use x86 ; then
|
||||
myconf="${myconf} --disable-mmx --disable-mmx2"
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf="${myconf} --enable-pic"
|
||||
|
||||
# Try to get cpu type based on CFLAGS.
|
||||
# Bug #172723
|
||||
# We need to do this so that features of that CPU will be better used
|
||||
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||
# will just ignore it.
|
||||
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||
[ "${i}" = "native" ] && i="host" # bug #273421
|
||||
[[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968
|
||||
myconf="${myconf} --cpu=${i}"
|
||||
break
|
||||
done
|
||||
|
||||
# Mandatory configuration
|
||||
myconf="
|
||||
--enable-gpl
|
||||
--enable-version3
|
||||
--enable-postproc
|
||||
--enable-avfilter
|
||||
--disable-stripping
|
||||
${myconf}"
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf="${myconf} --target-os=freebsd"
|
||||
;;
|
||||
mingw32*)
|
||||
myconf="${myconf} --target-os=mingw32"
|
||||
;;
|
||||
*linux*)
|
||||
myconf="${myconf} --target-os=linux"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ $(tc-arch) == "x86" ]]; then
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if (use debug); then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--shlibdir=/usr/$(get_libdir) \
|
||||
--mandir=/usr/share/man \
|
||||
--enable-static --enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getCC)" \
|
||||
--host-cflags="${CFLAGS}" \
|
||||
--host-ldflags="${LDFLAGS}" \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake version.h || die #252269
|
||||
emake || die
|
||||
|
||||
if use qt-faststart; then
|
||||
tc-export CC
|
||||
emake -C tools qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install-man || die
|
||||
|
||||
dodoc Changelog README INSTALL
|
||||
dodoc doc/*
|
||||
|
||||
if use qt-faststart; then
|
||||
dobin tools/qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use encode ; then
|
||||
for t in codectest lavftest seektest ; do
|
||||
LD_LIBRARY_PATH="${S}/libavcore:${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
|
||||
emake ${t} || die "Some tests in ${t} failed"
|
||||
done
|
||||
else
|
||||
ewarn "Tests fail without USE=encode, skipping"
|
||||
fi
|
||||
}
|
||||
@@ -1,271 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.6_p28715.ebuild,v 1.2 2011/03/31 12:19:05 aballier Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git"
|
||||
EGIT_REPO_URI="git://git.videolan.org/ffmpeg.git"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
|
||||
HOMEPAGE="http://ffmpeg.org/"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
else # Release
|
||||
SRC_URI="http://ffmpeg.org/releases/${P}.tar.bz2"
|
||||
fi
|
||||
FFMPEG_REVISION="${PV#*_p}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
fi
|
||||
IUSE="
|
||||
+3dnow +3dnowext alsa altivec amr avx bindist +bzip2 cpudetection
|
||||
custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables
|
||||
ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp
|
||||
schroedinger sdl speex +ssse3 static-libs test theora threads truetype v4l
|
||||
v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib
|
||||
"
|
||||
|
||||
VIDEO_CARDS="nvidia"
|
||||
|
||||
for x in ${VIDEO_CARDS}; do
|
||||
IUSE="${IUSE} video_cards_${x}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
dirac? ( media-video/dirac )
|
||||
encode? (
|
||||
faac? ( media-libs/faac )
|
||||
mp3? ( >=media-sound/lame-3.98.3 )
|
||||
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
|
||||
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||
x264? ( >=media-libs/x264-0.0.20101029 )
|
||||
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||
)
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
||||
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.3-r2 )
|
||||
rtmp? ( >=media-video/rtmpdump-2.2f )
|
||||
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
|
||||
schroedinger? ( media-libs/schroedinger )
|
||||
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
vaapi? ( >=x11-libs/libva-0.32 )
|
||||
video_cards_nvidia? ( vdpau? ( x11-libs/libvdpau ) )
|
||||
vpx? ( media-libs/libvpx )
|
||||
X? ( x11-libs/libX11 x11-libs/libXext )
|
||||
zlib? ( sys-libs/zlib )
|
||||
!media-video/qt-faststart
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
dirac? ( dev-util/pkgconfig )
|
||||
doc? ( app-text/texi2html )
|
||||
mmx? ( dev-lang/yasm )
|
||||
rtmp? ( dev-util/pkgconfig )
|
||||
schroedinger? ( dev-util/pkgconfig )
|
||||
test? ( net-misc/wget )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
v4l2? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
export revision=git-N-${FFMPEG_REVISION}
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="${EXTRA_FFMPEG_CONF}"
|
||||
|
||||
# enabled by default
|
||||
for i in debug doc network vaapi zlib; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use bzip2 || myconf="${myconf} --disable-bzlib"
|
||||
use sdl || myconf="${myconf} --disable-ffplay"
|
||||
|
||||
use custom-cflags && myconf="${myconf} --disable-optimizations"
|
||||
use cpudetection && myconf="${myconf} --enable-runtime-cpudetect"
|
||||
|
||||
#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
|
||||
# use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}"
|
||||
# use vdpau || myconf="${myconf} --disable-decoder=${i}"
|
||||
#done
|
||||
use video_cards_nvidia && use vdpau || myconf="${myconf} --disable-vdpau"
|
||||
|
||||
# Encoders
|
||||
if use encode
|
||||
then
|
||||
use mp3 && myconf="${myconf} --enable-libmp3lame"
|
||||
for i in theora vorbis x264 xvid; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
if use bindist
|
||||
then
|
||||
use faac && ewarn "faac is nonfree and cannot be distributed;
|
||||
disabling faac support."
|
||||
else
|
||||
use faac && myconf="${myconf} --enable-libfaac --enable-nonfree"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --disable-encoders"
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use ieee1394 && myconf="${myconf} --enable-libdc1394"
|
||||
# Indevs
|
||||
for i in v4l v4l2 alsa oss jack ; do
|
||||
use ${i} || myconf="${myconf} --disable-indev=${i}"
|
||||
done
|
||||
use X && myconf="${myconf} --enable-x11grab"
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf="${myconf} --disable-outdev=${i}"
|
||||
done
|
||||
# libavfilter options
|
||||
use frei0r && myconf="${myconf} --enable-frei0r"
|
||||
use truetype && myconf="${myconf} --enable-libfreetype"
|
||||
|
||||
# Threads; we only support pthread for now but ffmpeg supports more
|
||||
use threads && myconf="${myconf} --enable-pthreads"
|
||||
|
||||
# Decoders
|
||||
use amr && myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb"
|
||||
for i in gsm dirac rtmp schroedinger speex vpx; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
use jpeg2k && myconf="${myconf} --enable-libopenjpeg"
|
||||
|
||||
# CPU features
|
||||
for i in mmx ssse3 altivec avx ; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use mmxext || myconf="${myconf} --disable-mmx2"
|
||||
use 3dnow || myconf="${myconf} --disable-amd3dnow"
|
||||
use 3dnowext || myconf="${myconf} --disable-amd3dnowext"
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && use x86 ; then
|
||||
myconf="${myconf} --disable-mmx --disable-mmx2"
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf="${myconf} --enable-pic"
|
||||
|
||||
# Try to get cpu type based on CFLAGS.
|
||||
# Bug #172723
|
||||
# We need to do this so that features of that CPU will be better used
|
||||
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||
# will just ignore it.
|
||||
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||
[ "${i}" = "native" ] && i="host" # bug #273421
|
||||
[[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968
|
||||
myconf="${myconf} --cpu=${i}"
|
||||
break
|
||||
done
|
||||
|
||||
# Mandatory configuration
|
||||
myconf="
|
||||
--enable-gpl
|
||||
--enable-version3
|
||||
--enable-postproc
|
||||
--enable-avfilter
|
||||
${myconf}"
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf="${myconf} --target-os=freebsd"
|
||||
;;
|
||||
mingw32*)
|
||||
myconf="${myconf} --target-os=mingw32"
|
||||
;;
|
||||
*linux*)
|
||||
myconf="${myconf} --target-os=linux"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ $(tc-arch) == "x86" ]]; then
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if (use debug); then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--shlibdir=/usr/$(get_libdir) \
|
||||
--mandir=/usr/share/man \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getCC)" \
|
||||
--host-cflags="${CFLAGS}" \
|
||||
--host-ldflags="${LDFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake version.h || die #252269
|
||||
emake || die
|
||||
|
||||
if use qt-faststart; then
|
||||
tc-export CC
|
||||
emake -C tools qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install-man || die
|
||||
|
||||
dodoc Changelog README INSTALL
|
||||
dodoc doc/*
|
||||
|
||||
if use qt-faststart; then
|
||||
dobin tools/qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use encode ; then
|
||||
for t in codectest lavftest seektest ; do
|
||||
LD_LIBRARY_PATH="${S}/libavcore:${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
|
||||
emake ${t} || die "Some tests in ${t} failed"
|
||||
done
|
||||
else
|
||||
ewarn "Tests fail without USE=encode, skipping"
|
||||
fi
|
||||
}
|
||||
@@ -1,279 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.7_rc1.ebuild,v 1.1 2011/04/28 13:57:58 aballier Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git"
|
||||
EGIT_REPO_URI="git://git.videolan.org/ffmpeg.git"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
|
||||
HOMEPAGE="http://ffmpeg.org/"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
else # Release
|
||||
SRC_URI="http://ffmpeg.org/releases/${P/_/-}.tar.bz2"
|
||||
fi
|
||||
FFMPEG_REVISION="${PV#*_p}"
|
||||
|
||||
LICENSE="GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) )"
|
||||
SLOT="0"
|
||||
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~amd64 ~arm ~x86-fbsd"
|
||||
fi
|
||||
IUSE="
|
||||
+3dnow +3dnowext aac alsa altivec amr avx bindist +bzip2 celt cpudetection
|
||||
custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables
|
||||
ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp
|
||||
schroedinger sdl speex +ssse3 static-libs test theora threads truetype v4l
|
||||
v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib
|
||||
"
|
||||
|
||||
VIDEO_CARDS="nvidia"
|
||||
|
||||
for x in ${VIDEO_CARDS}; do
|
||||
IUSE="${IUSE} video_cards_${x}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
celt? ( >=media-libs/celt-0.11.1 )
|
||||
dirac? ( media-video/dirac )
|
||||
encode? (
|
||||
aac? ( media-libs/vo-aacenc )
|
||||
amr? ( media-libs/vo-amrwbenc )
|
||||
faac? ( media-libs/faac )
|
||||
mp3? ( >=media-sound/lame-3.98.3 )
|
||||
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
|
||||
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||
x264? ( >=media-libs/x264-0.0.20101029 )
|
||||
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||
)
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
||||
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.3-r2 )
|
||||
rtmp? ( >=media-video/rtmpdump-2.2f )
|
||||
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
|
||||
schroedinger? ( media-libs/schroedinger )
|
||||
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
vaapi? ( >=x11-libs/libva-0.32 )
|
||||
video_cards_nvidia? ( vdpau? ( x11-libs/libvdpau ) )
|
||||
vpx? ( >=media-libs/libvpx-0.9.6 )
|
||||
X? ( x11-libs/libX11 x11-libs/libXext )
|
||||
zlib? ( sys-libs/zlib )
|
||||
!media-video/qt-faststart
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
dirac? ( dev-util/pkgconfig )
|
||||
doc? ( app-text/texi2html )
|
||||
mmx? ( dev-lang/yasm )
|
||||
rtmp? ( dev-util/pkgconfig )
|
||||
schroedinger? ( dev-util/pkgconfig )
|
||||
test? ( net-misc/wget )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
v4l2? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${P/_/-}
|
||||
|
||||
src_prepare() {
|
||||
if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
export revision=git-N-${FFMPEG_REVISION}
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="${EXTRA_FFMPEG_CONF}"
|
||||
# Set to --enable-version3 if (L)GPL-3 is required
|
||||
local version3=""
|
||||
|
||||
# enabled by default
|
||||
for i in debug doc network vaapi zlib; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use bzip2 || myconf="${myconf} --disable-bzlib"
|
||||
use sdl || myconf="${myconf} --disable-ffplay"
|
||||
|
||||
use custom-cflags && myconf="${myconf} --disable-optimizations"
|
||||
use cpudetection && myconf="${myconf} --enable-runtime-cpudetect"
|
||||
|
||||
#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
|
||||
# use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}"
|
||||
# use vdpau || myconf="${myconf} --disable-decoder=${i}"
|
||||
#done
|
||||
use video_cards_nvidia && use vdpau || myconf="${myconf} --disable-vdpau"
|
||||
|
||||
# Encoders
|
||||
if use encode
|
||||
then
|
||||
use mp3 && myconf="${myconf} --enable-libmp3lame"
|
||||
use aac && { myconf="${myconf} --enable-libvo-aacenc" ; version3=" --enable-version3" ; }
|
||||
use amr && { myconf="${myconf} --enable-libvo-amrwbenc" ; version3=" --enable-version3" ; }
|
||||
for i in theora vorbis x264 xvid; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
if use bindist
|
||||
then
|
||||
use faac && ewarn "faac is nonfree and cannot be distributed;
|
||||
disabling faac support."
|
||||
else
|
||||
use faac && myconf="${myconf} --enable-libfaac --enable-nonfree"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --disable-encoders"
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use ieee1394 && myconf="${myconf} --enable-libdc1394"
|
||||
# Indevs
|
||||
for i in v4l v4l2 alsa oss jack ; do
|
||||
use ${i} || myconf="${myconf} --disable-indev=${i}"
|
||||
done
|
||||
use X && myconf="${myconf} --enable-x11grab"
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf="${myconf} --disable-outdev=${i}"
|
||||
done
|
||||
# libavfilter options
|
||||
use frei0r && myconf="${myconf} --enable-frei0r"
|
||||
use truetype && myconf="${myconf} --enable-libfreetype"
|
||||
|
||||
# Threads; we only support pthread for now but ffmpeg supports more
|
||||
use threads && myconf="${myconf} --enable-pthreads"
|
||||
|
||||
# Decoders
|
||||
use amr && { myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb" ; version3=" --enable-version3" ; }
|
||||
for i in celt gsm dirac rtmp schroedinger speex vpx; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
use jpeg2k && myconf="${myconf} --enable-libopenjpeg"
|
||||
|
||||
# CPU features
|
||||
for i in mmx ssse3 altivec avx ; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use mmxext || myconf="${myconf} --disable-mmx2"
|
||||
use 3dnow || myconf="${myconf} --disable-amd3dnow"
|
||||
use 3dnowext || myconf="${myconf} --disable-amd3dnowext"
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && use x86 ; then
|
||||
myconf="${myconf} --disable-mmx --disable-mmx2"
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf="${myconf} --enable-pic"
|
||||
|
||||
# Try to get cpu type based on CFLAGS.
|
||||
# Bug #172723
|
||||
# We need to do this so that features of that CPU will be better used
|
||||
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||
# will just ignore it.
|
||||
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||
[ "${i}" = "native" ] && i="host" # bug #273421
|
||||
[[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968
|
||||
myconf="${myconf} --cpu=${i}"
|
||||
break
|
||||
done
|
||||
|
||||
# Mandatory configuration
|
||||
myconf="
|
||||
--enable-gpl
|
||||
${version3}
|
||||
--enable-postproc
|
||||
--enable-avfilter
|
||||
--disable-stripping
|
||||
${myconf}"
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf="${myconf} --target-os=freebsd"
|
||||
;;
|
||||
mingw32*)
|
||||
myconf="${myconf} --target-os=mingw32"
|
||||
;;
|
||||
*linux*)
|
||||
myconf="${myconf} --target-os=linux"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ $(tc-arch) == "x86" ]]; then
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if (use debug); then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--shlibdir=/usr/$(get_libdir) \
|
||||
--mandir=/usr/share/man \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getCC)" \
|
||||
--host-cflags="${CFLAGS}" \
|
||||
--host-ldflags="${LDFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake version.h || die #252269
|
||||
emake || die
|
||||
|
||||
if use qt-faststart; then
|
||||
tc-export CC
|
||||
emake -C tools qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install-man || die
|
||||
|
||||
dodoc Changelog README INSTALL
|
||||
dodoc doc/*
|
||||
|
||||
if use qt-faststart; then
|
||||
dobin tools/qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use encode ; then
|
||||
LD_LIBRARY_PATH="${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
|
||||
emake test || die "Some tests failed"
|
||||
else
|
||||
ewarn "Tests fail without USE=encode, skipping"
|
||||
fi
|
||||
}
|
||||
@@ -1,268 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.6_p25767.ebuild,v 1.4 2010/12/09 16:11:56 rich0 Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="subversion"
|
||||
ESVN_REPO_URI="svn://svn.ffmpeg.org/ffmpeg/trunk"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
|
||||
HOMEPAGE="http://ffmpeg.org/"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
else # Release
|
||||
SRC_URI="http://ffmpeg.org/releases/${P}.tar.bz2"
|
||||
fi
|
||||
FFMPEG_REVISION="${PV#*_p}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
fi
|
||||
IUSE="+3dnow +3dnowext alsa altivec amr bindist +bzip2 cpudetection custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads v4l v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib"
|
||||
|
||||
VIDEO_CARDS="nvidia"
|
||||
|
||||
for x in ${VIDEO_CARDS}; do
|
||||
IUSE="${IUSE} video_cards_${x}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
dirac? ( media-video/dirac )
|
||||
encode? (
|
||||
faac? ( media-libs/faac )
|
||||
mp3? ( >=media-sound/lame-3.98.3 )
|
||||
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
|
||||
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||
x264? ( >=media-libs/x264-0.0.20101029 )
|
||||
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||
)
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
||||
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.3-r2 )
|
||||
rtmp? ( >=media-video/rtmpdump-2.2f )
|
||||
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
|
||||
schroedinger? ( media-libs/schroedinger )
|
||||
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||
vaapi? ( x11-libs/libva )
|
||||
video_cards_nvidia? ( vdpau? ( x11-libs/libvdpau ) )
|
||||
vpx? ( media-libs/libvpx )
|
||||
X? ( x11-libs/libX11 x11-libs/libXext )
|
||||
zlib? ( sys-libs/zlib )
|
||||
!media-video/qt-faststart
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
dirac? ( dev-util/pkgconfig )
|
||||
doc? ( app-text/texi2html )
|
||||
mmx? ( dev-lang/yasm )
|
||||
rtmp? ( dev-util/pkgconfig )
|
||||
schroedinger? ( dev-util/pkgconfig )
|
||||
test? ( net-misc/wget )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
v4l2? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
# Set SVN version manually
|
||||
subversion_wc_info
|
||||
sed -i -e "s/UNKNOWN/SVN-r${ESVN_WC_REVISION}/" "${S}/version.sh" || die
|
||||
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
sed -i -e "s/UNKNOWN/SVN-r${FFMPEG_REVISION}/" "${S}/version.sh" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="${EXTRA_FFMPEG_CONF}"
|
||||
|
||||
# enabled by default
|
||||
for i in debug doc network vaapi zlib; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use bzip2 || myconf="${myconf} --disable-bzlib"
|
||||
use sdl || myconf="${myconf} --disable-ffplay"
|
||||
use static-libs || myconf="${myconf} --disable-static"
|
||||
|
||||
use custom-cflags && myconf="${myconf} --disable-optimizations"
|
||||
use cpudetection && myconf="${myconf} --enable-runtime-cpudetect"
|
||||
|
||||
#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
|
||||
# use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}"
|
||||
# use vdpau || myconf="${myconf} --disable-decoder=${i}"
|
||||
#done
|
||||
use video_cards_nvidia && use vdpau || myconf="${myconf} --disable-vdpau"
|
||||
|
||||
# Encoders
|
||||
if use encode
|
||||
then
|
||||
use mp3 && myconf="${myconf} --enable-libmp3lame"
|
||||
for i in theora vorbis x264 xvid; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
if use bindist
|
||||
then
|
||||
use faac && ewarn "faac is nonfree and cannot be distributed;
|
||||
disabling faac support."
|
||||
else
|
||||
use faac && myconf="${myconf} --enable-libfaac --enable-nonfree"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --disable-encoders"
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use ieee1394 && myconf="${myconf} --enable-libdc1394"
|
||||
# Indevs
|
||||
for i in v4l v4l2 alsa oss jack ; do
|
||||
use ${i} || myconf="${myconf} --disable-indev=${i}"
|
||||
done
|
||||
use X && myconf="${myconf} --enable-x11grab"
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf="${myconf} --disable-outdev=${i}"
|
||||
done
|
||||
# libavfilter options
|
||||
use frei0r && myconf="${myconf} --enable-frei0r"
|
||||
|
||||
# Threads; we only support pthread for now but ffmpeg supports more
|
||||
use threads && myconf="${myconf} --enable-pthreads"
|
||||
|
||||
# Decoders
|
||||
use amr && myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb"
|
||||
for i in gsm dirac rtmp schroedinger speex vpx; do
|
||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||
done
|
||||
use jpeg2k && myconf="${myconf} --enable-libopenjpeg"
|
||||
|
||||
# CPU features
|
||||
for i in mmx ssse3 altivec ; do
|
||||
use ${i} || myconf="${myconf} --disable-${i}"
|
||||
done
|
||||
use mmxext || myconf="${myconf} --disable-mmx2"
|
||||
use 3dnow || myconf="${myconf} --disable-amd3dnow"
|
||||
use 3dnowext || myconf="${myconf} --disable-amd3dnowext"
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && use x86 ; then
|
||||
myconf="${myconf} --disable-mmx --disable-mmx2"
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf="${myconf} --enable-pic"
|
||||
|
||||
# Try to get cpu type based on CFLAGS.
|
||||
# Bug #172723
|
||||
# We need to do this so that features of that CPU will be better used
|
||||
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||
# will just ignore it.
|
||||
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||
[ "${i}" = "native" ] && i="host" # bug #273421
|
||||
[[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968
|
||||
myconf="${myconf} --cpu=${i}"
|
||||
break
|
||||
done
|
||||
|
||||
# Mandatory configuration
|
||||
myconf="
|
||||
--enable-gpl
|
||||
--enable-version3
|
||||
--enable-postproc
|
||||
--enable-avfilter
|
||||
--disable-stripping
|
||||
${myconf}"
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf="${myconf} --target-os=freebsd"
|
||||
;;
|
||||
mingw32*)
|
||||
myconf="${myconf} --target-os=mingw32"
|
||||
;;
|
||||
*linux*)
|
||||
myconf="${myconf} --target-os=linux"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ $(tc-arch) == "x86" ]]; then
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if (use debug); then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--shlibdir=/usr/$(get_libdir) \
|
||||
--mandir=/usr/share/man \
|
||||
--enable-static --enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getCC)" \
|
||||
--host-cflags="${CFLAGS}" \
|
||||
--host-ldflags="${LDFLAGS}" \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake version.h || die #252269
|
||||
emake || die
|
||||
|
||||
if use qt-faststart; then
|
||||
tc-export CC
|
||||
emake -C tools qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install-man || die
|
||||
|
||||
dodoc Changelog README INSTALL
|
||||
dodoc doc/*
|
||||
|
||||
if use qt-faststart; then
|
||||
dobin tools/qt-faststart || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use encode ; then
|
||||
for t in codectest lavftest seektest ; do
|
||||
LD_LIBRARY_PATH="${S}/libavcore:${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
|
||||
emake ${t} || die "Some tests in ${t} failed"
|
||||
done
|
||||
else
|
||||
ewarn "Tests fail without USE=encode, skipping"
|
||||
fi
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
commit 1f6265e011f6e56562b2f58c182bc0261062b3c4
|
||||
Author: Brad <brad@comstyle.com>
|
||||
Date: Wed Apr 6 17:41:12 2011 -0400
|
||||
|
||||
Fix parser: mark av_parser_parse() for removal on next major bump
|
||||
|
||||
Fix the breakage introduced with 9073ca6c6ebb9e3e9b60d968b7aa16cc8b6d558d
|
||||
|
||||
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
|
||||
index 0c69b91..3ba3e9c 100644
|
||||
--- a/libavcodec/parser.c
|
||||
+++ b/libavcodec/parser.c
|
||||
@@ -105,7 +105,7 @@ void ff_fetch_timestamp(AVCodecParserContext *s, int off, int remove){
|
||||
}
|
||||
}
|
||||
|
||||
-#if LIBAVCODEC_VERSION_MINOR < 53
|
||||
+#if LIBAVCODEC_VERSION_MAJOR < 53
|
||||
/**
|
||||
*
|
||||
* @param buf input
|
||||
@@ -1,28 +0,0 @@
|
||||
commit dc4103610520ae70d4989ffe3850dcf4deed54a9
|
||||
Author: Alexis Ballier <aballier@gentoo.org>
|
||||
Date: Thu Apr 7 10:19:23 2011 -0300
|
||||
|
||||
Install libavutil/{aes,sha}.h
|
||||
|
||||
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
||||
|
||||
diff --git a/libavutil/Makefile b/libavutil/Makefile
|
||||
index 300acb1..baee496 100644
|
||||
--- a/libavutil/Makefile
|
||||
+++ b/libavutil/Makefile
|
||||
@@ -3,6 +3,7 @@ include $(SUBDIR)../config.mak
|
||||
NAME = avutil
|
||||
|
||||
HEADERS = adler32.h \
|
||||
+ aes.h \
|
||||
attributes.h \
|
||||
audioconvert.h \
|
||||
avassert.h \
|
||||
@@ -33,6 +34,7 @@ HEADERS = adler32.h \
|
||||
random_seed.h \
|
||||
rational.h \
|
||||
samplefmt.h \
|
||||
+ sha.h \
|
||||
sha1.h \
|
||||
|
||||
BUILT_HEADERS = avconfig.h
|
||||
@@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>video</herd>
|
||||
<maintainer>
|
||||
<email>media-video@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="3dnowext">
|
||||
Enable manually-optimised routines using the AMD 3DNow!Ex SIMD
|
||||
instruction set, present in modern AMD CPUs. (Check for
|
||||
3dnowext in /proc/cpuinfo to know whether your CPU supports it).
|
||||
</flag>
|
||||
<flag name="amr">Enables Adaptive Multi-Rate Audio support</flag>
|
||||
<flag name="cpudetection">Enables runtime CPU detection (useful for bindist, compatibility on other CPUs)</flag>
|
||||
<flag name="dirac">Enable Dirac video support (an advanced royalty-free video compression format) via the reference library: dirac.</flag>
|
||||
<flag name="faac">Use external faac library for AAC encoding</flag>
|
||||
<flag name="faad">Use external faad library for AAC decoding (instead of internal libavcodec support)</flag>
|
||||
<flag name="frei0r">Enable frei0r wrapping in libavfilter</flag>
|
||||
<flag name="hardcoded-tables">Use pre-calculated tables rather than calculating them on the fly.</flag>
|
||||
<flag name="mmxext">Enables mmx2 support</flag>
|
||||
<flag name="network">Enables network streaming support</flag>
|
||||
<flag name="pic">Force shared libraries to be built as PIC (this is slower)</flag>
|
||||
<flag name="qt-faststart">Build and install qt-faststart application</flag>
|
||||
<flag name="rtmp">Enable Real Time Messaging Protocol using librtmp</flag>
|
||||
<flag name="schroedinger">Enable Dirac video support (an advanced royalty-free video compression format) via libschroedinger (high-speed implementation in C of the Dirac codec).</flag>
|
||||
<flag name="ssse3">faster floating point optimization for SSSE3 capable chips (Intel Core 2 and later chips)</flag>
|
||||
<flag name="vaapi">Enables VAAPI (Video Acceleration API) for hardware decoding</flag>
|
||||
<flag name="vdpau">Enables VDPAU decoders (requires nVidia video cards to offload CPU processing to video card</flag>
|
||||
<flag name="vpx">Enables vp8 codec support using libvpx: Decoding vp8 does not require this to be enabled but libvpx can also be used for decoding; encoding vp8 requires this useflag to be enabled though.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,714 +0,0 @@
|
||||
# ChangeLog for media-video/mjpegtools
|
||||
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.152 2011/04/01 09:48:15 ssuominen Exp $
|
||||
|
||||
01 Apr 2011; Samuli Suominen <ssuominen@gentoo.org>
|
||||
mjpegtools-1.9.0-r1.ebuild:
|
||||
Remove USE="X" and always pass --with-x wrt #259461.
|
||||
|
||||
23 Mar 2011; Tim Harder <radhermit@gentoo.org> -mjpegtools-1.8.0-r2.ebuild,
|
||||
-files/mjpegtools-1.8.0-as-needed.patch,
|
||||
-files/mjpegtools-1.8.0-fix-lav2mpeg.patch,
|
||||
-files/mjpegtools-1.8.0-gcc41.patch,
|
||||
-files/mjpegtools-1.8.0-glibc-2.10.patch,
|
||||
-files/mjpegtools-1.8.0-lavrec-memleak.patch,
|
||||
-files/mjpegtools-1.8.0-libc.patch,
|
||||
-files/mjpegtools-1.8.0-libquicktime.patch,
|
||||
-files/mjpegtools-1.8.0-no-jpeg-mmx.patch,
|
||||
-files/mjpegtools-1.8.0-parallelmake.patch,
|
||||
-files/mjpegtools-1.8.0-pkg-config.patch, -mjpegtools-1.9.0.ebuild:
|
||||
Remove old.
|
||||
|
||||
15 Mar 2011; Ulrich Mueller <ulm@gentoo.org> mjpegtools-1.8.0-r2.ebuild,
|
||||
mjpegtools-1.9.0.ebuild, mjpegtools-1.9.0-r1.ebuild:
|
||||
Replace dependency on virtual/quicktime by libquicktime, bug 358857.
|
||||
|
||||
07 Nov 2010; Jory A. Pratt <anarchy@gentoo.org>
|
||||
mjpegtools-1.8.0-r2.ebuild, mjpegtools-1.9.0.ebuild,
|
||||
mjpegtools-1.9.0-r1.ebuild:
|
||||
Convert media-libs/jpeg to virtual/jpeg
|
||||
|
||||
20 Feb 2010; Raúl Porcel <armin76@gentoo.org> mjpegtools-1.9.0-r1.ebuild:
|
||||
alpha/sparc stable wrt #302435
|
||||
|
||||
16 Feb 2010; Markus Meier <maekke@gentoo.org> mjpegtools-1.9.0-r1.ebuild:
|
||||
x86 stable, bug #302435
|
||||
|
||||
15 Feb 2010; Joseph Jezak <josejx@gentoo.org> mjpegtools-1.9.0-r1.ebuild:
|
||||
Marked ppc stable for bug #302435.
|
||||
|
||||
03 Feb 2010; Markos Chandras <hwoarang@gentoo.org>
|
||||
mjpegtools-1.9.0-r1.ebuild:
|
||||
Stable on amd64 wrt bug #302435
|
||||
|
||||
27 Jan 2010; Brent Baude <ranger@gentoo.org> mjpegtools-1.9.0-r1.ebuild:
|
||||
stable ppc64, bug 302435
|
||||
|
||||
*mjpegtools-1.9.0-r1 (23 Jan 2010)
|
||||
|
||||
23 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
|
||||
+mjpegtools-1.9.0-r1.ebuild, +files/mjpegtools-1.9.0-jpeg-7.patch:
|
||||
Fix jpeg2yuv segmentation fault with jpeg-7 and above wrt #293919 by Salah
|
||||
Coronya.
|
||||
|
||||
22 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
|
||||
mjpegtools-1.9.0.ebuild:
|
||||
Require SLOT="0" of media-libs/jpeg for headers.
|
||||
|
||||
27 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
|
||||
mjpegtools-1.8.0-r2.ebuild, +files/mjpegtools-1.8.0-glibc-2.10.patch:
|
||||
Fix building with GCC 4.4+ and GLIBC 2.10+ wrt #282960 by Chris Slycord.
|
||||
|
||||
22 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
|
||||
mjpegtools-1.8.0-r2.ebuild, +files/mjpegtools-1.8.0-libc.patch:
|
||||
Fix building with GCC 4.3+ and glibc-2.8+ wrt #240379, thanks to Chris
|
||||
Slycord.
|
||||
|
||||
04 Jun 2009; Peter Alfredsen <loki_val@gentoo.org>
|
||||
mjpegtools-1.9.0.ebuild, +files/mjpegtools-1.9.0-glibc-2.10.patch:
|
||||
Fix the constness of a char w.r.t. bug 270778. Thanks to hirakendu
|
||||
<hirakendu@gmail.com> for providing the patch.
|
||||
|
||||
03 Mar 2009; Raúl Porcel <armin76@gentoo.org> mjpegtools-1.9.0.ebuild:
|
||||
sparc stable wrt #217427
|
||||
|
||||
15 Feb 2009; Tobias Klausmann <klausman@gentoo.org>
|
||||
mjpegtools-1.9.0.ebuild:
|
||||
Stable on alpha, bug #217427
|
||||
|
||||
15 Feb 2009; Brent Baude <ranger@gentoo.org> mjpegtools-1.9.0.ebuild:
|
||||
stable ppc, bug 217427
|
||||
|
||||
14 Feb 2009; Markus Meier <maekke@gentoo.org> mjpegtools-1.9.0.ebuild:
|
||||
amd64/x86 stable, bug #217427
|
||||
|
||||
13 Feb 2009; Brent Baude <ranger@gentoo.org> mjpegtools-1.9.0.ebuild:
|
||||
stable ppc64, bug 217427
|
||||
|
||||
*mjpegtools-1.9.0 (10 Jan 2009)
|
||||
|
||||
10 Jan 2009; Steve Dibb <beandog@gentoo.org> +mjpegtools-1.9.0.ebuild:
|
||||
Version bump
|
||||
|
||||
*mjpegtools-1.9.0_rc4 (04 Jan 2009)
|
||||
|
||||
04 Jan 2009; Ben de Groot <yngwin@gentoo.org>
|
||||
+mjpegtools-1.9.0_rc4.ebuild:
|
||||
Version bump, fixes bug 252352
|
||||
|
||||
20 Apr 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/mjpegtools-1.9.0_rc3-gcc43.patch, mjpegtools-1.9.0_rc3.ebuild:
|
||||
Fix by Ryan Hill for building with gcc-4.3 #200767.
|
||||
|
||||
*mjpegtools-1.9.0_rc3 (04 Dec 2007)
|
||||
|
||||
04 Dec 2007; Matthias Schwarzott <zzam@gentoo.org>
|
||||
+mjpegtools-1.9.0_rc3.ebuild:
|
||||
Version bumped. Seems to solve some rate control problem and maybe more
|
||||
small bugs.
|
||||
|
||||
27 Nov 2007; Matthias Schwarzott <zzam@gentoo.org>
|
||||
mjpegtools-1.8.0-r1.ebuild, mjpegtools-1.8.0-r2.ebuild,
|
||||
mjpegtools-1.9.0_rc1.ebuild, mjpegtools-1.9.0_rc2.ebuild:
|
||||
Fixed quoting.
|
||||
|
||||
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>;
|
||||
mjpegtools-1.8.0-r1.ebuild, mjpegtools-1.8.0-r2.ebuild,
|
||||
mjpegtools-1.9.0_rc1.ebuild, mjpegtools-1.9.0_rc2.ebuild:
|
||||
Drop virtual/x11 references.
|
||||
|
||||
*mjpegtools-1.9.0_rc2 (05 Mar 2007)
|
||||
|
||||
05 Mar 2007; Matthias Schwarzott <zzam@gentoo.org>
|
||||
+mjpegtools-1.9.0_rc2.ebuild:
|
||||
Version bumped. All patches/m4 files in upstream tarball now :).
|
||||
|
||||
*mjpegtools-1.9.0_rc1 (25 Feb 2007)
|
||||
|
||||
25 Feb 2007; Matthias Schwarzott <zzam@gentoo.org>
|
||||
+files/mjpegtools-1.9.0_rc1-as-needed.patch,
|
||||
+files/mjpegtools-1.9.0_rc1-lavrec-memleak.patch,
|
||||
+files/mjpegtools-1.9.0_rc1-pkg-config.patch,
|
||||
+mjpegtools-1.9.0_rc1.ebuild:
|
||||
Version bumped.
|
||||
|
||||
20 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||
+files/mjpegtools-1.8.0-no-jpeg-mmx.patch, mjpegtools-1.8.0-r1.ebuild,
|
||||
mjpegtools-1.8.0-r2.ebuild:
|
||||
Explicitly disable usage of jpeg-mmx to prevent automagic depend.
|
||||
|
||||
19 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||
files/mjpegtools-1.8.0-fix-lav2mpeg.patch:
|
||||
Added lost hunk to patch for Bug #137530 :).
|
||||
|
||||
*mjpegtools-1.8.0-r2 (19 Nov 2006)
|
||||
|
||||
19 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||
+files/mjpegtools-1.8.0-fix-lav2mpeg.patch,
|
||||
+files/mjpegtools-1.8.0-lavrec-memleak.patch, +mjpegtools-1.8.0-r2.ebuild:
|
||||
Added fixes for various bugs (#152568, #128404 and #137530).
|
||||
|
||||
03 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||
mjpegtools-1.8.0-r1.ebuild:
|
||||
Correct dependency to gtk+-2, Bug #150344. Changed configure-argument for
|
||||
libdv to actually work :).
|
||||
|
||||
03 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||
mjpegtools-1.8.0-r1.ebuild:
|
||||
Removed movtar-dependency as it seems no longer needed, Bug #150344.
|
||||
|
||||
03 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||
mjpegtools-1.8.0-r1.ebuild:
|
||||
Added correct automake and pkgconfig dependency.
|
||||
|
||||
06 Sep 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||
mjpegtools-1.8.0-r1.ebuild:
|
||||
Added missing m4-files for autoconf, solves Bug #117091.
|
||||
|
||||
28 Aug 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||
files/mjpegtools-1.8.0-as-needed.patch:
|
||||
Added the make-dependencies which broke parallel building when having the
|
||||
as-needed patch applied. Bug #145265.
|
||||
|
||||
25 Aug 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||
+files/mjpegtools-1.8.0-as-needed.patch, mjpegtools-1.8.0-r1.ebuild:
|
||||
Fixed linking with --as-needed, see bug #144656.
|
||||
|
||||
25 Aug 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||
+files/mjpegtools-1.8.0-pkg-config.patch, mjpegtools-1.8.0-r1.ebuild:
|
||||
Fixed problem with missing png-support when USE=-quicktime, bug #144551.
|
||||
Added use-flag png and dependency to libpng which has been missing up to
|
||||
now.
|
||||
|
||||
25 Aug 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||
+files/mjpegtools-1.8.0-pkg-config.patch, mjpegtools-1.8.0-r1.ebuild:
|
||||
Fixed problem with missing png-support when USE=-quicktime, bug #144551.
|
||||
Added use-flag png and dependency to libpng which has been missing up to
|
||||
now.
|
||||
|
||||
30 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
|
||||
+files/mjpegtools-1.8.0-libquicktime.patch, mjpegtools-1.8.0-r1.ebuild:
|
||||
Add patch from bug #128619 when using libquicktime 0.9.9, thanks to Mario
|
||||
Fetka; also fix quicktime useflag, thanks to Eldad Zack (eldad), both in bug
|
||||
#128619.
|
||||
|
||||
27 Apr 2006; Marien Zwart <marienz@gentoo.org> Manifest:
|
||||
Fixing SHA256 digest, pass four
|
||||
|
||||
24 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
|
||||
-files/mjpegtools-1.6.2-configure.patch, -files/mjpegtools-1.6.2-dv.patch,
|
||||
-files/mjpegtools-1.6.2-fPIC.patch,
|
||||
-files/mjpegtools-1.6.2-gcc34-altivec.patch,
|
||||
-files/mjpegtools-1.6.2-gcc34.patch,
|
||||
-files/mjpegtools-1.6.2-libquicktime094.patch,
|
||||
-files/mjpegtools-1.6.2-nogtk.patch, -files/altivec-fix-1.6.2.patch,
|
||||
-files/no-x11-lib-2.patch, -mjpegtools-1.6.2-r4.ebuild:
|
||||
Drop old mjpegtools version.
|
||||
|
||||
07 Feb 2006; Aron Griffis <agriffis@gentoo.org>
|
||||
mjpegtools-1.8.0-r1.ebuild:
|
||||
Mark 1.8.0-r1 stable on alpha
|
||||
|
||||
05 Feb 2006; Diego Pettenò <flameeyes@gentoo.org>
|
||||
+files/mjpegtools-1.8.0-parallelmake.patch, mjpegtools-1.8.0-r1.ebuild:
|
||||
Fix parallel make issues, bug #121622.
|
||||
|
||||
04 Feb 2006; Diego Pettenò <flameeyes@gentoo.org>
|
||||
mjpegtools-1.8.0-r1.ebuild:
|
||||
Don't run autotools as there's no patch touching them, run only elibtoolize
|
||||
instead. Don't force -j1 on emake. Append -fno-strict-aliasing as it
|
||||
dereference type-punned pointers.
|
||||
|
||||
04 Feb 2006; Diego Pettenò <flameeyes@gentoo.org>
|
||||
mjpegtools-1.6.2-r4.ebuild, mjpegtools-1.8.0-r1.ebuild:
|
||||
Drop dependencies over autotools, autotools eclass take care of that. Change
|
||||
autoreconf call to eautoreconf.
|
||||
|
||||
26 Dec 2005; Simon Stelling <blubb@gentoo.org> mjpegtools-1.8.0-r1.ebuild:
|
||||
stable on amd64
|
||||
|
||||
24 Dec 2005; Michael Hanselmann <hansmi@gentoo.org>
|
||||
mjpegtools-1.8.0-r1.ebuild:
|
||||
Stable on ppc.
|
||||
|
||||
21 Dec 2005; Mark Loeser <halcy0n@gentoo.org> mjpegtools-1.8.0-r1.ebuild:
|
||||
Stable on x86; bug #100869
|
||||
|
||||
20 Dec 2005; Gustavo Zacarias <gustavoz@gentoo.org>
|
||||
mjpegtools-1.8.0-r1.ebuild:
|
||||
Stable on sparc wrt security #100869
|
||||
|
||||
19 Dec 2005; Markus Rothe <corsair@gentoo.org> mjpegtools-1.8.0-r1.ebuild:
|
||||
Stable on ppc64; bug #100869
|
||||
|
||||
19 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
|
||||
+files/mjpegtools-1.8.0-gcc41.patch, mjpegtools-1.8.0-r1.ebuild:
|
||||
Add patch to build with GCC 4.1, thanks to Christian Schmidt in bug #116014.
|
||||
|
||||
17 Dec 2005; Luca Barbato <lu_zero@gentoo.org> -mjpegtools-1.8.0.ebuild:
|
||||
Cleanup
|
||||
|
||||
12 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>;
|
||||
mjpegtools-1.8.0-r1.ebuild:
|
||||
Add modular X dependencies.
|
||||
|
||||
13 Nov 2005; Luca Barbato <lu_zero@gentoo.org> mjpegtools-1.6.2-r4.ebuild,
|
||||
mjpegtools-1.8.0-r1.ebuild:
|
||||
avifile removed
|
||||
|
||||
*mjpegtools-1.8.0-r1 (01 Nov 2005)
|
||||
|
||||
01 Nov 2005; Simon Stelling <blubb@gentoo.org>
|
||||
+mjpegtools-1.8.0-r1.ebuild:
|
||||
revision bump to enable SIMD extensions on amd64; bug 108417
|
||||
|
||||
*mjpegtools-1.8.0 (19 Sep 2005)
|
||||
|
||||
05 Oct 2005; Marc Hildebrand <zypher@gentoo.org>
|
||||
+mjpegtools-1.8.0.ebuild:
|
||||
Version bump, closes bug #107824. Thanks to Paul Dunwoody for the ebuild.
|
||||
|
||||
15 Sep 2005; Aron Griffis <agriffis@gentoo.org>
|
||||
mjpegtools-1.6.2-r4.ebuild:
|
||||
Mark 1.6.2-r4 stable on alpha
|
||||
|
||||
06 Aug 2005; Doug Goldstein <cardoe@gentoo.org>
|
||||
-mjpegtools-1.6.2-r3.ebuild:
|
||||
remove old version that had some old stuff that was making the reporter
|
||||
of bug #100974 angry
|
||||
|
||||
28 Jul 2005; Diego Pettenò <flameeyes@gentoo.org>
|
||||
mjpegtools-1.6.2-r3.ebuild, mjpegtools-1.6.2-r4.ebuild:
|
||||
Updated dependeny over jpeg-mmx as per bug #100554.
|
||||
|
||||
18 Jun 2005; Markus Rothe <corsair@gentoo.org> mjpegtools-1.6.2-r4.ebuild:
|
||||
Stable on ppc64
|
||||
|
||||
17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org>
|
||||
mjpegtools-1.6.2-r4.ebuild:
|
||||
Stable on ppc.
|
||||
|
||||
08 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org>
|
||||
mjpegtools-1.6.2-r4.ebuild:
|
||||
Stable on sparc
|
||||
|
||||
06 Jun 2005; Jan Brinkmann <luckyduck@gentoo.org>
|
||||
mjpegtools-1.6.2-r4.ebuild:
|
||||
stable on amd64 and x86.
|
||||
|
||||
17 May 2005; Gustavo Zacarias <gustavoz@gentoo.org>
|
||||
mjpegtools-1.6.2-r3.ebuild:
|
||||
Stable on sparc
|
||||
|
||||
15 May 2005; Diego Pettenò <flameeyes@gentoo.org>
|
||||
mjpegtools-1.6.2-r3.ebuild, mjpegtools-1.6.2-r4.ebuild:
|
||||
Moved to use toolchain-functs eclass.
|
||||
|
||||
08 May 2005; Bryan Østergaard <kloeri@gentoo.org>
|
||||
mjpegtools-1.6.2-r4.ebuild:
|
||||
~alpha keyword.
|
||||
|
||||
*mjpegtools-1.6.2-r4 (17 Apr 2005)
|
||||
|
||||
17 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org>
|
||||
+mjpegtools-1.6.2-r4.ebuild:
|
||||
added a patch to fix #78404. thanks to Kevin F. Quinn <co@kevquinn.com> and
|
||||
Ned Ludd <solar@gentoo.org>
|
||||
|
||||
16 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org>
|
||||
+files/mjpegtools-1.6.2-libquicktime094.patch, mjpegtools-1.6.2-r3.ebuild:
|
||||
added patch to make compilation with libquicktime-0.9.4 possible (patch based
|
||||
on upstream cvs), also enabled largefile support which fixes #66039
|
||||
|
||||
27 Mar 2005; Luca Barbato <lu_zero@gentoo.org>
|
||||
+files/mjpegtools-1.6.2-configure.patch, mjpegtools-1.6.2-r3.ebuild:
|
||||
Updated ebuild, from Diego Pettenò <dgp85@users.sourceforge.net>
|
||||
|
||||
26 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
-files/1.6.0-r7-ppc.patch, -files/mjpegtools-1.6.0-gcc3.patch,
|
||||
-files/mjpegtools-1.6.1.91-fPIC.patch,
|
||||
-files/mjpegtools-1.6.1.92-fPIC.patch,
|
||||
-files/mjpegtools-1.6.1.93-fPIC.patch, -files/no-x11-lib.patch,
|
||||
-mjpegtools-1.6.0-r7.ebuild, -mjpegtools-1.6.1.90-r2.ebuild,
|
||||
-mjpegtools-1.6.2-r1.ebuild, mjpegtools-1.6.2-r3.ebuild:
|
||||
Removing older versions. Fixing avifile dependency to accept newer versions
|
||||
as it does compile with them.
|
||||
|
||||
15 Mar 2005; Luca Barbato <lu_zero@gentoo.org> mjpegtools-1.6.2-r3.ebuild:
|
||||
yet another workaround for gcc
|
||||
|
||||
13 Mar 2005; Luca Barbato <lu_zero@gentoo.org>
|
||||
+files/mjpegtools-1.6.2-dv.patch, mjpegtools-1.6.2-r3.ebuild:
|
||||
Fixed libdv issues
|
||||
|
||||
10 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org>
|
||||
mjpegtools-1.6.2-r3.ebuild:
|
||||
changed the dv and yv12 use_enable logic, fixes #79379
|
||||
|
||||
20 Feb 2005; Joseph Jezak <josejx@gentoo.org> mjpegtools-1.6.2-r3.ebuild:
|
||||
Changed the libtool fix to apply to everyone.
|
||||
|
||||
06 Feb 2005; Markus Rothe <corsair@gentoo.org> mjpegtools-1.6.2-r3.ebuild:
|
||||
Stable on ppc64
|
||||
|
||||
11 Jan 2005; Luca Barbato <lu_zero@gentoo.org> mjpegtools-1.6.2-r3.ebuild:
|
||||
Deps updated, should fix bug #71867
|
||||
|
||||
18 Dec 2004; Markus Rothe <corsair@gentoo.org> mjpegtools-1.6.2-r3.ebuild:
|
||||
added ~ppc64 to KEYWORDS; bug #74834
|
||||
|
||||
16 Dec 2004; Simon Stelling <blubb@gentoo.org> mjpegtools-1.6.2-r3.ebuild:
|
||||
fix libtool-stuff; bug #74664
|
||||
|
||||
14 Nov 2004; Simon Stelling <blubb@gentoo.org> mjpegtools-1.6.2-r3.ebuild:
|
||||
fix bug #70334 with a autoreconf
|
||||
|
||||
03 Nov 2004; Michael Hanselmann <hansmi@gentoo.org>
|
||||
mjpegtools-1.6.2-r3.ebuild:
|
||||
Temporary fix for the SDL-problem in bug 66927.
|
||||
|
||||
23 Oct 2004; Jason Wever <weeve@gentoo.org> mjpegtools-1.6.2-r3.ebuild:
|
||||
Added ~sparc keyword.
|
||||
|
||||
19 Oct 2004; Dylan Carlson <absinthe@gentoo.org>
|
||||
mjpegtools-1.6.2-r3.ebuild:
|
||||
Stable on amd64.
|
||||
|
||||
25 Sep 2004; Heinrich Wendel <lanius@gentoo.org>
|
||||
+files/mjpegtools-1.6.2-nogtk.patch, mjpegtools-1.6.2-r3.ebuild:
|
||||
mark x86
|
||||
|
||||
25 Sep 2004; Heinrich Wendel <lanius@gentoo.org>
|
||||
+files/mjpegtools-1.6.2-nogtk.patch, mjpegtools-1.6.2-r3.ebuild:
|
||||
strip -fstack-protector if compiled with mmx|3dnow|sse, bug #37972
|
||||
|
||||
05 Aug 2004; Luca Barbato <lu_zero@gentoo.org>
|
||||
+files/mjpegtools-1.6.2-gcc34-altivec.patch, mjpegtools-1.6.2-r3.ebuild:
|
||||
Minor fix for altivec
|
||||
|
||||
26 Jun 2004; Danny van Dyk <kugelfang@gentoo.org>
|
||||
mjpegtools-1.6.2-r1.ebuild:
|
||||
Fixed BUG #55222. -fPIC neccessary for libmjpegutils.a, as it is used to
|
||||
create shared objects.
|
||||
|
||||
*mjpegtools-1.6.2-r3 (23 Jun 2004)
|
||||
|
||||
23 Jun 2004; Mike Frysinger <vapier@gentoo.org>
|
||||
files/mjpegtools-1.6.2-fPIC.patch, -mjpegtools-1.6.2-r2.ebuild,
|
||||
+mjpegtools-1.6.2-r3.ebuild:
|
||||
Make sure the libraries get built with -fPIC otherwise people like ppc get mad
|
||||
#47335 by Heinrich Wendel.
|
||||
|
||||
14 Jun 2004; Michael Hanselmann <hansmi@gentoo.org>
|
||||
+files/altivec-fix-1.6.2.patch, mjpegtools-1.6.2-r2.ebuild:
|
||||
Added a patch to fix compilation-errors on PowerPC with Altivec disabled. This
|
||||
may happen if the code is being compiled for a G3-processor (-mcpu=G3 or
|
||||
-mcpu=750). It patches the configure.in-file. Added ~ppc to KEYWORDS.
|
||||
|
||||
09 Jun 2004; Aron Griffis <agriffis@gentoo.org> mjpegtools-1.6.0-r7.ebuild,
|
||||
mjpegtools-1.6.1.90-r2.ebuild, mjpegtools-1.6.2-r1.ebuild,
|
||||
mjpegtools-1.6.2-r2.ebuild:
|
||||
Fix use invocation
|
||||
|
||||
*mjpegtools-1.6.2-r2 (17 May 2004)
|
||||
|
||||
17 May 2004; Patrick Kursawe <phosphan@gentoo.org> metadata.xml,
|
||||
mjpegtools-1.6.2-r2.ebuild,
|
||||
Adding optional yv12 support and changing CFLAGS handling as suggested in bug
|
||||
#42414
|
||||
Corrected metadata syntax.
|
||||
|
||||
17 May 2004; Patrick Kursawe <phosphan@gentoo.org>
|
||||
mjpegtools-1.6.1.90-r1.ebuild, mjpegtools-1.6.1.91.ebuild,
|
||||
mjpegtools-1.6.1.92.ebuild, mjpegtools-1.6.1.93.ebuild,
|
||||
mjpegtools-1.6.1.ebuild, mjpegtools-1.6.2.ebuild:
|
||||
Big cleanup.
|
||||
|
||||
12 May 2004; Alexander Gabert <pappy@gentoo.org> mjpegtools-1.6.2-r1.ebuild:
|
||||
added new hardened PIE SSP switches
|
||||
|
||||
12 May 2004; Alexander Gabert <pappy@gentoo.org>
|
||||
mjpegtools-1.6.1.90-r1.ebuild, mjpegtools-1.6.1.90-r2.ebuild,
|
||||
mjpegtools-1.6.1.91.ebuild, mjpegtools-1.6.1.92.ebuild,
|
||||
mjpegtools-1.6.1.93.ebuild, mjpegtools-1.6.2.ebuild:
|
||||
removed hardened-gcc logic, added filter-flags fPIC logic
|
||||
|
||||
28 Apr 2004; Travis Tilley <lv@gentoo.org>
|
||||
+files/mjpegtools-1.6.2-gcc34.patch, mjpegtools-1.6.2-r1.ebuild:
|
||||
added fix for compiling with gcc 3.4. thanks go to Igor V. Kovanlenko and
|
||||
"LordKow". MOOOO!
|
||||
|
||||
27 Apr 2004; Aron Griffis <agriffis@gentoo.org>
|
||||
mjpegtools-1.6.1.90-r1.ebuild, mjpegtools-1.6.1.90-r2.ebuild,
|
||||
mjpegtools-1.6.1.91.ebuild, mjpegtools-1.6.1.92.ebuild,
|
||||
mjpegtools-1.6.1.93.ebuild:
|
||||
Add inherit eutils
|
||||
|
||||
26 Apr 2004; Aron Griffis <agriffis@gentoo.org>
|
||||
mjpegtools-1.6.1.90-r1.ebuild, mjpegtools-1.6.1.90-r2.ebuild,
|
||||
mjpegtools-1.6.1.91.ebuild, mjpegtools-1.6.1.92.ebuild,
|
||||
mjpegtools-1.6.1.93.ebuild:
|
||||
Add die following econf for bug 48950
|
||||
|
||||
19 Apr 2004; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.2-r1.ebuild:
|
||||
fixing via ezra. closes 48160
|
||||
|
||||
15 Apr 2004; Scott W Taylor <swtaylor@gentoo.org>
|
||||
mjpegtools-1.6.2-r1.ebuild:
|
||||
More universal check for hardened
|
||||
|
||||
29 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>;
|
||||
mjpegtools-1.6.0-r7.ebuild, mjpegtools-1.6.1.90-r1.ebuild,
|
||||
mjpegtools-1.6.1.90-r2.ebuild, mjpegtools-1.6.1.91.ebuild,
|
||||
mjpegtools-1.6.1.92.ebuild, mjpegtools-1.6.1.93.ebuild,
|
||||
mjpegtools-1.6.1.ebuild, mjpegtools-1.6.2-r1.ebuild,
|
||||
mjpegtools-1.6.2.ebuild:
|
||||
Change x11-base/xfree dependency to virtual/x11.
|
||||
|
||||
18 Mar 2004; Patrick Kursawe <phosphan@gentoo.org>
|
||||
mjpegtools-1.6.2-r1.ebuild:
|
||||
Updating dependencies because of bug #38665
|
||||
|
||||
18 Mar 2004; Patrick Kursawe <phosphan@gentoo.org>
|
||||
mjpegtools-1.6.2-r1.ebuild:
|
||||
Added the patch to the latest version aswell, see bug #44645
|
||||
|
||||
17 Mar 2004; Patrick Kursawe <phosphan@gentoo.org>
|
||||
mjpegtools-1.6.1.93.ebuild, files/no-x11-lib-2.patch:
|
||||
Adding no-x11-lib patch, see bug #36771
|
||||
|
||||
17 Mar 2004; Patrick Kursawe <phosphan@gentoo.org>
|
||||
mjpegtools-1.6.1.90-r2.ebuild:
|
||||
The no-x11-lib.patch should be only applied when not using X, see bug #42037.
|
||||
|
||||
*mjpegtools-1.6.2-r1 (15 Mar 2004)
|
||||
*mjpegtools-1.6.1.90-r2 (15 Mar 2004)
|
||||
|
||||
15 Mar 2004; Patrick Kursawe <phosphan@gentoo.org>
|
||||
mjpegtools-1.6.2-r1.ebuild, mjpegtools-1.6.1.90-r2.ebuild:
|
||||
Adding missing info directory entries (bug #38459).
|
||||
|
||||
24 Feb 2004; Martin Holzer <mholzer@gentoo.org>
|
||||
files/mjpegtools-1.6.1.92-fPIC.patch, files/mjpegtools-1.6.1.93-fPIC.patch:
|
||||
adding fPIC patches. Closes 39268.
|
||||
|
||||
*mjpegtools-1.6.2 (05 Feb 2004)
|
||||
|
||||
05 Feb 2004; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.2.ebuild:
|
||||
Version bumped.
|
||||
|
||||
*mjpegtools-1.6.1.93 (18 Jan 2004)
|
||||
|
||||
18 Jan 2004; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.1.93.ebuild:
|
||||
Version bumped.
|
||||
|
||||
17 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org>
|
||||
mjpegtools-1.6.0-r7.ebuild:
|
||||
set ppc in keywords
|
||||
|
||||
*mjpegtools-1.6.1.92 (16 Jan 2004)
|
||||
|
||||
16 Jan 2004; Wout Mertens <wmertens@gentoo.org> mjpegtools-1.6.1.92.ebuild:
|
||||
Version bump and disabling -fPIC on x86 where it fails. Also first go at
|
||||
making it work for Via C3-I chips (That don't have the cmov instruction)
|
||||
Closing #37133, #36502 and #30345
|
||||
|
||||
02 Jan 2004; Daniel Ahlberg <aliz@gentoo.org> mjpegtools-1.6.1.91.ebuild:
|
||||
Added fPIC patch to make it compile on amd64. Also updated dependencies so
|
||||
that mmx, 3dnow and sse dependencies only gets pulled in for x86. Closing
|
||||
#36843.
|
||||
|
||||
28 Dec 2003; Jason Wever <weeve@gentoo.org> mjpegtools-1.6.1.90-r1.ebuild:
|
||||
Fixed ebuild so it works better with non-x86 arches. Adding ~sparc keyword as
|
||||
it compiled fine. Fixes bug #36680.
|
||||
|
||||
*mjpegtools-1.6.1.91 (26 Nov 2003)
|
||||
|
||||
26 Nov 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.1.91.ebuild:
|
||||
Version bumped.
|
||||
|
||||
14 Oct 2003; Martin Holzer <mholzer@gentoo.org>
|
||||
mjpegtools-1.6.1.90-r1.ebuild:
|
||||
updated slot. closes #30908.
|
||||
|
||||
06 Oct 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.0-r7.ebuild,
|
||||
files/mjpegtools-1.6.0-gcc3.patch:
|
||||
Added gcc3 fix. Closes #25163.
|
||||
|
||||
23 Sep 2003; Max Kalika <max@gentoo.org> mjpegtools-1.6.1.90-r1.ebuild:
|
||||
Forward-port the hardened-gcc fixes.
|
||||
|
||||
20 Sep 2003; Alexander Gabert <pappy@gentoo.org> mjpegtools-1.6.1.90.ebuild:
|
||||
added hardened-gcc exclusion gcc flags for failing assembler
|
||||
|
||||
*mjpegtools-1.6.1.90-r1 (19 Sep 2003)
|
||||
|
||||
19 Sep 2003; Max Kalika <max@gentoo.org> mjpegtools-1.6.1.90-r1.ebuild,
|
||||
files/no-x11-lib.patch:
|
||||
Remove dangling -lX11. Fixes bug 29070. Thanks to Christian Jiresjö for the
|
||||
patch
|
||||
|
||||
19 Sep 2003; Max Kalika <max@gentoo.org> mjpegtools-1.6.1.90.ebuild:
|
||||
Less aggressive flag filtering.
|
||||
|
||||
16 Sep 2003; Max Kalika <max@gentoo.org> mjpegtools-1.6.1.90.ebuild:
|
||||
Bump to stable x86.
|
||||
|
||||
*mjpegtools-1.6.1.90 (10 Sep 2003)
|
||||
|
||||
10 Sep 2003; Max Kalika <max@gentoo.org> mjpegtools-1.6.1.90.ebuild:
|
||||
Bump to version 1.6.1.90.
|
||||
|
||||
25 Aug 2003; Max Kalika <max@gentoo.org> mjpegtools-1.6.0-r7.ebuild,
|
||||
mjpegtools-1.6.1.ebuild:
|
||||
Require avifile < 0.7.38. Doesn't compile with the newest version.
|
||||
|
||||
04 Aug 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.0-r7.ebuild,
|
||||
mjpegtools-1.6.1.ebuild:
|
||||
Adding more Filtering options.
|
||||
|
||||
15 Jul 2003; pvdabeel <pvdabeel@gentoo.org> mjpegtools-1.6.1.ebuild:
|
||||
-ppc for now , lots of altivec troubles
|
||||
|
||||
16 Jun 2003; <msterret@gentoo.org> mjpegtools-1.6.1.ebuild:
|
||||
use mirror:// in SRC_URI
|
||||
|
||||
10 Jun 2003; <msterret@gentoo.org> mjpegtools-1.6.0-r7.ebuild:
|
||||
DEPEND on sed >= 4
|
||||
|
||||
09 Jun 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.0-r7.ebuild:
|
||||
Added eutils which is needed for ppc. closes #19224.
|
||||
|
||||
01 Jun 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.1.ebuild:
|
||||
Making gcc 2.95 compatible
|
||||
|
||||
01 Jun 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.0-r7.ebuild:
|
||||
Making gcc 2.95 compatible
|
||||
|
||||
*mjpegtools-1.6.1 (09 Feb 2003)
|
||||
|
||||
02 May 2003; Jon Portnoy <avenj@gentoo.org> mjpegtools-1.6.1.ebuild :
|
||||
Made gtk-1.2 an optional dependency to fix bug #19804.
|
||||
|
||||
09 Feb 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.1.ebuild
|
||||
files/digest-mjpegtools-1.6.1 ChangeLog :
|
||||
Version bumped. Submitted by mathewalexander@surewest.net in #10970.
|
||||
|
||||
*mjpegtools-1.6.0-r7 (27 Dec 2002)
|
||||
|
||||
29 Apr 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.0-r7.ebuild:
|
||||
Adding filtering. Closes #16238.
|
||||
|
||||
01 Mar 2003; Jason Wever <weeve@gentoo.org> mjpegtools-1.6.0-r7.ebuild:
|
||||
Added ~sparc to keywords.
|
||||
|
||||
22 Feb 2003; Aron Griffis <agriffis@gentoo.org> mjpegtools-1.6.0-r7.ebuild :
|
||||
Fix problem in SRC_URI... see bug 16159
|
||||
|
||||
21 Feb 2003; Aron Griffis <agriffis@gentoo.org> mjpegtools-1.6.0-r7.ebuild :
|
||||
Disable quicktime support on alpha, where it doesn't build.
|
||||
Mark stable on alpha in support of Gnome 2.2.
|
||||
|
||||
20 Feb 2003; Aron Griffis <agriffis@gentoo.org> mjpegtools-1.6.0-r7.ebuild :
|
||||
Make svgalib dependent on USE=svga. This isn't really the best
|
||||
fix because it's actually libsdl that depends on svgalib, but it
|
||||
will do for the moment. Add ~alpha to KEYWORDS and fix a couple
|
||||
niglets in the ebuild.
|
||||
|
||||
18 Feb 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.0-r7 :
|
||||
Added svgalib to DEPEND. Closes #15876.
|
||||
|
||||
10 Feb 2003; Mark Guertin <gerk@gentoo.org> mjpegtools-1.6.0-r7.ebuild
|
||||
files/1.6.0-r7-ppc.patch:
|
||||
Added patch to close bug #15441, thanks go to Lapo Calamandrei.
|
||||
|
||||
09 Feb 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.0-r7.ebuild :
|
||||
Marked as stable for x86.
|
||||
|
||||
27 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mjpegtools-1.6.0-r7.ebuild :
|
||||
Moved elibtoolize to src_compile. Remove the unneeded 'if then fi' 's for
|
||||
the 'mmx' 'sse' and '3dnow' USE flags in [R]DEPEND, as they are already
|
||||
in [R]DEPEND ...
|
||||
|
||||
*mjpegtools-1.6.0-r6 (03 Dec 2002)
|
||||
|
||||
18 Feb 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.0-r6 :
|
||||
Added svgalib to DEPEND. Closes #15876.
|
||||
|
||||
03 Dec 2002; Jon Nall <nall@gentoo.org> mjpegtools-1.6.0-r6.ebuild :
|
||||
I didn't create this version. there was no ChangeLog entry for -r6
|
||||
(though i think phoen][x's comment from 25 Nov 2002 refers to -r6.)
|
||||
|
||||
I added ~ppc and made libmovtar mmx-dependent
|
||||
|
||||
*mjpegtools-1.6.0-r5 (d1814 Nov 2002)
|
||||
|
||||
18 Feb 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.0-r5 :
|
||||
Added svgalib to DEPEND. Closes #15876.
|
||||
|
||||
25 Nov 2002; phoen][x <phoenix@gentoo.org> mjpegtools-1.6.0-r5 :
|
||||
Fixed a really evil bug which caused mjpegtools to fail in lavtools/
|
||||
when merged with USE="quicktime" - the problem comes down to this:
|
||||
lav_common.c and lav_io.c both use "dv_decoder_new(0,0,0);" which is
|
||||
wrong because dv_decoder_new() doesn't take any arguments. I used sed
|
||||
to work around that - it should work flawlessy now. This fixes bug #11163.
|
||||
|
||||
14 Nov 2002; Matthew Kennedy <mkennedy@gentoo.org>
|
||||
mjpegtools-1.6.0-r5.ebuild files/digest-mjpegtools-1.6.0-r5, ChangeLog :
|
||||
Filter compiler flags. Resolves bug #10962
|
||||
|
||||
*mjpegtools-1.6.0-r4 (14 Nov 2002)
|
||||
|
||||
14 Nov 2002; Seemant Kulleen <seemant@gentoo.org>
|
||||
mjpegtools-1.6.0-r4.ebuild files/digest-mjpegtools-1.6.0-r4 :
|
||||
Added avifile as a dependency (based on "avi" USE flag), so that it
|
||||
installs lav2divx utilities as well. Closes bug #10516 by
|
||||
ajacoutot@lphp.org (ajacoutot)
|
||||
|
||||
*mjpegtools-1.6.0-r3 (26 Jul 2002)
|
||||
|
||||
30 Aug 2002; Dan Armak <danarmak@gentoo.org> ChangeLog :
|
||||
Add missing deps on libdv and arts (tha latter one is optional); see
|
||||
bug #7081.
|
||||
|
||||
26 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> mjpegtools-1.6.0-r3.ebuild :
|
||||
Closes #4702. Also added nasm to dependancy list (if 3dnow, sse or mmx are in USE)
|
||||
to make mjpegtools more optimized.
|
||||
|
||||
*mjpegtools-1.6.0-r2 (08 Jul 2002)
|
||||
|
||||
08 Jul 2002; Spider <spider@gentoo.org> mjpegtools-1.6.0-r2.ebuild :
|
||||
fixed remnants of ${D} in .la files
|
||||
|
||||
*mjpegtools-1.6.0-r1 (30 May 2002)
|
||||
|
||||
30 May 2002; Seemant Kulleen <seemant@gentoo.org>
|
||||
mjpegtools-1.6.0-r1.ebuild files/digest-mjpegtools-1.6.0-r1 :
|
||||
Fixed some dependency information, thanks to: aliz@telia.com (Daniel
|
||||
Ahlberg) in bug #3108
|
||||
|
||||
*mjpegtools-1.6.0 (26 May 2002)
|
||||
|
||||
26 May 2002; Seemant Kulleen <seemant@gentoo.org> mjpegtools-1.6.0.ebuild
|
||||
files/digest-mjpegtools-1.6.0 :
|
||||
Version bump to newest stable
|
||||
|
||||
*mjpegtools-1.5.20011611-r2 (12 Apr 2002)
|
||||
12 Apr 2002; Spider <spider@gentoo.org>
|
||||
Updating dependency for libpng 1.2.1
|
||||
|
||||
*mjpegtools-1.5.20011611-r1 (12 Apr 2002)
|
||||
|
||||
12 Apr 2002; Seemant Kulleen <seemant@gentoo.org>
|
||||
mjpegtools-1.5.20011611-r1.ebuild :
|
||||
Changed avifile USE flag to avi USE flag instead and cleaned up ebuild
|
||||
a little.
|
||||
|
||||
*mjpegtools-1.5.20011611-r1 (1 Feb 2002)
|
||||
|
||||
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
|
||||
Added initial ChangeLog which should be updated whenever the package is
|
||||
updated in any way. This changelog is targetted to users. This means that the
|
||||
comments should well explained and written in clean English. The details about
|
||||
writing correct changelogs are explained in the skel.ChangeLog file which you
|
||||
can find in the root directory of the portage repository.
|
||||
@@ -1,7 +0,0 @@
|
||||
AUX mjpegtools-1.9.0-glibc-2.10.patch 429 RMD160 ef7f706aeda7ebfa04dbd43b70a5e3e6faf24610 SHA1 3029f0e835e693b144298ed9f8143c9566be26f3 SHA256 0a76b418df4daa1603c827001ede6a1b3da4457b5d3aefeda0a656cd88ad446b
|
||||
AUX mjpegtools-1.9.0-jpeg-7.patch 774 RMD160 22c50dd28617159eaa89aefb4647e21d4d9972e7 SHA1 2bdb1b3b8591cede11d4a133a758e8ead35db4dd SHA256 2c9b90a283e8e6d95bd9573cd16310107c654d0d701a7dff7e47ee1a773da7cf
|
||||
AUX mjpegtools-kernel-headers-2.6.38-videodev.h.patch 803 RMD160 e56cb26617f837017973ae61a0d849091997f97c SHA1 9b4dc9bb59e59b28a4f3ebb6d4649cd0fafcdf6c SHA256 a52699979d01369ef0ce8931e91d398ef7d8b54ec7b807de4b0bf07faf593d05
|
||||
DIST mjpegtools-1.9.0.tar.gz 1718063 RMD160 79e0eb4bce468bb8f12da336e29abe8fab390a5f SHA1 1701233354c7ea86b5b7808c4dd5d03a71118e48 SHA256 a9322aaab1e0835fbaa00fc10e58e885833454fa0ad6f57c60c89a78f7ed1711
|
||||
EBUILD mjpegtools-1.9.0-r1.ebuild 2163 RMD160 8df34598ea5102ae3876ff73acd2c98077734648 SHA1 d0ce1e2094c04b8481cd8608a6fa4bd1d2de14b7 SHA256 5678e8271c6f66d9ee06c256b6a395306a2b08f162002c7603d86d4defb83003
|
||||
MISC ChangeLog 27091 RMD160 f6ae3de42807e4f3be9beab90e23d31092f93990 SHA1 5aa735164d29e982fe1f5f05d61cf84e243eb250 SHA256 cc663ac6651287f96a2616d4dfb3fe2c938fb79ed2de05085d44d20faba65b24
|
||||
MISC metadata.xml 415 RMD160 cdbf5de3ece63e3df10d1a4e69ed5e471abb84fa SHA1 5ae767eb57a50fff79f938a01332e67f88306aff SHA256 75cf2c90452ef1a74f46812e6ffee8c2f25a979f3a0b8e366032ee60bdb8663b
|
||||
@@ -1,11 +0,0 @@
|
||||
--- mjpegtools-1.9.0/mplex/lpcmstrm_in.cpp.orig 2009-05-27 01:31:46.000000000 -0700
|
||||
+++ mjpegtools-1.9.0/mplex/lpcmstrm_in.cpp 2009-05-27 01:33:09.000000000 -0700
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
bool LPCMStream::Probe(IBitStream &bs )
|
||||
{
|
||||
- char *last_dot = strrchr( bs.StreamName(), '.' );
|
||||
+ const char *last_dot = strrchr( bs.StreamName(), '.' );
|
||||
return
|
||||
last_dot != NULL
|
||||
&& strcmp( last_dot+1, "lpcm") == 0;
|
||||
@@ -1,24 +0,0 @@
|
||||
Fix segmentation fault with jpeg-7 and above where dinfo.do_fancy_upsampling isn't set by default to FALSE anymore.
|
||||
|
||||
Patch by: Salah Coronya
|
||||
|
||||
http://bugs.gentoo.org/show_bug.cgi?id=293919
|
||||
|
||||
--- lavtools/jpegutils.c
|
||||
+++ lavtools/jpegutils.c
|
||||
@@ -502,6 +502,7 @@
|
||||
|
||||
jpeg_read_header (&dinfo, TRUE);
|
||||
dinfo.raw_data_out = TRUE;
|
||||
+ dinfo.do_fancy_upsampling = FALSE;
|
||||
dinfo.out_color_space = JCS_YCbCr;
|
||||
dinfo.dct_method = JDCT_IFAST;
|
||||
guarantee_huff_tables(&dinfo);
|
||||
@@ -599,6 +600,7 @@
|
||||
if (field > 0) {
|
||||
jpeg_read_header (&dinfo, TRUE);
|
||||
dinfo.raw_data_out = TRUE;
|
||||
+ dinfo.do_fancy_upsampling = FALSE;
|
||||
dinfo.out_color_space = JCS_YCbCr;
|
||||
dinfo.dct_method = JDCT_IFAST;
|
||||
jpeg_start_decompress (&dinfo);
|
||||
@@ -1,22 +0,0 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index f06488a..0413374 100644
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -159,7 +159,7 @@ case $host in
|
||||
[have_video4linux=true
|
||||
AC_DEFINE(HAVE_V4L, 1,
|
||||
[Building for Linux - using the video4linux API])],
|
||||
- [AC_MSG_ERROR([videodev.h not found - please install the linux kernel headers])])
|
||||
+ [AC_MSG_WARN([videodev.h not found - please install the linux kernel headers])])
|
||||
;;
|
||||
esac
|
||||
AM_CONDITIONAL(HAVE_V4L, test x$have_video4linux = xtrue)
|
||||
diff --git a/autogen.sh b/autogen.sh
|
||||
index c894008..f5c6a7c 100755
|
||||
--- autogen.sh
|
||||
+++ autogen.sh
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
-export ACLOCAL="aclocal -I missing_M4"
|
||||
autoreconf -f -i
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>video</herd>
|
||||
<herd>media-tv</herd>
|
||||
<maintainer>
|
||||
<email>media-video@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>media-tv@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="yv12">Enables support for the YV12 pixel format</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-1.9.0-r1.ebuild,v 1.9 2011/04/01 09:48:15 ssuominen Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs eutils libtool
|
||||
|
||||
MY_P=${P/_/}
|
||||
|
||||
DESCRIPTION="Tools for MJPEG video"
|
||||
HOMEPAGE="http://mjpeg.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/mjpeg/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="1"
|
||||
KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
|
||||
IUSE="gtk dv quicktime sdl yv12 v4l dga png mmx"
|
||||
|
||||
RDEPEND="virtual/jpeg
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
dv? ( >=media-libs/libdv-0.99 )
|
||||
quicktime? ( media-libs/libquicktime )
|
||||
png? ( media-libs/libpng )
|
||||
sdl? ( >=media-libs/libsdl-1.2.7-r3 )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
mmx? ( dev-lang/nasm )
|
||||
>=sys-apps/sed-4
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure.ac
|
||||
epatch "${FILESDIR}"/${P}-glibc-2.10.patch \
|
||||
"${FILESDIR}"/${P}-jpeg-7.patch \
|
||||
"${FILESDIR}"/mjpegtools-kernel-headers-2.6.38-videodev.h.patch
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
if use yv12 && use dv; then
|
||||
myconf="${myconf} --with-dv-yv12"
|
||||
elif use yv12; then
|
||||
ewarn "yv12 support is possible when 'dv' is in your USE flags."
|
||||
fi
|
||||
|
||||
[[ $(gcc-major-version) -eq 3 ]] && append-flags -mno-sse2
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
econf \
|
||||
--with-x \
|
||||
$(use_enable dga xfree-ext) \
|
||||
$(use_with quicktime libquicktime) \
|
||||
$(use_with png libpng) \
|
||||
$(use_with v4l) \
|
||||
$(use_with gtk) \
|
||||
$(use_with sdl) \
|
||||
$(use_with dv libdv /usr) \
|
||||
$(use_enable mmx simd-accel) \
|
||||
--enable-largefile \
|
||||
--without-jpeg-mmx \
|
||||
${myconf}
|
||||
|
||||
emake || die
|
||||
|
||||
cd docs
|
||||
local infofile
|
||||
for infofile in mjpeg*info*; do
|
||||
echo "INFO-DIR-SECTION Miscellaneous" >> ${infofile}
|
||||
echo "START-INFO-DIR-ENTRY" >> ${infofile}
|
||||
echo "* mjpeg-howto: (mjpeg-howto). How to use the mjpeg-tools" >> ${infofile}
|
||||
echo "END-INFO-DIR-ENTRY" >> ${infofile}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die
|
||||
dodoc mjpeg_howto.txt README* PLANS NEWS TODO HINTS BUGS ChangeLog \
|
||||
AUTHORS CHANGES
|
||||
}
|
||||
Reference in New Issue
Block a user