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:
parent
4a18a96bee
commit
016082f3d4
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
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
# ChangeLog for net-fs/samba
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
*samba-3.5.0_rc3 (20 Feb 2010)
|
||||
|
||||
20 Feb 2010; Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
|
||||
+files/3.5/lmhosts, +files/3.5/nsswitch.conf-winbind,
|
||||
+files/3.5/nsswitch.conf-wins, +files/3.5/samba.confd,
|
||||
+files/3.5/samba.initd, +files/3.5/samba.pam, +files/3.5/smb.conf.default,
|
||||
+files/3.5/smbusers, +files/3.5/swat.xinetd,
|
||||
+files/samba-3.4.2-lib.tevent.python.mk, +samba-3.5.0_rc3.ebuild,
|
||||
+files/3.5/system-auth-winbind.pam, metadata.xml:
|
||||
Added a merged samba 3.5 ebuild (files copied from the tree)
|
||||
|
@ -1,8 +0,0 @@
|
||||
AUX samba4.initd 540 RMD160 4ac822b4214ebcbf694ebca611e0c48baaeabe33 SHA1 75aad52258548f5593c34b7c363a0903e669655e SHA256 2fbd1e276bdf58060b5d74dfd03b3b934f788c10cff5a35e9cc857cd5a51ebf1
|
||||
DIST samba-4.0.0alpha13.tar.gz 8681348 RMD160 522e1754044f0fb1141246c1a37f28f08567d069 SHA1 c6ff1eafba5869e9ea74f046668cf147ce834da8 SHA256 3cf571d6d32e07537f2b315f3976eb5e5ee563af17a12e406d6d3671fc59cf6c
|
||||
DIST samba-4.0.0alpha14.tar.gz 9003353 RMD160 8e6d0f89139ad3251188dc74a9b9e93aa4f0a3a8 SHA1 76cec4e695336d8a9a5e428be9e7b53348b8b5a0 SHA256 6ad7954ad8da388d43444bbebcfeacd601904853cd88d4ee7dd42896b31375ca
|
||||
EBUILD samba-4.0.0_alpha13.ebuild 2381 RMD160 771da3aade50734264e68b96e5454e41d690135b SHA1 58e00beb8ae97b488deb4740ee73e064f4a295cb SHA256 9e1852cc2f838ec4a665e5472dd5540013ab911b804ce062b87d9834ca290d23
|
||||
EBUILD samba-4.0.0_alpha14.ebuild 2381 RMD160 771da3aade50734264e68b96e5454e41d690135b SHA1 58e00beb8ae97b488deb4740ee73e064f4a295cb SHA256 9e1852cc2f838ec4a665e5472dd5540013ab911b804ce062b87d9834ca290d23
|
||||
EBUILD samba-4.9999.ebuild 2381 RMD160 771da3aade50734264e68b96e5454e41d690135b SHA1 58e00beb8ae97b488deb4740ee73e064f4a295cb SHA256 9e1852cc2f838ec4a665e5472dd5540013ab911b804ce062b87d9834ca290d23
|
||||
MISC ChangeLog 638 RMD160 0c908047481a22b1e71fe53efbffaa440bac543a SHA1 3be25bb28f1a39e08ce8c7b8ebf72343b5c9c3f4 SHA256 756cc4d2783e0497f9e82dfc7349fd2b53c026994cea6b647684715a0603db9a
|
||||
MISC metadata.xml 607 RMD160 aeddb2c2dba872001c02f500e89dd494181d90fa SHA1 8b7bc7647d15b519e6e2f2a02058aa0dbe592f29 SHA256 5a7f46589354ab4e7a2c6ef61c0bede07f3567ea04899686fc94a4b083ab319e
|
@ -1,31 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
opts="reload"
|
||||
|
||||
description="The samba daemon init script"
|
||||
description_reload="Reloads the samba daemon"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting samba"
|
||||
start-stop-daemon --start --exec /usr/sbin/samba
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping samba"
|
||||
start-stop-daemon --stop --pidfile /var/run/samba/samba.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading samba"
|
||||
killall -HUP samba
|
||||
eend $?
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd></herd>
|
||||
<maintainer>
|
||||
<email>gentoo@kohlvanwijngaarden.nl</email>
|
||||
<name>Ewoud Kohl van Wijngaarden</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Samba is an Open Source/Free Software suite that provides seamless file and
|
||||
print services to SMB/CIFS clients. Integration with various accounting and
|
||||
antivirus backends. License: GNU General Public License.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="fulltest">Enables the full test suite</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,110 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit confutils python
|
||||
|
||||
MY_PV="${PV/_alpha/alpha}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
EGIT_REPO_URI="git://git.samba.org/samba.git"
|
||||
inherit git
|
||||
else
|
||||
SRC_URI="mirror://samba/samba4/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Samba Server component"
|
||||
HOMEPAGE="http://www.samba.org/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnutls fulltest"
|
||||
|
||||
DEPEND="!net-fs/samba-libs
|
||||
!net-fs/samba-server
|
||||
!net-fs/samba-client
|
||||
dev-libs/popt
|
||||
sys-libs/readline
|
||||
virtual/libiconv
|
||||
>=dev-lang/python-2.4.2
|
||||
gnutls? ( >=net-libs/gnutls-1.4.0 )
|
||||
!sys-libs/tdb" # Conflict because of tdb binaries
|
||||
#>=sys-libs/talloc-2.0.3 No 2.0.3 release
|
||||
#>=sys-libs/tdb-1.2.4 No 1.2.4 release
|
||||
#=sys-libs/tevent-0.9.9 System tevent wants system talloc
|
||||
#=sys-libs/ldb-0.9.11 No release yet
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/source4"
|
||||
|
||||
WAF="${WORKDIR}/${MY_P}/buildtools/bin/waf"
|
||||
|
||||
pkg_setup() {
|
||||
confutils_use_depend_all fulltest test
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
S="${WORKDIR}/${MY_P}" git_src_unpack
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME add --jobs
|
||||
# Mostly copied from debian
|
||||
FLAGS="$CFLAGS" $WAF configure -C \
|
||||
--enable-fhs \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-piddir=/var/run \
|
||||
--with-privatedir=/var/lib/samba/private \
|
||||
--disable-rpath \
|
||||
--disable-rpath-install \
|
||||
--bundled-libraries=ldb,tdb,talloc,tevent,NONE \
|
||||
--builtin-libraries=replace \
|
||||
--nopyc \
|
||||
--nopyo \
|
||||
$(use_enable gnutls) \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$WAF build || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" $WAF install || die "emake install failed"
|
||||
|
||||
newinitd "${FILESDIR}/samba4.initd" samba || die "newinitd failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use fulltest ; then
|
||||
$WAF test || die "test failed"
|
||||
else
|
||||
$WAF test --quick || die "Test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Optimize the python modules so they get properly removed
|
||||
python_mod_optimize "${PN}"
|
||||
|
||||
# Warn that it's an alpha
|
||||
ewarn "Samba 4 is an alpha and therefore not considered stable. It's only"
|
||||
ewarn "meant to test and experiment and definitely not for production"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Clean up the python modules
|
||||
python_mod_cleanup "${PN}"
|
||||
}
|
@ -1,110 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit confutils python
|
||||
|
||||
MY_PV="${PV/_alpha/alpha}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
EGIT_REPO_URI="git://git.samba.org/samba.git"
|
||||
inherit git
|
||||
else
|
||||
SRC_URI="mirror://samba/samba4/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Samba Server component"
|
||||
HOMEPAGE="http://www.samba.org/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnutls fulltest"
|
||||
|
||||
DEPEND="!net-fs/samba-libs
|
||||
!net-fs/samba-server
|
||||
!net-fs/samba-client
|
||||
dev-libs/popt
|
||||
sys-libs/readline
|
||||
virtual/libiconv
|
||||
>=dev-lang/python-2.4.2
|
||||
gnutls? ( >=net-libs/gnutls-1.4.0 )
|
||||
!sys-libs/tdb" # Conflict because of tdb binaries
|
||||
#>=sys-libs/talloc-2.0.3 No 2.0.3 release
|
||||
#>=sys-libs/tdb-1.2.4 No 1.2.4 release
|
||||
#=sys-libs/tevent-0.9.9 System tevent wants system talloc
|
||||
#=sys-libs/ldb-0.9.11 No release yet
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/source4"
|
||||
|
||||
WAF="${WORKDIR}/${MY_P}/buildtools/bin/waf"
|
||||
|
||||
pkg_setup() {
|
||||
confutils_use_depend_all fulltest test
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
S="${WORKDIR}/${MY_P}" git_src_unpack
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME add --jobs
|
||||
# Mostly copied from debian
|
||||
FLAGS="$CFLAGS" $WAF configure -C \
|
||||
--enable-fhs \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-piddir=/var/run \
|
||||
--with-privatedir=/var/lib/samba/private \
|
||||
--disable-rpath \
|
||||
--disable-rpath-install \
|
||||
--bundled-libraries=ldb,tdb,talloc,tevent,NONE \
|
||||
--builtin-libraries=replace \
|
||||
--nopyc \
|
||||
--nopyo \
|
||||
$(use_enable gnutls) \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$WAF build || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" $WAF install || die "emake install failed"
|
||||
|
||||
newinitd "${FILESDIR}/samba4.initd" samba || die "newinitd failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use fulltest ; then
|
||||
$WAF test || die "test failed"
|
||||
else
|
||||
$WAF test --quick || die "Test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Optimize the python modules so they get properly removed
|
||||
python_mod_optimize "${PN}"
|
||||
|
||||
# Warn that it's an alpha
|
||||
ewarn "Samba 4 is an alpha and therefore not considered stable. It's only"
|
||||
ewarn "meant to test and experiment and definitely not for production"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Clean up the python modules
|
||||
python_mod_cleanup "${PN}"
|
||||
}
|
@ -1,110 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit confutils python
|
||||
|
||||
MY_PV="${PV/_alpha/alpha}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
EGIT_REPO_URI="git://git.samba.org/samba.git"
|
||||
inherit git
|
||||
else
|
||||
SRC_URI="mirror://samba/samba4/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Samba Server component"
|
||||
HOMEPAGE="http://www.samba.org/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnutls fulltest"
|
||||
|
||||
DEPEND="!net-fs/samba-libs
|
||||
!net-fs/samba-server
|
||||
!net-fs/samba-client
|
||||
dev-libs/popt
|
||||
sys-libs/readline
|
||||
virtual/libiconv
|
||||
>=dev-lang/python-2.4.2
|
||||
gnutls? ( >=net-libs/gnutls-1.4.0 )
|
||||
!sys-libs/tdb" # Conflict because of tdb binaries
|
||||
#>=sys-libs/talloc-2.0.3 No 2.0.3 release
|
||||
#>=sys-libs/tdb-1.2.4 No 1.2.4 release
|
||||
#=sys-libs/tevent-0.9.9 System tevent wants system talloc
|
||||
#=sys-libs/ldb-0.9.11 No release yet
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/source4"
|
||||
|
||||
WAF="${WORKDIR}/${MY_P}/buildtools/bin/waf"
|
||||
|
||||
pkg_setup() {
|
||||
confutils_use_depend_all fulltest test
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
S="${WORKDIR}/${MY_P}" git_src_unpack
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME add --jobs
|
||||
# Mostly copied from debian
|
||||
FLAGS="$CFLAGS" $WAF configure -C \
|
||||
--enable-fhs \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-piddir=/var/run \
|
||||
--with-privatedir=/var/lib/samba/private \
|
||||
--disable-rpath \
|
||||
--disable-rpath-install \
|
||||
--bundled-libraries=ldb,tdb,talloc,tevent,NONE \
|
||||
--builtin-libraries=replace \
|
||||
--nopyc \
|
||||
--nopyo \
|
||||
$(use_enable gnutls) \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$WAF build || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" $WAF install || die "emake install failed"
|
||||
|
||||
newinitd "${FILESDIR}/samba4.initd" samba || die "newinitd failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use fulltest ; then
|
||||
$WAF test || die "test failed"
|
||||
else
|
||||
$WAF test --quick || die "Test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Optimize the python modules so they get properly removed
|
||||
python_mod_optimize "${PN}"
|
||||
|
||||
# Warn that it's an alpha
|
||||
ewarn "Samba 4 is an alpha and therefore not considered stable. It's only"
|
||||
ewarn "meant to test and experiment and definitely not for production"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Clean up the python modules
|
||||
python_mod_cleanup "${PN}"
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
# ChangeLog for net-ftp/oftpd
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
06 Nov 2010; Mario Fetka <mario.fetka@gmail.com> +files/init.d.oftpd-r1:
|
||||
add init script back
|
||||
|
||||
06 Nov 2010; Mario Fetka <mario.fetka@gmail.com> -oftpd-0.3.7-r5.ebuild,
|
||||
+oftpd-0.3.7-r6.ebuild, -files/conf.d.oftpd-r1, +files/conf.d.oftpd-r6,
|
||||
-files/init.d.oftpd-r1:
|
||||
bump to gentoo's latest conf file
|
||||
|
||||
09 May 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
+files/oftpd-0.3.7-r4.diff:
|
||||
add ipv6 patch
|
||||
|
||||
05 Jan 2010; Mario Fetka <mario.fetka@gmail.com> +metadata.xml:
|
||||
initial checkin based on official gentoo ebuild but with proper ipv6 patch
|
||||
|
@ -1,9 +0,0 @@
|
||||
AUX conf.d.oftpd-r6 579 RMD160 8433daa924b3cda57ca579ef451c25749b07b4d2 SHA1 9989021aac01c58e0b5e5703b2263c32184a0c34 SHA256 fabff4fcce71d756ea1fb88951dee6f6146aa3d0dc867ccbca02723369fce800
|
||||
AUX init.d.oftpd-r1 722 RMD160 3e24790f4d56d2eff46ce810c8433a10f852c1ad SHA1 49e4d235f382eedd24b25955c1cf2764a94ee08b SHA256 cd3c98cc8bc3255503d9cc9946749d53d90410bf9d4c0a3a9ddb6819c87ab84e
|
||||
AUX oftpd-0.3.7-family-1.patch 936 RMD160 0668323bb69fac190d8b1c4bcb0f5ed1c9c2b692 SHA1 945970c75cd4d23b4027f72521f4390a8b8ee4e6 SHA256 fe903d6fbb4a523f7b85dfb4c112f489da07764e8d67e15faa9b8380d400ba2a
|
||||
AUX oftpd-0.3.7-ipv6rel2-1.patch 44765 RMD160 563fafe68e9e1be6b96116b7ae0c24204147b6f7 SHA1 5b7fd9a9b46cdcb2e3d081bdecb255b584826d42 SHA256 4ae576a749c26dd66432c273ec71c0d7fc34a4159cd7fd7760e484304eeb1ccc
|
||||
AUX oftpd-0.3.7-r4.diff 1254 RMD160 64dbf5d120e03beffb3bce72ce16d647f54c906c SHA1 f8182ff728b0d9752429702e7ca04e79051dfca2 SHA256 4497626ffbbff1134b8940da423a2ad1f8fecba0e743d370e73da756ae949438
|
||||
DIST oftpd-0.3.7.tar.gz 97364 RMD160 9430607bf0c51847a4e4cc97c84be0495c931183 SHA1 d6d3ce43c009bb68736d50739e9a2f60bede99c1 SHA256 b135cd2bc6c54e03e5374845964eab73d5e567160c15bb4226c1c922b1e6d64e
|
||||
EBUILD oftpd-0.3.7-r6.ebuild 1030 RMD160 f7c031eefa6978cb7402c2291b8d4aa0f282ad2e SHA1 183e9049795dd1feb90784d9c9bcb47aabe31d08 SHA256 0eddbfd2e9371052b8ba1a2a1aafb41b7224e4ff0efb33bae8039d0ad82fd72b
|
||||
MISC ChangeLog 668 RMD160 c32b7d7b407ce6141f32f22e6d3caba40713a7ed SHA1 2de30e96bc412ca29dcf84ba57e090bfb6b08978 SHA256 b17456cb39c45c46de0c71a1add806e7c11b69c3f60bf4a87576ff7368918033
|
||||
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5
|
@ -1,17 +0,0 @@
|
||||
# Please read the oftpd(8) man page for a more detailed explaination of these
|
||||
# variables.
|
||||
#
|
||||
# FTPUSER (user-name in the man page):
|
||||
# Set this variable to the user to run the ftp daemon as
|
||||
FTPUSER=ftp
|
||||
|
||||
# FTPROOT (root-directory in the man page):
|
||||
# The server uses chroot(2) to change the root directory of the server to this
|
||||
# directory. When a user connects, this is the directory that they will start
|
||||
# in, and is the top of their directory tree.
|
||||
#
|
||||
FTPROOT=/home/ftp
|
||||
|
||||
# FTPPORT (TCP port)
|
||||
# 22 is the standard ftp port, but you can change it here to something else
|
||||
FTPPORT=22
|
@ -1,29 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/files/init.d.oftpd-r1,v 1.3 2009/06/13 19:31:06 grobian Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ -z "${FTPUSER}" ] || [ -z "${FTPROOT}" ] || [ -z "${FTPPORT}" ] ; then
|
||||
eerror "You need to setup FTPUSER, FTPROOT and FTPPORT in /etc/conf.d/oftpd"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
|
||||
ebegin "Starting oftpd"
|
||||
start-stop-daemon --start --exec /usr/sbin/oftpd -- -p ${FTPPORT} ${FTPUSER} ${FTPROOT}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping oftpd"
|
||||
start-stop-daemon --stop --quiet --exec /usr/sbin/oftpd
|
||||
eend $?
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
|
||||
Date: 2010-01-05
|
||||
Initial Package Version: 0.3.7
|
||||
Origin: http://gentoo.mirror.solnet.ch/net-ftp/oftpd/files/oftpd-0.3.7-family.patch
|
||||
Upstream Status: unkonwn
|
||||
Description: dont crash on wrong protocol family
|
||||
|
||||
diff -Naur oftpd-0.3.7.orig/src/ftp_session.c oftpd-0.3.7/src/ftp_session.c
|
||||
--- oftpd-0.3.7.orig/src/ftp_session.c 2010-01-05 21:56:48.540303543 +0000
|
||||
+++ oftpd-0.3.7/src/ftp_session.c 2010-01-05 21:57:29.995553119 +0000
|
||||
@@ -708,10 +708,12 @@
|
||||
if ((((struct sockaddr *)host_port)->sa_family != AF_INET) &&
|
||||
(((struct sockaddr *)host_port)->sa_family != AF_INET6)) {
|
||||
reply(f, 521, "Only IPv4 and IPv6 supported, address families (4,6)");
|
||||
+ return;
|
||||
}
|
||||
#else
|
||||
if (((struct sockaddr *)host_port)->sa_family != AF_INET) {
|
||||
reply(f, 521, "Only IPv4 supported, address family (4)");
|
||||
+ return;
|
||||
}
|
||||
#endif
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,42 +0,0 @@
|
||||
--- /usr/portage/net-ftp/oftpd/oftpd-0.3.7-r4.ebuild 2009-05-29 16:00:05.000000000 +0200
|
||||
+++ oftpd-0.3.7-r5.ebuild 2010-01-05 23:07:34.079555852 +0100
|
||||
@@ -1,9 +1,9 @@
|
||||
-# Copyright 1999-2009 Gentoo Foundation
|
||||
+# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/oftpd-0.3.7-r4.ebuild,v 1.1 2009/05/29 14:00:05 rbu Exp $
|
||||
+# $Header: $
|
||||
|
||||
EAPI=2
|
||||
-inherit eutils
|
||||
+inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Secure, small, anonymous only ftpd"
|
||||
HOMEPAGE="http://www.time-travellers.org/oftpd"
|
||||
@@ -12,21 +12,23 @@
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
-IUSE=""
|
||||
+IUSE="ipv6"
|
||||
|
||||
DEPEND="net-ftp/ftpbase"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
+ epatch "${FILESDIR}"/oftpd-0.3.7-ipv6rel2-1.patch
|
||||
# Don't crash when using an unsupported address family, #159178.
|
||||
- epatch "${FILESDIR}"/oftpd-0.3.7-family.patch
|
||||
+ epatch "${FILESDIR}"/oftpd-0.3.7-family-1.patch
|
||||
+ eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# local myconf
|
||||
# ipv6 support busted according to lamer
|
||||
# use ipv6 && myconf="${myconf} --enable-ipv6"
|
||||
- econf --bindir=/usr/sbin || die
|
||||
+ econf --bindir=/usr/sbin $(use_enable ipv6) || die
|
||||
}
|
||||
|
||||
src_install() {
|
@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!--
|
||||
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
|
||||
|
||||
This is the example metadata file.
|
||||
The root element of this file is <pkgmetadata>. Within this element a
|
||||
number of subelements are allowed: herd, maintainer, and
|
||||
longdescription. herd is a required subelement.
|
||||
|
||||
For a full description look at:
|
||||
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
|
||||
|
||||
|
||||
Before committing, please remove the comments from this file. They are
|
||||
not relevant for general metadata.xml files.
|
||||
-->
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>@gentoo.org</email>
|
||||
<!-- <description>Description of the maintainership</description> -->
|
||||
</maintainer>
|
||||
<!-- <longdescription>Long description of the package</longdescription> -->
|
||||
<!--
|
||||
<use>
|
||||
<flag name='flag'>Description of how USE='flag' affects this package</flag>
|
||||
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
|
||||
package</flag>
|
||||
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
|
||||
Requires an installed dictionary from <cat>app-dicts</cat></flag>
|
||||
</use>
|
||||
-->
|
||||
</pkgmetadata>
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Secure, small, anonymous only ftpd"
|
||||
HOMEPAGE="http://www.time-travellers.org/oftpd"
|
||||
SRC_URI="http://www.time-travellers.org/oftpd/${P}.tar.gz"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
IUSE="ipv6"
|
||||
|
||||
DEPEND="net-ftp/ftpbase"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/oftpd-0.3.7-ipv6rel2-1.patch
|
||||
# Don't crash when using an unsupported address family, #159178.
|
||||
epatch "${FILESDIR}"/oftpd-0.3.7-family-1.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# local myconf
|
||||
# ipv6 support busted according to lamer
|
||||
# use ipv6 && myconf="${myconf} --enable-ipv6"
|
||||
econf --bindir=/usr/sbin $(use_enable ipv6) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS BUGS FAQ NEWS README TODO
|
||||
keepdir /home/ftp
|
||||
newinitd "${FILESDIR}"/init.d.oftpd-r1 oftpd
|
||||
newconfd "${FILESDIR}"/conf.d.oftpd-r6 oftpd
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
# ChangeLog for sys-devel/openwatcom
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
07 Nov 2010; Mario Fetka <mario.fetka@gmail.com> +metadata.xml:
|
||||
initial checkin based on #206293
|
||||
|
@ -1,10 +0,0 @@
|
||||
AUX build.sh.patch 494 RMD160 bd6a6cdc97c8c6d328581352a4270e7e2d8f5505 SHA1 f6872a0282e5f06157cfbfef7412600752089903 SHA256 a28399a67e990e0e87aa8f617d2e2df16a09b4aabcacd953b5974a936c910de9
|
||||
AUX wmake_c_mglob.c.patch 480 RMD160 be5c09f70696a57f666e920e62c26267720fa900 SHA1 1fc74047215bd607befb397f1f475d09cd9fe24d SHA256 2386c16c22e87d7547ff2c0d0d24e5ea8e8b15163f44e86f937c3e828768cd6d
|
||||
DIST open_watcom_1.7.1-src.tar.bz2 26173755 RMD160 cc9bc3a5bf41a560058a4ffb3d55146cf9d4b40a SHA1 b9289221ffa8a595fcfce6a1a94bef5808bdf629 SHA256 14410438afd2d331e89dd2ae60a6e75e2db1251bba6f8a416a4b5987f8f4c712
|
||||
DIST open_watcom_1.8.0-src.tar.bz2 27013448 RMD160 19051fed3a323aa271634ef398f146cabe195158 SHA1 7ac7ac7c6ed986e85d0fc080d0a06f3130d64b8e SHA256 191b66783e02d28f0c8503e9f82f820883134648349d8c917cefacb850ca4aef
|
||||
DIST open_watcom_1.9.0-src.tar.bz2 27927922 RMD160 198f43cd08dd3f1829c6eb1f1ebfd00dca509403 SHA1 70922850abed798dc7c766eceb7797345a94f22e SHA256 6d303327988ee2dda60cfabebf3f45a9758aee4da117d41cf3153fccb7e5e4bf
|
||||
EBUILD openwatcom-1.7.1.ebuild 969 RMD160 25ab08b4accce4bf8952663e8d0c1b4e06c7a5ad SHA1 d9f9a0a8e37e67e801e14e362dfe320ae04915e0 SHA256 702b7bcd3dfaffd4349d6b1ec7df918d0437cd2db98d2724e276081df80ad549
|
||||
EBUILD openwatcom-1.8.0.ebuild 1021 RMD160 686e54be3109dfed8a8a98785ee356d58c097ac5 SHA1 23a7e4b1ca4848ef5afd04807ef044773babc680 SHA256 927c251c78a09397cef6344972cbe40ce1a4a5bbba14bf5bc06f031742fdc6d9
|
||||
EBUILD openwatcom-1.9.0.ebuild 1018 RMD160 84875c85495ca2ac42ebc8e36c40c9850d461ed4 SHA1 2c6bb7b6d883f4e57564af46fd5fcc7758b9df88 SHA256 0254c717f97c64196fa3df43ccbacbf66088376df6670417fade0f31f48109cc
|
||||
MISC ChangeLog 223 RMD160 fbf2655842c47ac26995304732b75109ec388ea7 SHA1 c954260bf8abb8d3a98595c8fdb118d5de357e3a SHA256 eb57058bfe55945d97d23766de6bcd957b33441c19dcedbbef4c8e9810311a24
|
||||
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5
|
@ -1,16 +0,0 @@
|
||||
--- orig/build.sh 2009-10-07 10:55:38.000000000 +0200
|
||||
+++ new/build.sh 2009-10-07 10:55:19.000000000 +0200
|
||||
@@ -4,10 +4,10 @@
|
||||
# using the GNU C/C++ compiler tools. If you already have a working
|
||||
# Open Watcom compiler, you do not need to use the bootstrap process
|
||||
|
||||
-if [ -f setvars ]; then
|
||||
- . setvars
|
||||
+if [ -f ./setvars ]; then
|
||||
+ . ./setvars
|
||||
else
|
||||
- . setvars.sh
|
||||
+ . ./setvars.sh
|
||||
fi
|
||||
if [ ! -f $DEVDIR/build/binl/wtouch ]; then
|
||||
cp -p `which touch` $DEVDIR/build/binl/wtouch
|
@ -1,12 +0,0 @@
|
||||
--- OW18src/bld/wmake/c/mglob.c.orig 2009-02-23 18:40:32.000000000 -0500
|
||||
+++ OW18src/bld/wmake/c/mglob.c 2009-10-09 19:39:05.000000000 -0400
|
||||
@@ -110,6 +110,8 @@
|
||||
"__UNIX__=\n"
|
||||
#if defined(__386__) || defined(__i386__) || defined(__i386)
|
||||
"__LINUX386__=\n"
|
||||
+ #elif defined(__x86_64)
|
||||
+ "__LINUX386__=\n"
|
||||
#elif defined(__PPC__) || defined(__ppc__) || defined(__powerpc__)
|
||||
"__LINUXPPC__=\n"
|
||||
#elif defined(__MIPS__) || defined(__mips__)
|
||||
|
@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!--
|
||||
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
|
||||
|
||||
This is the example metadata file.
|
||||
The root element of this file is <pkgmetadata>. Within this element a
|
||||
number of subelements are allowed: herd, maintainer, and
|
||||
longdescription. herd is a required subelement.
|
||||
|
||||
For a full description look at:
|
||||
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
|
||||
|
||||
|
||||
Before committing, please remove the comments from this file. They are
|
||||
not relevant for general metadata.xml files.
|
||||
-->
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>@gentoo.org</email>
|
||||
<!-- <description>Description of the maintainership</description> -->
|
||||
</maintainer>
|
||||
<!-- <longdescription>Long description of the package</longdescription> -->
|
||||
<!--
|
||||
<use>
|
||||
<flag name='flag'>Description of how USE='flag' affects this package</flag>
|
||||
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
|
||||
package</flag>
|
||||
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
|
||||
Requires an installed dictionary from <cat>app-dicts</cat></flag>
|
||||
</use>
|
||||
-->
|
||||
</pkgmetadata>
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
LICENSE="OWPL-1"
|
||||
DESCRIPTION="The Open Watcom compiler"
|
||||
HOMEPAGE="http://www.openwatcom.org"
|
||||
SRC_URI="ftp://ftp.heanet.ie/pub/openwatcom/source/open_watcom_${PV}-src.tar.bz2"
|
||||
|
||||
KEYWORDS="~x86"
|
||||
SLOT="0"
|
||||
IUSE="examples source"
|
||||
|
||||
DEPEND="sys-devel/gcc"
|
||||
|
||||
RESTRICT=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/build.sh.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./build.sh || die "build.sh failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"/opt
|
||||
cp -R rel2 "${D}"/opt/openwatcom
|
||||
ln -s binl "${D}"/opt/openwatcom/bin
|
||||
|
||||
use examples || rm -rf "${D}"/opt/openwatcom/samples
|
||||
use source || rm -rf "${D}"/opt/openwatcom/src
|
||||
|
||||
INSTALL_DIR=/opt/openwatcom
|
||||
|
||||
local env_file=05${PN}
|
||||
cat > ${env_file} <<-EOF
|
||||
WATCOM=${INSTALL_DIR}
|
||||
INCLUDE=${INSTALL_DIR}/lh
|
||||
PATH=${INSTALL_DIR}/binl
|
||||
EOF
|
||||
doenvd ${env_file} || die "doenvd ${env_file} failed"
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
LICENSE="OWPL-1"
|
||||
DESCRIPTION="The Open Watcom compiler"
|
||||
HOMEPAGE="http://www.openwatcom.org"
|
||||
SRC_URI="ftp://ftp.heanet.ie/pub/openwatcom/source/open_watcom_${PV}-src.tar.bz2"
|
||||
|
||||
KEYWORDS="~x86"
|
||||
SLOT="0"
|
||||
IUSE="examples source"
|
||||
|
||||
DEPEND="sys-devel/gcc"
|
||||
|
||||
RESTRICT=""
|
||||
|
||||
S=${WORKDIR}/OW18src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/build.sh.patch"
|
||||
epatch "${FILESDIR}/wmake_c_mglob.c.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./build.sh || die "build.sh failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"/opt
|
||||
cp -R rel2 "${D}"/opt/openwatcom
|
||||
ln -s binl "${D}"/opt/openwatcom/bin
|
||||
|
||||
use examples || rm -rf "${D}"/opt/openwatcom/samples
|
||||
use source || rm -rf "${D}"/opt/openwatcom/src
|
||||
|
||||
INSTALL_DIR=/opt/openwatcom
|
||||
|
||||
local env_file=05${PN}
|
||||
cat > ${env_file} <<-EOF
|
||||
WATCOM=${INSTALL_DIR}
|
||||
INCLUDE=${INSTALL_DIR}/lh
|
||||
PATH=${INSTALL_DIR}/binl
|
||||
EOF
|
||||
doenvd ${env_file} || die "doenvd ${env_file} failed"
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
LICENSE="OWPL-1"
|
||||
DESCRIPTION="The Open Watcom compiler"
|
||||
HOMEPAGE="http://www.openwatcom.org"
|
||||
SRC_URI="ftp://ftp.heanet.ie/pub/openwatcom/source/open_watcom_${PV}-src.tar.bz2"
|
||||
|
||||
KEYWORDS="~x86"
|
||||
SLOT="0"
|
||||
IUSE="examples source"
|
||||
|
||||
DEPEND="sys-devel/gcc"
|
||||
|
||||
RESTRICT=""
|
||||
|
||||
S=${WORKDIR}/OW19
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/build.sh.patch"
|
||||
epatch "${FILESDIR}/wmake_c_mglob.c.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./build.sh || die "build.sh failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"/opt
|
||||
cp -R rel2 "${D}"/opt/openwatcom
|
||||
ln -s binl "${D}"/opt/openwatcom/bin
|
||||
|
||||
use examples || rm -rf "${D}"/opt/openwatcom/samples
|
||||
use source || rm -rf "${D}"/opt/openwatcom/src
|
||||
|
||||
INSTALL_DIR=/opt/openwatcom
|
||||
|
||||
local env_file=05${PN}
|
||||
cat > ${env_file} <<-EOF
|
||||
WATCOM=${INSTALL_DIR}
|
||||
INCLUDE=${INSTALL_DIR}/lh
|
||||
PATH=${INSTALL_DIR}/binl
|
||||
EOF
|
||||
doenvd ${env_file} || die "doenvd ${env_file} failed"
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
# ChangeLog for sys-fs/trustees
|
||||
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
19 Feb 2007; Mario Fetka <mario-fetka@gmx.at> +trustees-3.0.ebuild:
|
||||
Initial Ebuild
|
||||
|
||||
*trustees-3.0 (26 Aug 2005)
|
||||
|
||||
12 Sep 2005; Matt Stegman <matts@ksu.edu> trustees-3.0.ebuild:
|
||||
Brand new ebuild for Trustees version 3.0, which works only on 2.6 kernels!
|
||||
Includes initscript and corresponding conf.d file, and an additional
|
||||
example trustees.conf in a gentoo-extras tarball.
|
||||
|
||||
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> trustees-2.10.ebuild:
|
||||
virtual/glibc -> virtual/libc
|
||||
|
||||
10 Mar 2004; Max Kalika <max@gentoo.org> trustees-2.10.ebuild:
|
||||
Ditch sed dependency.
|
||||
|
||||
29 Oct 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild:
|
||||
Really fix link error. Move kernel check to pkg_setup(). Add echo of the
|
||||
compile operation. Use CFLAGS during compile.
|
||||
|
||||
27 Oct 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild:
|
||||
Fix linking error.
|
||||
|
||||
*trustees-2.10 (13 Oct 2003)
|
||||
|
||||
13 Oct 2003; Max Kalika <max@gentoo.org> metadata.xml, trustees-2.10.ebuild,
|
||||
files/trustees.conf, files/trustees.rc6:
|
||||
Cleanup and mark stable.
|
||||
|
||||
03 Jul 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild:
|
||||
Set KEYWORDS to ~x86.
|
||||
|
||||
11 Jun 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild,
|
||||
files/trustees.rc6:
|
||||
Start trustees before net.
|
||||
|
||||
23 May 2003; Max Kalika <max@gentoo.org> files/trustees.rc6:
|
||||
Add check for /proc/trustee in startup script.
|
||||
|
||||
22 May 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild,
|
||||
files/trustees.conf, files/trustees.rc6:
|
||||
Add startup script and corresponding config file. Remove post-install message
|
||||
about loading permissions on boot.
|
||||
|
||||
*trustees-2.10 (08 May 2003)
|
||||
|
||||
08 May 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild:
|
||||
Initial version.
|
||||
|
@ -1,4 +0,0 @@
|
||||
DIST trustees-3.0-gentoo.tar.bz2 1445 RMD160 e335657a54c9a9e6f8fd84bfbb775545d9ae6e4d SHA1 21395595de4609e9e8dba372187386183d70f42d SHA256 a2f12740336d163ac54b874e69531bae8bf69a0962f7ec22dd54142fee399256
|
||||
DIST trustees-3.0.tar.bz2 26958 RMD160 77c2dec8df23fce0fee1caa0522826cd2a2d9ec3 SHA1 891a04db88af795dac9b5dd6117217dbe374062c SHA256 c3f92272790de29bc776b4f4a833d7066828cd35042a144a666bae35755c5420
|
||||
EBUILD trustees-3.0.ebuild 1990 RMD160 8bd6b79056132f0c68aed7ea204fab8962a2c550 SHA1 7b5f2f427af5ea6e99dad754fe4634b4821c4b99 SHA256 713115df11f074616d6fe2f549ca9a09c02355b30de40f04c9a2f375c61f6ca6
|
||||
MISC ChangeLog 1820 RMD160 5f7ff8fb2a4ffea02d1b04ad8d2f2f6889dc0303 SHA1 36b23b7bcee4e082d15ae84af0c91465159f7b62 SHA256 c1da7ac6b0ecc16d90d544690232750cb189500fa6bcad79984fccb93234e730
|
@ -1,76 +0,0 @@
|
||||
# ebuild for Trustees 3.0 by M Stegman
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit linux-mod
|
||||
|
||||
MY_PP=${PN}-${PV}-gentoo
|
||||
DESCRIPTION="Advanced permission management system for Linux"
|
||||
HOMEPAGE="http://trustees.sourceforge.net/"
|
||||
SRC_URI="http://umn.dl.sourceforge.net/sourceforge/trustees/${PN}-${PV}.tar.bz2
|
||||
http://www.ephess.net/gentoo/${MY_PP}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86"
|
||||
IUSE=""
|
||||
RESTRICT="nomirror"
|
||||
|
||||
DEPEND="virtual/libc
|
||||
virtual/linux-sources"
|
||||
|
||||
pkg_setup() {
|
||||
# linux-mod inherits linux-info !
|
||||
linux-mod_pkg_setup
|
||||
# check prerequisites for Trustees 3.0:
|
||||
# CONFIG_SECURITY is enabled
|
||||
# kernel is 2.6.XXX
|
||||
linux_chkconfig_builtin "SECURITY" || die "You must have CONFIG_SECURITY built in to use trustees!"
|
||||
if ! kernel_is 2 6; then
|
||||
einfo "Your kernel version is ${KV}!"
|
||||
die "Trustees 3.0 is for kernel 2.6 only!"
|
||||
fi
|
||||
|
||||
# I guess we're OK!
|
||||
MODULE_NAMES="trustees(security:${S}/module)"
|
||||
BUILD_TARGETS="clean all"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
cd "${S}/src"
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
dodir /etc
|
||||
dodir /trustees
|
||||
GENTOO_DIR="${WORKDIR}/gentoo-extra"
|
||||
newinitd ${GENTOO_DIR}/trustees-init.d trustees
|
||||
newconfd ${GENTOO_DIR}/trustees-conf.d trustees
|
||||
dodoc README
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
dodoc ${GENTOO_DIR}/trustees3.conf
|
||||
exeinto /sbin
|
||||
doexe src/settrustees
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
|
||||
einfo "You need to create /etc/trustees.conf. See examples in"
|
||||
einfo "/usr/share/doc/${PF}/examples. After setting up your config"
|
||||
einfo "file, simply use the initscript to start using trustees:"
|
||||
einfo " /etc/init.d/trustees start"
|
||||
einfo "After starting trustees, if you modify /etc/trustees.conf,"
|
||||
einfo "you need to reload trustees for the changes to take effect:"
|
||||
einfo " /etc/init.d/trustees reload"
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
/etc/init.d/trustees stop
|
||||
# just in case something broke...
|
||||
umount -a -t trusteesfs
|
||||
rmmod trustees
|
||||
}
|
Loading…
Reference in New Issue
Block a user