mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 06:56:58 +02:00
Upgrade mplayer and dependency packages (yasm, ttf-fonts, ...).
mplayer is very helpful in test images, factory test images, and maybe even as a reference player for all purposes (also already used in some previous factory tests). BUG=chrome-os-partner:2004 TEST=none, the original copy from upstream. Change-Id: Idb6398964538bdbc6538c8545fc9a41ef845c609 Reviewed-on: https://gerrit.chromium.org/gerrit/19302 Tested-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: Hung-Te Lin <hungte@chromium.org>
This commit is contained in:
parent
affb3b99fc
commit
3f8d60be90
1
sdk_container/src/third_party/portage-stable/dev-lang/yasm/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/dev-lang/yasm/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST yasm-1.2.0.tar.gz 1436502 RMD160 6d2baf27a45d6dbe250f972f18fb6627f50394d9 SHA1 773d28f27f83c44ac35079add0d3167ca6c1def8 SHA256 768ffab457b90a20a6d895c39749adb547c1b7cb5c108e84b151a838a23ccf31
|
36
sdk_container/src/third_party/portage-stable/dev-lang/yasm/yasm-1.2.0.ebuild
vendored
Normal file
36
sdk_container/src/third_party/portage-stable/dev-lang/yasm/yasm-1.2.0.ebuild
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2011 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-lang/yasm/yasm-1.2.0.ebuild,v 1.5 2011/12/23 21:01:49 ago Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
PYTHON_DEPEND="python? 2:2.7"
|
||||||
|
inherit python
|
||||||
|
|
||||||
|
DESCRIPTION="An assembler for x86 and x86_64 instruction sets"
|
||||||
|
HOMEPAGE="http://www.tortall.net/projects/yasm/"
|
||||||
|
SRC_URI="http://www.tortall.net/projects/yasm/releases/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2 BSD || ( Artistic GPL-2 LGPL-2 )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* amd64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
|
||||||
|
IUSE="nls python"
|
||||||
|
|
||||||
|
RDEPEND="nls? ( virtual/libintl )"
|
||||||
|
DEPEND="nls? ( sys-devel/gettext )
|
||||||
|
python? ( >=dev-python/cython-0.14 )"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use python; then
|
||||||
|
python_set_active_version 2
|
||||||
|
python_pkg_setup
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_enable python) \
|
||||||
|
$(use_enable python python-bindings) \
|
||||||
|
$(use_enable nls)
|
||||||
|
}
|
1
sdk_container/src/third_party/portage-stable/media-libs/libdvdnav/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/media-libs/libdvdnav/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST libdvdnav-4.2.0.tar.bz2 111575 RMD160 1e957554173feae3bdf1fdd6a83c2a64a2550683 SHA1 ded45d985576169ae3630d8be7179a2323bc0f6f SHA256 8c971b08276c89ddcecd26fc44204460fd250dc57346f03476d3077188c47550
|
31
sdk_container/src/third_party/portage-stable/media-libs/libdvdnav/libdvdnav-4.2.0.ebuild
vendored
Normal file
31
sdk_container/src/third_party/portage-stable/media-libs/libdvdnav/libdvdnav-4.2.0.ebuild
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/libdvdnav-4.2.0.ebuild,v 1.6 2012/02/12 19:39:12 armin76 Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
inherit autotools libtool
|
||||||
|
|
||||||
|
DESCRIPTION="Library for DVD navigation tools"
|
||||||
|
HOMEPAGE="http://dvdnav.mplayerhq.hu/"
|
||||||
|
SRC_URI="http://dvdnav.mplayerhq.hu/releases/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=media-libs/libdvdread-${PV}"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS ChangeLog DEVELOPMENT-POLICY.txt doc/dvd_structures NEWS README TODO )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i -e '/^CFLAGS/s:-O3::' configure.ac || die
|
||||||
|
elibtoolize
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
rm -f "${ED}"usr/lib*/${PN}*.la
|
||||||
|
}
|
1
sdk_container/src/third_party/portage-stable/media-libs/libdvdread/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/media-libs/libdvdread/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST libdvdread-4.2.0.tar.bz2 97469 RMD160 71953f12e834a9d22ff4cf9e25a3949c431174c0 SHA1 431bc92195f27673bfdd2be67ce0f58338da8d3b SHA256 0bea15da842a4b04a482b009d72dcc6d9c9524ccc1bf67e5748319ec5ada8097
|
32
sdk_container/src/third_party/portage-stable/media-libs/libdvdread/libdvdread-4.2.0.ebuild
vendored
Normal file
32
sdk_container/src/third_party/portage-stable/media-libs/libdvdread/libdvdread-4.2.0.ebuild
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdread/libdvdread-4.2.0.ebuild,v 1.7 2012/02/12 18:46:24 armin76 Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
inherit autotools libtool
|
||||||
|
|
||||||
|
DESCRIPTION="Library for DVD navigation tools"
|
||||||
|
HOMEPAGE="http://dvdnav.mplayerhq.hu/"
|
||||||
|
SRC_URI="http://dvdnav.mplayerhq.hu/releases/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||||
|
IUSE="+css"
|
||||||
|
|
||||||
|
RDEPEND="!<media-libs/libdvdnav-${PV}
|
||||||
|
css? ( media-libs/libdvdcss )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS ChangeLog DEVELOPMENT-POLICY.txt NEWS TODO README )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i -e '/^CFLAGS/s:-O3::' configure.ac || die
|
||||||
|
elibtoolize
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
rm -f "${ED}"usr/lib*/${PN}.la
|
||||||
|
}
|
@ -1 +1 @@
|
|||||||
DIST ffmpeg-0.7.8.tar.bz2 4530406 RMD160 8f69a6bc5caaba4e3d440c2d5dc96a946454a52c SHA1 df4983c028a61d4bf3baceab3bae535b91b8928a SHA256 548197968e69b732c12b2cad3173eb6933a9573a7b1f5b29be36d31b9977c9f3
|
DIST ffmpeg-0.10.2.tar.bz2 5780204 RMD160 b9dd617935e106e4a1980167bdb7ec8d76d3f2f7 SHA1 743f44a71f93b14c9b26ca2424b0da8457cef4be SHA256 2d990012091c07849843c456eb34ad015a00f45a66cba5be7c81a28e45fb6711
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.7.8.ebuild,v 1.7 2011/12/18 22:11:07 halcy0n Exp $
|
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.10.2.ebuild,v 1.2 2012/03/22 11:33:27 aballier Exp $
|
||||||
|
|
||||||
EAPI="2"
|
EAPI="4"
|
||||||
|
|
||||||
SCM=""
|
SCM=""
|
||||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||||
@ -26,52 +26,68 @@ FFMPEG_REVISION="${PV#*_p}"
|
|||||||
LICENSE="GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) )"
|
LICENSE="GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) )"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
if [ "${PV#9999}" = "${PV}" ] ; then
|
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||||
fi
|
fi
|
||||||
IUSE="
|
IUSE="
|
||||||
+3dnow +3dnowext aac alsa altivec amr avx bindist +bzip2 celt cpudetection
|
aac aacplus alsa amr ass bindist +bzip2 cdio celt cpudetection debug
|
||||||
custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables
|
dirac doc +encode faac frei0r gnutls gsm +hardcoded-tables ieee1394 jack
|
||||||
ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic +qt-faststart rtmp
|
jpeg2k libv4l modplug mp3 network openal openssl oss pic pulseaudio
|
||||||
schroedinger sdl speex +ssse3 static-libs test theora threads truetype
|
rtmp schroedinger sdl speex static-libs test theora threads
|
||||||
v4l vaapi vdpau vorbis vpx X x264 xvid +zlib
|
truetype v4l vaapi vdpau vorbis vpx X x264 xvid +zlib
|
||||||
"
|
"
|
||||||
|
|
||||||
VIDEO_CARDS="nvidia"
|
# String for CPU features in the useflag[:configure_option] form
|
||||||
|
# if :configure_option isn't set, it will use 'useflag' as configure option
|
||||||
|
CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext:mmx2 ssse3 vis neon"
|
||||||
|
|
||||||
for x in ${VIDEO_CARDS}; do
|
for i in ${CPU_FEATURES}; do
|
||||||
IUSE="${IUSE} video_cards_${x}"
|
IUSE="${IUSE} ${i%:*}"
|
||||||
|
done
|
||||||
|
|
||||||
|
FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher"
|
||||||
|
|
||||||
|
for i in ${FFTOOLS}; do
|
||||||
|
IUSE="${IUSE} +fftools_$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
alsa? ( media-libs/alsa-lib )
|
alsa? ( media-libs/alsa-lib )
|
||||||
amr? ( media-libs/opencore-amr )
|
amr? ( media-libs/opencore-amr )
|
||||||
|
ass? ( media-libs/libass )
|
||||||
bzip2? ( app-arch/bzip2 )
|
bzip2? ( app-arch/bzip2 )
|
||||||
|
cdio? ( dev-libs/libcdio )
|
||||||
celt? ( >=media-libs/celt-0.11.1 )
|
celt? ( >=media-libs/celt-0.11.1 )
|
||||||
dirac? ( media-video/dirac )
|
dirac? ( media-video/dirac )
|
||||||
encode? (
|
encode? (
|
||||||
aac? ( media-libs/vo-aacenc )
|
aac? ( media-libs/vo-aacenc )
|
||||||
|
aacplus? ( media-libs/libaacplus )
|
||||||
amr? ( media-libs/vo-amrwbenc )
|
amr? ( media-libs/vo-amrwbenc )
|
||||||
faac? ( media-libs/faac )
|
faac? ( media-libs/faac )
|
||||||
mp3? ( >=media-sound/lame-3.98.3 )
|
mp3? ( >=media-sound/lame-3.98.3 )
|
||||||
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
|
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
|
||||||
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||||
x264? ( >=media-libs/x264-0.0.20110426 )
|
x264? ( >=media-libs/x264-0.0.20111017 )
|
||||||
xvid? ( >=media-libs/xvid-1.1.0 )
|
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||||
)
|
)
|
||||||
frei0r? ( media-plugins/frei0r-plugins )
|
frei0r? ( media-plugins/frei0r-plugins )
|
||||||
|
gnutls? ( net-libs/gnutls )
|
||||||
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
||||||
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
||||||
jack? ( media-sound/jack-audio-connection-kit )
|
jack? ( media-sound/jack-audio-connection-kit )
|
||||||
jpeg2k? ( >=media-libs/openjpeg-1.3-r2 )
|
jpeg2k? ( >=media-libs/openjpeg-1.3-r2 )
|
||||||
|
libv4l? ( media-libs/libv4l )
|
||||||
|
modplug? ( media-libs/libmodplug )
|
||||||
|
openal? ( >=media-libs/openal-1.1 )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio )
|
||||||
rtmp? ( >=media-video/rtmpdump-2.2f )
|
rtmp? ( >=media-video/rtmpdump-2.2f )
|
||||||
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
|
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
|
||||||
schroedinger? ( media-libs/schroedinger )
|
schroedinger? ( media-libs/schroedinger )
|
||||||
speex? ( >=media-libs/speex-1.2_beta3 )
|
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||||
truetype? ( media-libs/freetype:2 )
|
truetype? ( media-libs/freetype:2 )
|
||||||
vaapi? ( >=x11-libs/libva-0.32 )
|
vaapi? ( >=x11-libs/libva-0.32 )
|
||||||
video_cards_nvidia? ( vdpau? ( x11-libs/libvdpau ) )
|
vdpau? ( x11-libs/libvdpau )
|
||||||
vpx? ( >=media-libs/libvpx-0.9.6 )
|
vpx? ( >=media-libs/libvpx-0.9.6 )
|
||||||
X? ( x11-libs/libX11 x11-libs/libXext )
|
X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes )
|
||||||
zlib? ( sys-libs/zlib )
|
zlib? ( sys-libs/zlib )
|
||||||
!media-video/qt-faststart
|
!media-video/qt-faststart
|
||||||
"
|
"
|
||||||
@ -80,7 +96,9 @@ DEPEND="${RDEPEND}
|
|||||||
>=sys-devel/make-3.81
|
>=sys-devel/make-3.81
|
||||||
dirac? ( dev-util/pkgconfig )
|
dirac? ( dev-util/pkgconfig )
|
||||||
doc? ( app-text/texi2html )
|
doc? ( app-text/texi2html )
|
||||||
|
gnutls? ( dev-util/pkgconfig )
|
||||||
ieee1394? ( dev-util/pkgconfig )
|
ieee1394? ( dev-util/pkgconfig )
|
||||||
|
libv4l? ( dev-util/pkgconfig )
|
||||||
mmx? ( dev-lang/yasm )
|
mmx? ( dev-lang/yasm )
|
||||||
rtmp? ( dev-util/pkgconfig )
|
rtmp? ( dev-util/pkgconfig )
|
||||||
schroedinger? ( dev-util/pkgconfig )
|
schroedinger? ( dev-util/pkgconfig )
|
||||||
@ -88,6 +106,11 @@ DEPEND="${RDEPEND}
|
|||||||
truetype? ( dev-util/pkgconfig )
|
truetype? ( dev-util/pkgconfig )
|
||||||
v4l? ( sys-kernel/linux-headers )
|
v4l? ( sys-kernel/linux-headers )
|
||||||
"
|
"
|
||||||
|
# faac is license-incompatible with ffmpeg
|
||||||
|
REQUIRED_USE="bindist? ( encode? ( !faac !aacplus ) !openssl )
|
||||||
|
libv4l? ( v4l )
|
||||||
|
fftools_cws2fws? ( zlib )
|
||||||
|
test? ( encode zlib )"
|
||||||
|
|
||||||
S=${WORKDIR}/${P/_/-}
|
S=${WORKDIR}/${P/_/-}
|
||||||
|
|
||||||
@ -95,7 +118,6 @@ src_prepare() {
|
|||||||
if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||||
export revision=git-N-${FFMPEG_REVISION}
|
export revision=git-N-${FFMPEG_REVISION}
|
||||||
fi
|
fi
|
||||||
epatch "${FILESDIR}"/${PN}-0.7.6-fix_ppc64_32ul.patch #387207
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
@ -104,20 +126,17 @@ src_configure() {
|
|||||||
local version3=""
|
local version3=""
|
||||||
|
|
||||||
# enabled by default
|
# enabled by default
|
||||||
for i in debug doc network vaapi zlib; do
|
for i in debug doc network vaapi vdpau zlib; do
|
||||||
use ${i} || myconf="${myconf} --disable-${i}"
|
use ${i} || myconf="${myconf} --disable-${i}"
|
||||||
done
|
done
|
||||||
use bzip2 || myconf="${myconf} --disable-bzlib"
|
use bzip2 || myconf="${myconf} --disable-bzlib"
|
||||||
use sdl || myconf="${myconf} --disable-ffplay"
|
use sdl || myconf="${myconf} --disable-ffplay"
|
||||||
|
|
||||||
use custom-cflags && myconf="${myconf} --disable-optimizations"
|
|
||||||
use cpudetection && myconf="${myconf} --enable-runtime-cpudetect"
|
use cpudetection && myconf="${myconf} --enable-runtime-cpudetect"
|
||||||
|
use openssl && myconf="${myconf} --enable-openssl --enable-nonfree"
|
||||||
#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
|
for i in gnutls ; do
|
||||||
# use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}"
|
use $i && myconf="${myconf} --enable-$i"
|
||||||
# use vdpau || myconf="${myconf} --disable-decoder=${i}"
|
done
|
||||||
#done
|
|
||||||
use video_cards_nvidia && use vdpau || myconf="${myconf} --disable-vdpau"
|
|
||||||
|
|
||||||
# Encoders
|
# Encoders
|
||||||
if use encode
|
if use encode
|
||||||
@ -128,61 +147,56 @@ src_configure() {
|
|||||||
for i in theora vorbis x264 xvid; do
|
for i in theora vorbis x264 xvid; do
|
||||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||||
done
|
done
|
||||||
if use bindist
|
use aacplus && myconf="${myconf} --enable-libaacplus --enable-nonfree"
|
||||||
then
|
use faac && myconf="${myconf} --enable-libfaac --enable-nonfree"
|
||||||
use faac && ewarn "faac is nonfree and cannot be distributed;
|
|
||||||
disabling faac support."
|
|
||||||
else
|
|
||||||
use faac && myconf="${myconf} --enable-libfaac --enable-nonfree"
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
myconf="${myconf} --disable-encoders"
|
myconf="${myconf} --disable-encoders"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# libavdevice options
|
# libavdevice options
|
||||||
|
use cdio && myconf="${myconf} --enable-libcdio"
|
||||||
use ieee1394 && myconf="${myconf} --enable-libdc1394"
|
use ieee1394 && myconf="${myconf} --enable-libdc1394"
|
||||||
|
use openal && myconf="${myconf} --enable-openal"
|
||||||
# Indevs
|
# Indevs
|
||||||
# v4l1 gone since linux-headers-2.6.38
|
# v4l1 is gone since linux-headers-2.6.38
|
||||||
myconf="${myconf} --disable-indev=v4l"
|
myconf="${myconf} --disable-indev=v4l"
|
||||||
use v4l || myconf="${myconf} --disable-indev=v4l2"
|
use v4l || myconf="${myconf} --disable-indev=v4l2"
|
||||||
for i in alsa oss jack ; do
|
for i in alsa oss jack ; do
|
||||||
use ${i} || myconf="${myconf} --disable-indev=${i}"
|
use ${i} || myconf="${myconf} --disable-indev=${i}"
|
||||||
done
|
done
|
||||||
use X && myconf="${myconf} --enable-x11grab"
|
use X && myconf="${myconf} --enable-x11grab"
|
||||||
|
use pulseaudio && myconf="${myconf} --enable-libpulse"
|
||||||
|
use libv4l && myconf="${myconf} --enable-libv4l2"
|
||||||
# Outdevs
|
# Outdevs
|
||||||
for i in alsa oss ; do
|
for i in alsa oss sdl ; do
|
||||||
use ${i} || myconf="${myconf} --disable-outdev=${i}"
|
use ${i} || myconf="${myconf} --disable-outdev=${i}"
|
||||||
done
|
done
|
||||||
# libavfilter options
|
# libavfilter options
|
||||||
use frei0r && myconf="${myconf} --enable-frei0r"
|
use frei0r && myconf="${myconf} --enable-frei0r"
|
||||||
use truetype && myconf="${myconf} --enable-libfreetype"
|
use truetype && myconf="${myconf} --enable-libfreetype"
|
||||||
|
use ass && myconf="${myconf} --enable-libass"
|
||||||
|
|
||||||
# Threads; we only support pthread for now but ffmpeg supports more
|
# Threads; we only support pthread for now but ffmpeg supports more
|
||||||
use threads && myconf="${myconf} --enable-pthreads"
|
use threads && myconf="${myconf} --enable-pthreads"
|
||||||
|
|
||||||
# Decoders
|
# Decoders
|
||||||
use amr && { myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb" ; version3=" --enable-version3" ; }
|
use amr && { myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb" ; version3=" --enable-version3" ; }
|
||||||
for i in celt gsm dirac rtmp schroedinger speex vpx; do
|
for i in celt gsm dirac modplug rtmp schroedinger speex vpx; do
|
||||||
use ${i} && myconf="${myconf} --enable-lib${i}"
|
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||||
done
|
done
|
||||||
use jpeg2k && myconf="${myconf} --enable-libopenjpeg"
|
use jpeg2k && myconf="${myconf} --enable-libopenjpeg"
|
||||||
|
|
||||||
# CPU features
|
# CPU features
|
||||||
for i in mmx ssse3 altivec avx ; do
|
for i in ${CPU_FEATURES}; do
|
||||||
use ${i} || myconf="${myconf} --disable-${i}"
|
use ${i%:*} || myconf="${myconf} --disable-${i#*:}"
|
||||||
done
|
done
|
||||||
use mmxext || myconf="${myconf} --disable-mmx2"
|
if use pic ; then
|
||||||
use 3dnow || myconf="${myconf} --disable-amd3dnow"
|
myconf="${myconf} --enable-pic"
|
||||||
use 3dnowext || myconf="${myconf} --disable-amd3dnowext"
|
# disable asm code if PIC is required
|
||||||
# disable mmx accelerated code if PIC is required
|
# as the provided asm decidedly is not PIC for x86.
|
||||||
# as the provided asm decidedly is not PIC for x86.
|
use x86 && myconf="${myconf} --disable-asm"
|
||||||
if use pic && use x86 ; then
|
|
||||||
myconf="${myconf} --disable-mmx --disable-mmx2"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Option to force building pic
|
|
||||||
use pic && myconf="${myconf} --enable-pic"
|
|
||||||
|
|
||||||
# Try to get cpu type based on CFLAGS.
|
# Try to get cpu type based on CFLAGS.
|
||||||
# Bug #172723
|
# Bug #172723
|
||||||
# We need to do this so that features of that CPU will be better used
|
# We need to do this so that features of that CPU will be better used
|
||||||
@ -190,7 +204,6 @@ src_configure() {
|
|||||||
# will just ignore it.
|
# will just ignore it.
|
||||||
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||||
[ "${i}" = "native" ] && i="host" # bug #273421
|
[ "${i}" = "native" ] && i="host" # bug #273421
|
||||||
[[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968
|
|
||||||
myconf="${myconf} --cpu=${i}"
|
myconf="${myconf} --cpu=${i}"
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
@ -223,59 +236,47 @@ src_configure() {
|
|||||||
# Misc stuff
|
# Misc stuff
|
||||||
use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
|
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}"
|
cd "${S}"
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix="${EPREFIX}/usr" \
|
||||||
--libdir=/usr/$(get_libdir) \
|
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||||
--shlibdir=/usr/$(get_libdir) \
|
--shlibdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||||
--mandir=/usr/share/man \
|
--mandir="${EPREFIX}/usr/share/man" \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--cc="$(tc-getCC)" \
|
--cc="$(tc-getCC)" \
|
||||||
|
--cxx="$(tc-getCXX)" \
|
||||||
|
--ar="$(tc-getAR)" \
|
||||||
|
--optflags="${CFLAGS}" \
|
||||||
|
--extra-cflags="${CFLAGS}" \
|
||||||
|
--extra-cxxflags="${CXXFLAGS}" \
|
||||||
$(use_enable static-libs static) \
|
$(use_enable static-libs static) \
|
||||||
${myconf} || die
|
${myconf} || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
emake version.h || die #252269
|
emake
|
||||||
emake || die
|
|
||||||
|
|
||||||
if use qt-faststart; then
|
for i in ${FFTOOLS} ; do
|
||||||
tc-export CC
|
if use fftools_$i ; then
|
||||||
emake -C tools qt-faststart || die
|
emake tools/$i
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
emake DESTDIR="${D}" install install-man || die
|
emake DESTDIR="${D}" install install-man
|
||||||
|
|
||||||
dodoc README INSTALL
|
dodoc Changelog README INSTALL
|
||||||
dodoc doc/*
|
dodoc -r doc/*
|
||||||
|
|
||||||
if use qt-faststart; then
|
for i in ${FFTOOLS} ; do
|
||||||
dobin tools/qt-faststart || die
|
if use fftools_$i ; then
|
||||||
fi
|
dobin tools/$i
|
||||||
|
fi
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
src_test() {
|
src_test() {
|
||||||
if use encode ; then
|
LD_LIBRARY_PATH="${S}/libpostproc:${S}/libswscale:${S}/libswresample:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
|
||||||
LD_LIBRARY_PATH="${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
|
emake fate
|
||||||
emake test || die "Some tests failed"
|
|
||||||
else
|
|
||||||
ewarn "Tests fail without USE=encode, skipping"
|
|
||||||
fi
|
|
||||||
}
|
}
|
@ -39,5 +39,5 @@ index 6aa194c..0752d73 100755
|
|||||||
+EOF
|
+EOF
|
||||||
+ ;;
|
+ ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
enable $subarch
|
enable $subarch
|
||||||
|
4
sdk_container/src/third_party/portage-stable/media-video/mplayer/Manifest
vendored
Normal file
4
sdk_container/src/third_party/portage-stable/media-video/mplayer/Manifest
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
DIST font-arial-cp1250.tar.bz2 249705 RMD160 a2fc7ae07b0d80936ea58e168e1047efccb9eb91 SHA1 ccf11dce5d0fb72fd3af97f788b7471cd0cd0b68 SHA256 423a07e780bb130cd8e4730715545c5d919c248dda595aab7a0a01de3c83fd12
|
||||||
|
DIST font-arial-iso-8859-1.tar.bz2 234242 RMD160 666697cd5efd9387057a898c714175e7c2aacbcd SHA1 152c40bf20de34aa8802d7f80d34d673b0b67212 SHA256 9730f481764f367c9089d0166fb6ccf9148808ffbbfeca635cf0e6db75765d29
|
||||||
|
DIST font-arial-iso-8859-2.tar.bz2 222208 RMD160 562d4d92c4f5f3d537340fde3ad8d1495ac41acb SHA1 7b99bbe0e9ba89a57eccbea8f93c453c4f268181 SHA256 71debfc960007c2f6242dfc91e8b1c005b30a99e129aeb00ab8c03f4371b41c1
|
||||||
|
DIST mplayer-1.0_rc4_p20120213.tar.xz 5451168 RMD160 ebfa2e7f4ab5bc180eea0b2206e6194d678befa5 SHA1 846ab4a7624987d30d64a546a78952fe6f36203d SHA256 28080ae63b282d717ad85a30ab8f481c1d965c8400621528ee87c7bc7d6bc890
|
75
sdk_container/src/third_party/portage-stable/media-video/mplayer/files/dump_ffmpeg.sh
vendored
Executable file
75
sdk_container/src/third_party/portage-stable/media-video/mplayer/files/dump_ffmpeg.sh
vendored
Executable file
@ -0,0 +1,75 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
FFMPEG_DIR=ffmpeg
|
||||||
|
FFMPEG_MOVED_DIR=ffmpeg_removed
|
||||||
|
SYSTEM_FFMPEG_DIR=${EPREFIX}/usr/include
|
||||||
|
|
||||||
|
# Move directories
|
||||||
|
|
||||||
|
[ -d "${FFMPEG_DIR}/.git" ] && mv "${FFMPEG_DIR}" "${FFMPEG_MOVED_DIR}"
|
||||||
|
[ -d "${FFMPEG_MOVED_DIR}" ] || exit 1
|
||||||
|
[ -d "${FFMPEG_DIR}" ] || mkdir "${FFMPEG_DIR}"
|
||||||
|
|
||||||
|
# Keep required files and check them
|
||||||
|
|
||||||
|
SANITIZED_REGEXP='^\#[[:space:]]*include.*\".*[.]h\"'
|
||||||
|
sanitize_includes() {
|
||||||
|
sed -e "s/^\#[[:space:]]*include.*\"config[.]h\"/#include <config.h>/" \
|
||||||
|
-e "s/^\#[[:space:]]*include.*\"\(libav.*\/.*[.]h\)\"/#include \<\1\>/" \
|
||||||
|
-e "/${SANITIZED_REGEXP}/{s:\"\(.*\)\":\<${2}\/\1\>:}" ${1}
|
||||||
|
}
|
||||||
|
|
||||||
|
check_sanitized_includes() {
|
||||||
|
grep -q "${SANITIZED_REGEXP}" $1
|
||||||
|
}
|
||||||
|
|
||||||
|
get_header_deps() {
|
||||||
|
grep "^#[[:space:]]*include.*\<libav.*[.]h\>" ${1} | \
|
||||||
|
sed -e "s/^#[[:space:]]*include.*\<\(libav.*[.]h\)\>/\1/" | \
|
||||||
|
tr -d '<>' | tr '\n' ' '
|
||||||
|
}
|
||||||
|
|
||||||
|
check_header_deps() {
|
||||||
|
for i ; do
|
||||||
|
printf "Checking for the presence of ${i}...\n"
|
||||||
|
if [ ! -f "${SYSTEM_FFMPEG_DIR}/${i}" -a ! -f "${FFMPEG_DIR}/${i}" ] ; then
|
||||||
|
printf "Header depends on ${i}\n"
|
||||||
|
printf "... but that file cannot be found, aborting\n"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
move_file() {
|
||||||
|
mydir="$(dirname $1)"
|
||||||
|
printf "Moving and checking file: ${1}\n"
|
||||||
|
[ -d "${FFMPEG_DIR}/${mydir}" ] || mkdir -p "${FFMPEG_DIR}/${mydir}"
|
||||||
|
if [ ! -f "${FFMPEG_DIR}/${1}" ] ; then
|
||||||
|
sanitize_includes "${FFMPEG_MOVED_DIR}/${1}" ${mydir} > "${FFMPEG_DIR}/${1}"
|
||||||
|
fi
|
||||||
|
if $(check_sanitized_includes "${FFMPEG_DIR}/${1}") ; then
|
||||||
|
printf "Error, found non sanitized file in ffmpeg:\n"
|
||||||
|
printf "${FFMPEG_DIR}/${1}\n"
|
||||||
|
printf "Please report it at bugs.gentoo.org\n"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [ "${1%.h}" != "${1}" ] ; then
|
||||||
|
mydeps=$(get_header_deps "${FFMPEG_DIR}/${1}")
|
||||||
|
check_header_deps ${mydeps}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# HEADERS (order matters for the consistency checks: leaves come first)
|
||||||
|
FILES=" libavutil/x86_cpu.h \
|
||||||
|
libavformat/internal.h "
|
||||||
|
# Files that are sed'ed but not compiled, used to check for availability of
|
||||||
|
# some codecs
|
||||||
|
FILES="${FILES} libavcodec/allcodecs.c libavformat/allformats.c libavfilter/allfilters.c"
|
||||||
|
|
||||||
|
for i in ${FILES} ; do
|
||||||
|
move_file $i
|
||||||
|
done
|
||||||
|
|
||||||
|
rm -rf "${FFMPEG_MOVED_DIR}"
|
||||||
|
|
||||||
|
exit 0
|
17
sdk_container/src/third_party/portage-stable/media-video/mplayer/files/ffmpeg.patch
vendored
Normal file
17
sdk_container/src/third_party/portage-stable/media-video/mplayer/files/ffmpeg.patch
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Some guards so that it can still build with ffmpeg 0.10
|
||||||
|
|
||||||
|
Index: mplayer-1.0_rc4_p20120213/fmt-conversion.c
|
||||||
|
===================================================================
|
||||||
|
--- mplayer-1.0_rc4_p20120213.orig/fmt-conversion.c
|
||||||
|
+++ mplayer-1.0_rc4_p20120213/fmt-conversion.c
|
||||||
|
@@ -65,8 +65,10 @@ static const struct {
|
||||||
|
{IMGFMT_RGBA, PIX_FMT_RGB0},
|
||||||
|
{IMGFMT_RGB64LE, PIX_FMT_RGBA64LE},
|
||||||
|
{IMGFMT_RGB64BE, PIX_FMT_RGBA64BE},
|
||||||
|
+#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 35, 101)
|
||||||
|
{IMGFMT_444A, PIX_FMT_YUVA444P},
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 20, 1)
|
||||||
|
{IMGFMT_GBR24P, PIX_FMT_GBRP},
|
||||||
|
#endif
|
@ -0,0 +1,22 @@
|
|||||||
|
https://bugs.gentoo.org/377837
|
||||||
|
http://lists-archives.org/mplayer-dev-eng/34349-compiling-mplayer-with-gcc-4-6-broken-audio-decoding.html
|
||||||
|
|
||||||
|
--- a/mp3lib/dct64_sse.c
|
||||||
|
+++ b/mp3lib/dct64_sse.c
|
||||||
|
@@ -112,7 +112,6 @@ void dct64_sse(short *out0,short *out1,real *c)
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
- real *costab = costab_mmx + 24;
|
||||||
|
int i;
|
||||||
|
|
||||||
|
__asm__(
|
||||||
|
@@ -121,7 +120,7 @@ void dct64_sse(short *out0,short *out1,real *c)
|
||||||
|
"movaps %1, %%xmm5\n\t"
|
||||||
|
"movaps %%xmm5, %%xmm6\n\t"
|
||||||
|
:
|
||||||
|
- :"m"(*costab), "m"(*nnnn)
|
||||||
|
+ :"m"(costab_mmx[24]), "m"(*nnnn)
|
||||||
|
);
|
||||||
|
|
||||||
|
for (i = 0; i < 0x20; i += 8)
|
@ -0,0 +1,14 @@
|
|||||||
|
http://bugs.gentoo.org/379297
|
||||||
|
http://mplayerhq.hu/pipermail/mplayer-cvslog/2011-May/042075.html
|
||||||
|
|
||||||
|
--- sub/subreader.c
|
||||||
|
+++ sub/subreader.c
|
||||||
|
@@ -173,6 +173,8 @@
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 3: /* get all text until '<' appears */
|
||||||
|
+ if (p - text >= LINE_LEN)
|
||||||
|
+ sami_add_line(current, text, &p);
|
||||||
|
if (*s == '\0') break;
|
||||||
|
else if (!strncasecmp (s, "<br>", 4)) {
|
||||||
|
sami_add_line(current, text, &p);
|
25
sdk_container/src/third_party/portage-stable/media-video/mplayer/files/prepare_mplayer.sh
vendored
Normal file
25
sdk_container/src/third_party/portage-stable/media-video/mplayer/files/prepare_mplayer.sh
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
VERSION=$(date +%Y%m%d)
|
||||||
|
PACKAGE="mplayer-1.0_rc4_p${VERSION}"
|
||||||
|
DUMP_FFMPEG="$(dirname $0)/dump_ffmpeg.sh"
|
||||||
|
|
||||||
|
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk ${PACKAGE}
|
||||||
|
|
||||||
|
pushd ${PACKAGE} > /dev/null
|
||||||
|
# ffmpeg is in git now so no svn external anymore
|
||||||
|
rm -rf ffmpeg
|
||||||
|
git clone git://git.videolan.org/ffmpeg.git ffmpeg/
|
||||||
|
sh "$DUMP_FFMPEG"
|
||||||
|
STORE_VERSION=$(LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2)
|
||||||
|
printf "$STORE_VERSION" > snapshot_version
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
find "${PACKAGE}" -type d -name '.svn' -prune -print0 | xargs -0 rm -rf
|
||||||
|
find "${PACKAGE}" -type d -name '.git' -prune -print0 | xargs -0 rm -rf
|
||||||
|
|
||||||
|
tar cJf ${PACKAGE}.tar.xz ${PACKAGE}
|
||||||
|
rm -rf ${PACKAGE}/
|
||||||
|
|
||||||
|
echo "Tarball: \"${PACKAGE}.tar.xz\""
|
||||||
|
|
||||||
|
echo "** all done **"
|
649
sdk_container/src/third_party/portage-stable/media-video/mplayer/mplayer-1.0_rc4_p20120213.ebuild
vendored
Normal file
649
sdk_container/src/third_party/portage-stable/media-video/mplayer/mplayer-1.0_rc4_p20120213.ebuild
vendored
Normal file
@ -0,0 +1,649 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_rc4_p20120213.ebuild,v 1.3 2012/03/18 13:47:12 ssuominen Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
EGIT_REPO_URI="git://git.videolan.org/ffmpeg.git"
|
||||||
|
ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk"
|
||||||
|
[[ ${PV} = *9999* ]] && SVN_ECLASS="subversion git-2" || SVN_ECLASS=""
|
||||||
|
|
||||||
|
inherit toolchain-funcs eutils flag-o-matic multilib base ${SVN_ECLASS}
|
||||||
|
|
||||||
|
IUSE="3dnow 3dnowext +a52 aalib +alsa altivec aqua +ass bidi bindist bl bluray
|
||||||
|
bs2b cddb +cdio cdparanoia cpudetection debug dga
|
||||||
|
directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +encode faac +faad fbcon
|
||||||
|
ftp gif ggi gsm +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa
|
||||||
|
libcaca libmpeg2 lirc +live lzo mad md5sum +mmx mmxext mng +mp3 nas
|
||||||
|
+network nut openal +opengl +osdmenu oss png pnm pulseaudio pvr +quicktime
|
||||||
|
radio +rar +real +rtc rtmp samba +shm sdl +speex sse sse2 ssse3
|
||||||
|
tga +theora +tremor +truetype +toolame +twolame +unicode v4l vdpau vidix
|
||||||
|
+vorbis win32codecs +X +x264 xanim xinerama +xscreensaver +xv +xvid xvmc
|
||||||
|
zoran"
|
||||||
|
|
||||||
|
VIDEO_CARDS="s3virge mga tdfx"
|
||||||
|
for x in ${VIDEO_CARDS}; do
|
||||||
|
IUSE+=" video_cards_${x}"
|
||||||
|
done
|
||||||
|
|
||||||
|
FONT_URI="
|
||||||
|
mirror://mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
|
||||||
|
mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
|
||||||
|
mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2
|
||||||
|
"
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
RELEASE_URI=""
|
||||||
|
else
|
||||||
|
RELEASE_URI="mirror://gentoo/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
SRC_URI="${RELEASE_URI}
|
||||||
|
!truetype? ( ${FONT_URI} )"
|
||||||
|
|
||||||
|
DESCRIPTION="Media Player for Linux"
|
||||||
|
HOMEPAGE="http://www.mplayerhq.hu/"
|
||||||
|
|
||||||
|
FONT_RDEPS="
|
||||||
|
virtual/ttf-fonts
|
||||||
|
media-libs/fontconfig
|
||||||
|
>=media-libs/freetype-2.2.1:2
|
||||||
|
"
|
||||||
|
X_RDEPS="
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXxf86vm
|
||||||
|
"
|
||||||
|
# Rar: althrought -gpl version is nice, it cant do most functions normal rars can
|
||||||
|
# nemesi? ( net-libs/libnemesi )
|
||||||
|
RDEPEND+="
|
||||||
|
sys-libs/ncurses
|
||||||
|
app-arch/bzip2
|
||||||
|
sys-libs/zlib
|
||||||
|
>=media-video/ffmpeg-0.10
|
||||||
|
!bindist? (
|
||||||
|
x86? (
|
||||||
|
win32codecs? ( media-libs/win32codecs )
|
||||||
|
)
|
||||||
|
)
|
||||||
|
a52? ( media-libs/a52dec )
|
||||||
|
aalib? ( media-libs/aalib )
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
ass? ( >=media-libs/libass-0.9.10[enca?] )
|
||||||
|
bidi? ( dev-libs/fribidi )
|
||||||
|
bluray? ( >=media-libs/libbluray-0.2.1 )
|
||||||
|
bs2b? ( media-libs/libbs2b )
|
||||||
|
cdio? ( dev-libs/libcdio )
|
||||||
|
cdparanoia? ( !cdio? ( media-sound/cdparanoia ) )
|
||||||
|
dga? ( x11-libs/libXxf86dga )
|
||||||
|
directfb? ( dev-libs/DirectFB )
|
||||||
|
dts? ( media-libs/libdca )
|
||||||
|
dv? ( media-libs/libdv )
|
||||||
|
dvb? ( virtual/linuxtv-dvb-headers )
|
||||||
|
dvd? ( >=media-libs/libdvdread-4.1.3 )
|
||||||
|
dvdnav? ( >=media-libs/libdvdnav-4.1.3 )
|
||||||
|
encode? (
|
||||||
|
!twolame? ( toolame? ( media-sound/toolame ) )
|
||||||
|
twolame? ( media-sound/twolame )
|
||||||
|
faac? ( media-libs/faac )
|
||||||
|
mp3? ( media-sound/lame )
|
||||||
|
x264? ( >=media-libs/x264-0.0.20100423 )
|
||||||
|
xvid? ( media-libs/xvid )
|
||||||
|
)
|
||||||
|
enca? ( app-i18n/enca )
|
||||||
|
faad? ( media-libs/faad2 )
|
||||||
|
ggi? ( media-libs/libggi media-libs/libggiwmh )
|
||||||
|
gif? ( media-libs/giflib )
|
||||||
|
gsm? ( media-sound/gsm )
|
||||||
|
iconv? ( virtual/libiconv )
|
||||||
|
jack? ( media-sound/jack-audio-connection-kit )
|
||||||
|
jpeg? ( virtual/jpeg )
|
||||||
|
jpeg2k? ( media-libs/openjpeg )
|
||||||
|
ladspa? ( media-libs/ladspa-sdk )
|
||||||
|
libcaca? ( media-libs/libcaca )
|
||||||
|
libmpeg2? ( media-libs/libmpeg2 )
|
||||||
|
lirc? ( app-misc/lirc )
|
||||||
|
live? ( media-plugins/live )
|
||||||
|
lzo? ( >=dev-libs/lzo-2 )
|
||||||
|
mad? ( media-libs/libmad )
|
||||||
|
mng? ( media-libs/libmng )
|
||||||
|
mp3? ( media-sound/mpg123 )
|
||||||
|
nas? ( media-libs/nas )
|
||||||
|
nut? ( >=media-libs/libnut-661 )
|
||||||
|
openal? ( media-libs/openal )
|
||||||
|
opengl? ( virtual/opengl )
|
||||||
|
png? ( media-libs/libpng )
|
||||||
|
pnm? ( media-libs/netpbm )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio )
|
||||||
|
rar? (
|
||||||
|
|| (
|
||||||
|
app-arch/unrar
|
||||||
|
app-arch/rar
|
||||||
|
)
|
||||||
|
)
|
||||||
|
rtmp? ( media-video/rtmpdump )
|
||||||
|
samba? ( net-fs/samba )
|
||||||
|
sdl? ( media-libs/libsdl )
|
||||||
|
speex? ( media-libs/speex )
|
||||||
|
theora? ( media-libs/libtheora[encode?] )
|
||||||
|
truetype? ( ${FONT_RDEPS} )
|
||||||
|
vdpau? ( x11-libs/libvdpau )
|
||||||
|
vorbis? ( media-libs/libvorbis )
|
||||||
|
X? ( ${X_RDEPS} )
|
||||||
|
xanim? ( media-video/xanim )
|
||||||
|
xinerama? ( x11-libs/libXinerama )
|
||||||
|
xscreensaver? ( x11-libs/libXScrnSaver )
|
||||||
|
xv? ( x11-libs/libXv )
|
||||||
|
xvmc? ( x11-libs/libXvMC )
|
||||||
|
"
|
||||||
|
|
||||||
|
X_DEPS="
|
||||||
|
x11-proto/videoproto
|
||||||
|
x11-proto/xf86vidmodeproto
|
||||||
|
"
|
||||||
|
ASM_DEP="dev-lang/yasm"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-util/pkgconfig
|
||||||
|
dga? ( x11-proto/xf86dgaproto )
|
||||||
|
dxr3? ( media-video/em8300-libraries )
|
||||||
|
X? ( ${X_DEPS} )
|
||||||
|
xinerama? ( x11-proto/xineramaproto )
|
||||||
|
xscreensaver? ( x11-proto/scrnsaverproto )
|
||||||
|
amd64? ( ${ASM_DEP} )
|
||||||
|
doc? (
|
||||||
|
dev-libs/libxslt app-text/docbook-xml-dtd
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
)
|
||||||
|
x86? ( ${ASM_DEP} )
|
||||||
|
x86-fbsd? ( ${ASM_DEP} )
|
||||||
|
"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
if [[ ${PV} != *9999* ]]; then
|
||||||
|
KEYWORDS="amd64 ~hppa ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||||
|
else
|
||||||
|
KEYWORDS=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# faac codecs are nonfree, win32codecs are nonfree
|
||||||
|
# libcdio support: prefer libcdio over cdparanoia and don't check for cddb w/cdio
|
||||||
|
# dvd navigation requires dvd read support
|
||||||
|
# ass and freetype font require iconv and ass requires freetype fonts
|
||||||
|
# unicode transformations are usefull only with iconv
|
||||||
|
# libvorbis require external tremor to work
|
||||||
|
# radio requires oss or alsa backend
|
||||||
|
# xvmc requires xvideo support
|
||||||
|
REQUIRED_USE="bindist? ( !faac !win32codecs )
|
||||||
|
dvdnav? ( dvd )
|
||||||
|
ass? ( truetype )
|
||||||
|
truetype? ( iconv )
|
||||||
|
dxr3? ( X )
|
||||||
|
ggi? ( X )
|
||||||
|
xinerama? ( X )
|
||||||
|
dga? ( X )
|
||||||
|
opengl? ( X )
|
||||||
|
osdmenu? ( X )
|
||||||
|
vdpau? ( X )
|
||||||
|
vidix? ( X )
|
||||||
|
xscreensaver? ( X )
|
||||||
|
xv? ( X )
|
||||||
|
xvmc? ( xv )"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}/ffmpeg.patch" )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
elog
|
||||||
|
elog "This is a live ebuild which installs the latest from upstream's"
|
||||||
|
elog "subversion repository, and is unsupported by Gentoo."
|
||||||
|
elog "Everything but bugs in the ebuild itself will be ignored."
|
||||||
|
elog
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use cpudetection; then
|
||||||
|
ewarn
|
||||||
|
ewarn "You've enabled the cpudetection flag. This feature is"
|
||||||
|
ewarn "included mainly for people who want to use the same"
|
||||||
|
ewarn "binary on another system with a different CPU architecture."
|
||||||
|
ewarn "MPlayer will already detect your CPU settings by default at"
|
||||||
|
ewarn "buildtime; this flag is used for runtime detection."
|
||||||
|
ewarn "You won't need this turned on if you are only building"
|
||||||
|
ewarn "mplayer for this system. Also, if your compile fails, try"
|
||||||
|
ewarn "disabling this use flag."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
subversion_src_unpack
|
||||||
|
cd "${WORKDIR}"
|
||||||
|
rm -rf "${WORKDIR}/${P}/ffmpeg/"
|
||||||
|
( S="${WORKDIR}/${P}/ffmpeg/" git-2_src_unpack )
|
||||||
|
cd "${S}"
|
||||||
|
cp "${FILESDIR}/dump_ffmpeg.sh" . || die
|
||||||
|
chmod +x dump_ffmpeg.sh
|
||||||
|
./dump_ffmpeg.sh || die
|
||||||
|
else
|
||||||
|
unpack ${A}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use truetype; then
|
||||||
|
unpack font-arial-iso-8859-1.tar.bz2 \
|
||||||
|
font-arial-iso-8859-2.tar.bz2 \
|
||||||
|
font-arial-cp1250.tar.bz2
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local svf=snapshot_version
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
# Set SVN version manually
|
||||||
|
subversion_wc_info
|
||||||
|
printf "${ESVN_WC_REVISION}" > $svf
|
||||||
|
fi
|
||||||
|
[ -f "$svf" ] || die "Missing ${svf}. Did you generate your snapshot with prepare_mplayer.sh?"
|
||||||
|
local sv=$(<$svf)
|
||||||
|
printf "SVN-r${sv} (Gentoo)" > VERSION
|
||||||
|
|
||||||
|
# fix path to bash executable in configure scripts
|
||||||
|
sed -i -e "1c\#!${EPREFIX}/bin/bash" configure version.sh || die
|
||||||
|
|
||||||
|
base_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=""
|
||||||
|
local uses i
|
||||||
|
|
||||||
|
# set LINGUAS
|
||||||
|
[[ -n $LINGUAS ]] && LINGUAS="${LINGUAS/da/dk}"
|
||||||
|
|
||||||
|
# mplayer ebuild uses "use foo || --disable-foo" to forcibly disable
|
||||||
|
# compilation in almost every situation. The reason for this is
|
||||||
|
# because if --enable is used, it will force the build of that option,
|
||||||
|
# regardless of whether the dependency is available or not.
|
||||||
|
|
||||||
|
###################
|
||||||
|
#Optional features#
|
||||||
|
###################
|
||||||
|
# disable svga since we don't want it
|
||||||
|
# disable arts since we don't have kde3
|
||||||
|
# always disable internal ass
|
||||||
|
myconf+="
|
||||||
|
--disable-svga --disable-svgalib_helper
|
||||||
|
--disable-ass-internal
|
||||||
|
--disable-arts
|
||||||
|
--disable-kai
|
||||||
|
$(use_enable network networking)
|
||||||
|
$(use_enable joystick)
|
||||||
|
"
|
||||||
|
uses="ass bl bluray enca ftp rtc" # nemesi <- not working with in-tree ebuild
|
||||||
|
myconf+=" --disable-nemesi" # nemesi automagic disable
|
||||||
|
for i in ${uses}; do
|
||||||
|
use ${i} || myconf+=" --disable-${i}"
|
||||||
|
done
|
||||||
|
use bidi || myconf+=" --disable-fribidi"
|
||||||
|
use ipv6 || myconf+=" --disable-inet6"
|
||||||
|
use nut || myconf+=" --disable-libnut"
|
||||||
|
use rar || myconf+=" --disable-unrarexec"
|
||||||
|
use samba || myconf+=" --disable-smb"
|
||||||
|
use lirc || myconf+=" --disable-lirc --disable-lircc --disable-apple-ir"
|
||||||
|
|
||||||
|
# libcdio support: prefer libcdio over cdparanoia
|
||||||
|
# don't check for cddb w/cdio
|
||||||
|
if use cdio; then
|
||||||
|
myconf+=" --disable-cdparanoia"
|
||||||
|
else
|
||||||
|
myconf+=" --disable-libcdio"
|
||||||
|
use cdparanoia || myconf+=" --disable-cdparanoia"
|
||||||
|
use cddb || myconf+=" --disable-cddb"
|
||||||
|
fi
|
||||||
|
|
||||||
|
################################
|
||||||
|
# DVD read, navigation support #
|
||||||
|
################################
|
||||||
|
#
|
||||||
|
# dvdread - accessing a DVD
|
||||||
|
# dvdnav - navigation of menus
|
||||||
|
#
|
||||||
|
# use external libdvdcss, dvdread and dvdnav
|
||||||
|
myconf+=" --disable-dvdread-internal --disable-libdvdcss-internal"
|
||||||
|
use dvd || myconf+=" --disable-dvdread"
|
||||||
|
use dvdnav || myconf+=" --disable-dvdnav"
|
||||||
|
|
||||||
|
#############
|
||||||
|
# Subtitles #
|
||||||
|
#############
|
||||||
|
#
|
||||||
|
# SRT/ASS/SSA (subtitles) requires freetype support
|
||||||
|
# freetype support requires iconv
|
||||||
|
# iconv optionally can use unicode
|
||||||
|
use truetype || myconf+=" --disable-freetype"
|
||||||
|
use iconv || myconf+=" --disable-iconv --charset=noconv"
|
||||||
|
use iconv && use unicode && myconf+=" --charset=UTF-8"
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# DVB / Video4Linux / Radio support #
|
||||||
|
#####################################
|
||||||
|
myconf+=" --disable-tv-bsdbt848"
|
||||||
|
# broken upstream, won't work with recent kernels
|
||||||
|
myconf+=" --disable-ivtv"
|
||||||
|
# gone since linux-headers-2.6.38
|
||||||
|
myconf+=" --disable-tv-v4l1"
|
||||||
|
if { use dvb || use v4l || use pvr || use radio; }; then
|
||||||
|
use dvb || myconf+=" --disable-dvb"
|
||||||
|
use pvr || myconf+=" --disable-pvr"
|
||||||
|
use v4l || myconf+=" --disable-tv-v4l2"
|
||||||
|
if use radio && { use dvb || use v4l; }; then
|
||||||
|
myconf+="
|
||||||
|
--enable-radio
|
||||||
|
$(use_enable encode radio-capture)
|
||||||
|
"
|
||||||
|
else
|
||||||
|
myconf+="
|
||||||
|
--disable-radio-v4l2
|
||||||
|
--disable-radio-bsdbt848
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
myconf+="
|
||||||
|
--disable-tv
|
||||||
|
--disable-tv-v4l2
|
||||||
|
--disable-radio
|
||||||
|
--disable-radio-v4l2
|
||||||
|
--disable-radio-bsdbt848
|
||||||
|
--disable-dvb
|
||||||
|
--disable-v4l2
|
||||||
|
--disable-pvr"
|
||||||
|
fi
|
||||||
|
|
||||||
|
##########
|
||||||
|
# Codecs #
|
||||||
|
##########
|
||||||
|
myconf+=" --disable-musepack" # Use internal musepack codecs for SV7 and SV8 support
|
||||||
|
myconf+=" --disable-libmpeg2-internal" # always use system media-libs/libmpeg2
|
||||||
|
use dts || myconf+=" --disable-libdca"
|
||||||
|
# Disable internal mp3lib, bug #384849
|
||||||
|
# Samuli Suominen: Looks like MPlayer in Portage is using internal mp3lib by
|
||||||
|
# default, where as mpg123 upstream has incorporated all the optimizations
|
||||||
|
# from mplayer's mp3lib in libmpg123 and more.
|
||||||
|
# It makes very little sense to use the internal copy as default anymore.
|
||||||
|
myconf+=" --disable-mp3lib"
|
||||||
|
if ! use mp3; then
|
||||||
|
myconf+="
|
||||||
|
--disable-mp3lame
|
||||||
|
--disable-mpg123
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
uses="a52 bs2b dv gsm lzo rtmp"
|
||||||
|
for i in ${uses}; do
|
||||||
|
use ${i} || myconf+=" --disable-lib${i}"
|
||||||
|
done
|
||||||
|
|
||||||
|
uses="faad gif jpeg libmpeg2 live mad mng png pnm speex tga theora xanim"
|
||||||
|
for i in ${uses}; do
|
||||||
|
use ${i} || myconf+=" --disable-${i}"
|
||||||
|
done
|
||||||
|
use jpeg2k || myconf+=" --disable-libopenjpeg"
|
||||||
|
if use vorbis || use tremor; then
|
||||||
|
use tremor || myconf+=" --disable-tremor-internal"
|
||||||
|
use vorbis || myconf+=" --disable-libvorbis"
|
||||||
|
else
|
||||||
|
myconf+="
|
||||||
|
--disable-tremor-internal
|
||||||
|
--disable-tremor
|
||||||
|
--disable-libvorbis
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
# Encoding
|
||||||
|
uses="faac x264 xvid toolame twolame"
|
||||||
|
if use encode; then
|
||||||
|
for i in ${uses}; do
|
||||||
|
use ${i} || myconf+=" --disable-${i}"
|
||||||
|
done
|
||||||
|
else
|
||||||
|
myconf+=" --disable-mencoder"
|
||||||
|
for i in ${uses}; do
|
||||||
|
myconf+=" --disable-${i}"
|
||||||
|
use ${i} && elog "Useflag \"${i}\" will only be useful for encoding, i.e., with \"encode\" useflag enabled."
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
#################
|
||||||
|
# Binary codecs #
|
||||||
|
#################
|
||||||
|
# bug 213836
|
||||||
|
if ! use x86 || ! use win32codecs; then
|
||||||
|
use quicktime || myconf+=" --disable-qtx"
|
||||||
|
fi
|
||||||
|
|
||||||
|
######################
|
||||||
|
# RealPlayer support #
|
||||||
|
######################
|
||||||
|
# Realplayer support shows up in four places:
|
||||||
|
# - libavcodec (internal)
|
||||||
|
# - win32codecs
|
||||||
|
# - realcodecs (win32codecs libs)
|
||||||
|
# - realcodecs (realplayer libs)
|
||||||
|
|
||||||
|
# internal
|
||||||
|
use real || myconf+=" --disable-real"
|
||||||
|
|
||||||
|
# Real binary codec support only available on x86, amd64
|
||||||
|
if use real; then
|
||||||
|
use x86 && myconf+=" --codecsdir=/opt/RealPlayer/codecs"
|
||||||
|
use amd64 && myconf+=" --codecsdir=/usr/$(get_libdir)/codecs"
|
||||||
|
fi
|
||||||
|
myconf+=" $(use_enable win32codecs win32dll)"
|
||||||
|
|
||||||
|
################
|
||||||
|
# Video Output #
|
||||||
|
################
|
||||||
|
uses="directfb md5sum sdl"
|
||||||
|
for i in ${uses}; do
|
||||||
|
use ${i} || myconf+=" --disable-${i}"
|
||||||
|
done
|
||||||
|
use aalib || myconf+=" --disable-aa"
|
||||||
|
use fbcon || myconf+=" --disable-fbdev"
|
||||||
|
use fbcon && use video_cards_s3virge && myconf+=" --enable-s3fb"
|
||||||
|
use libcaca || myconf+=" --disable-caca"
|
||||||
|
use zoran || myconf+=" --disable-zr"
|
||||||
|
|
||||||
|
if ! use kernel_linux || ! use video_cards_mga; then
|
||||||
|
myconf+=" --disable-mga --disable-xmga"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use video_cards_tdfx; then
|
||||||
|
myconf+="
|
||||||
|
$(use_enable video_cards_tdfx tdfxvid)
|
||||||
|
$(use_enable fbcon tdfxfb)
|
||||||
|
"
|
||||||
|
else
|
||||||
|
myconf+="
|
||||||
|
--disable-3dfx
|
||||||
|
--disable-tdfxvid
|
||||||
|
--disable-tdfxfb
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# sun card, disable by default, see bug #258729
|
||||||
|
myconf+=" --disable-xvr100"
|
||||||
|
|
||||||
|
################
|
||||||
|
# Audio Output #
|
||||||
|
################
|
||||||
|
myconf+=" --disable-esd"
|
||||||
|
uses="alsa jack ladspa nas openal"
|
||||||
|
for i in ${uses}; do
|
||||||
|
use ${i} || myconf+=" --disable-${i}"
|
||||||
|
done
|
||||||
|
use pulseaudio || myconf+=" --disable-pulse"
|
||||||
|
if ! use radio; then
|
||||||
|
use oss || myconf+=" --disable-ossaudio"
|
||||||
|
fi
|
||||||
|
|
||||||
|
####################
|
||||||
|
# Advanced Options #
|
||||||
|
####################
|
||||||
|
# Platform specific flags, hardcoded on amd64 (see below)
|
||||||
|
use cpudetection && myconf+=" --enable-runtime-cpudetection"
|
||||||
|
|
||||||
|
uses="3dnow 3dnowext altivec mmx mmxext shm sse sse2 ssse3"
|
||||||
|
for i in ${uses}; do
|
||||||
|
myconf+=" $(use_enable ${i})"
|
||||||
|
done
|
||||||
|
|
||||||
|
use debug && myconf+=" --enable-debug=3"
|
||||||
|
|
||||||
|
if use x86 && gcc-specs-pie; then
|
||||||
|
filter-flags -fPIC -fPIE
|
||||||
|
append-ldflags -nopie
|
||||||
|
fi
|
||||||
|
|
||||||
|
###########################
|
||||||
|
# X enabled configuration #
|
||||||
|
###########################
|
||||||
|
myconf+=" --disable-gui"
|
||||||
|
myconf+=" --disable-vesa"
|
||||||
|
uses="dxr3 ggi vdpau xinerama xv"
|
||||||
|
for i in ${uses}; do
|
||||||
|
use ${i} || myconf+=" --disable-${i}"
|
||||||
|
done
|
||||||
|
use dga || myconf+=" --disable-dga1 --disable-dga2"
|
||||||
|
use opengl || myconf+=" --disable-gl"
|
||||||
|
use osdmenu && myconf+=" --enable-menu"
|
||||||
|
use vidix || myconf+=" --disable-vidix --disable-vidix-pcidb"
|
||||||
|
use xscreensaver || myconf+=" --disable-xss"
|
||||||
|
use X || myconf+=" --disable-x11"
|
||||||
|
if use xvmc; then
|
||||||
|
myconf+=" --enable-xvmc --with-xvmclib=XvMCW"
|
||||||
|
else
|
||||||
|
myconf+=" --disable-xvmc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
############################
|
||||||
|
# OSX (aqua) configuration #
|
||||||
|
############################
|
||||||
|
if use aqua; then
|
||||||
|
myconf+="
|
||||||
|
--enable-macosx-finder
|
||||||
|
--enable-macosx-bundle
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--cc="$(tc-getCC)" \
|
||||||
|
--host-cc="$(tc-getBUILD_CC)" \
|
||||||
|
--prefix="${EPREFIX}/usr" \
|
||||||
|
--bindir="${EPREFIX}/usr/bin" \
|
||||||
|
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||||
|
--confdir="${EPREFIX}/etc/mplayer" \
|
||||||
|
--datadir="${EPREFIX}/usr/share/mplayer${namesuf}" \
|
||||||
|
--mandir="${EPREFIX}/usr/share/man" \
|
||||||
|
--disable-ffmpeg_a \
|
||||||
|
${myconf} || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
base_src_compile
|
||||||
|
# Build only user-requested docs if they're available.
|
||||||
|
if use doc ; then
|
||||||
|
# select available languages from $LINGUAS
|
||||||
|
LINGUAS=${LINGUAS/zh/zh_CN}
|
||||||
|
local ALLOWED_LINGUAS="cs de en es fr hu it pl ru zh_CN"
|
||||||
|
local BUILT_DOCS=""
|
||||||
|
for i in ${LINGUAS} ; do
|
||||||
|
has ${i} ${ALLOWED_LINGUAS} && BUILT_DOCS+=" ${i}"
|
||||||
|
done
|
||||||
|
if [[ -z $BUILT_DOCS ]]; then
|
||||||
|
emake -j1 html-chunked
|
||||||
|
else
|
||||||
|
for i in ${BUILT_DOCS}; do
|
||||||
|
emake -j1 html-chunked-${i}
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local i
|
||||||
|
|
||||||
|
emake \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
INSTALLSTRIP="" \
|
||||||
|
install
|
||||||
|
|
||||||
|
dodoc AUTHORS Changelog Copyright README etc/codecs.conf
|
||||||
|
|
||||||
|
docinto tech/
|
||||||
|
dodoc DOCS/tech/{*.txt,MAINTAINERS,mpsub.sub,playtree,TODO,wishlist}
|
||||||
|
docinto TOOLS/
|
||||||
|
dodoc -r TOOLS
|
||||||
|
if use real; then
|
||||||
|
docinto tech/realcodecs/
|
||||||
|
dodoc DOCS/tech/realcodecs/*
|
||||||
|
fi
|
||||||
|
docinto tech/mirrors/
|
||||||
|
dodoc DOCS/tech/mirrors/*
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
docinto html/
|
||||||
|
dohtml -r "${S}"/DOCS/HTML/*
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use truetype; then
|
||||||
|
dodir /usr/share/mplayer/fonts
|
||||||
|
# Do this generic, as the mplayer people like to change the structure
|
||||||
|
# of their zips ...
|
||||||
|
for i in $(find "${WORKDIR}/" -type d -name 'font-arial-*'); do
|
||||||
|
cp -pPR "${i}" "${ED}/usr/share/mplayer/fonts"
|
||||||
|
done
|
||||||
|
# Fix the font symlink ...
|
||||||
|
rm -rf "${ED}/usr/share/mplayer/font"
|
||||||
|
dosym fonts/font-arial-14-iso-8859-1 /usr/share/mplayer/font
|
||||||
|
fi
|
||||||
|
|
||||||
|
insinto /etc/mplayer
|
||||||
|
newins "${S}/etc/example.conf" mplayer.conf
|
||||||
|
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
|
||||||
|
# Config options can be section specific, global
|
||||||
|
# options should go in the default section
|
||||||
|
[default]
|
||||||
|
_EOF_
|
||||||
|
doins "${S}/etc/input.conf"
|
||||||
|
if use osdmenu; then
|
||||||
|
doins "${S}/etc/menu.conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use truetype; then
|
||||||
|
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
|
||||||
|
fontconfig=1
|
||||||
|
subfont-osd-scale=4
|
||||||
|
subfont-text-scale=3
|
||||||
|
_EOF_
|
||||||
|
fi
|
||||||
|
|
||||||
|
# bug 256203
|
||||||
|
if use rar; then
|
||||||
|
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
|
||||||
|
unrarexec=${EPREFIX}/usr/bin/unrar
|
||||||
|
_EOF_
|
||||||
|
fi
|
||||||
|
|
||||||
|
dosym ../../../etc/mplayer/mplayer.conf /usr/share/mplayer/mplayer.conf
|
||||||
|
newbin "${S}/TOOLS/midentify.sh" midentify
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
[[ -d ${EROOT}/usr/share/mplayer/Skin/default ]] && \
|
||||||
|
rm -rf "${EROOT}/usr/share/mplayer/Skin/default"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
# Cleanup stale symlinks
|
||||||
|
[ -L "${EROOT}/usr/share/mplayer/font" -a \
|
||||||
|
! -e "${EROOT}/usr/share/mplayer/font" ] && \
|
||||||
|
rm -f "${EROOT}/usr/share/mplayer/font"
|
||||||
|
|
||||||
|
[ -L "${EROOT}/usr/share/mplayer/subfont.ttf" -a \
|
||||||
|
! -e "${EROOT}/usr/share/mplayer/subfont.ttf" ] && \
|
||||||
|
rm -f "${EROOT}/usr/share/mplayer/subfont.ttf"
|
||||||
|
}
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-lang/yasm-1.2.0
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-lang/yasm-1.2.0
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=configure setup
|
||||||
|
DEPEND=nls? ( sys-devel/gettext ) python? ( >=dev-python/cython-0.14 ) >=app-admin/eselect-python-20091230 python? ( =dev-lang/python-2.7* )
|
||||||
|
DESCRIPTION=An assembler for x86 and x86_64 instruction sets
|
||||||
|
EAPI=4
|
||||||
|
HOMEPAGE=http://www.tortall.net/projects/yasm/
|
||||||
|
IUSE=nls python
|
||||||
|
KEYWORDS=-* amd64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris
|
||||||
|
LICENSE=BSD-2 BSD || ( Artistic GPL-2 LGPL-2 )
|
||||||
|
RDEPEND=nls? ( virtual/libintl ) >=app-admin/eselect-python-20091230 python? ( =dev-lang/python-2.7* )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
|
||||||
|
_eclasses_=multilib 5f4ad6cf85e365e8f0c6050ddd21659e python 6bbd984910e27780e5d0ea543d83ef84 toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68
|
||||||
|
_md5_=72455ff7d152e334e4098f0c0f320ac6
|
12
sdk_container/src/third_party/portage-stable/metadata/md5-cache/media-libs/libdvdnav-4.2.0
vendored
Normal file
12
sdk_container/src/third_party/portage-stable/metadata/md5-cache/media-libs/libdvdnav-4.2.0
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
DEFINED_PHASES=install prepare
|
||||||
|
DEPEND=>=media-libs/libdvdread-4.2.0 || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
|
||||||
|
DESCRIPTION=Library for DVD navigation tools
|
||||||
|
EAPI=4
|
||||||
|
HOMEPAGE=http://dvdnav.mplayerhq.hu/
|
||||||
|
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=media-libs/libdvdread-4.2.0
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://dvdnav.mplayerhq.hu/releases/libdvdnav-4.2.0.tar.bz2
|
||||||
|
_eclasses_=autotools 63332a15502113ca711ccccb3889a109 eutils 33ef77a15337022e05342d2c772a7a5a libtool 0fd90d183673bf1107465ec45849d1ea multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68 user 9e552f935106ff0bc92af16da64b4b29
|
||||||
|
_md5_=a3bd0703282bda1125d1cb1040cffd77
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/media-libs/libdvdread-4.2.0
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/media-libs/libdvdread-4.2.0
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=install prepare
|
||||||
|
DEPEND=!<media-libs/libdvdnav-4.2.0 css? ( media-libs/libdvdcss ) || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
|
||||||
|
DESCRIPTION=Library for DVD navigation tools
|
||||||
|
EAPI=4
|
||||||
|
HOMEPAGE=http://dvdnav.mplayerhq.hu/
|
||||||
|
IUSE=+css
|
||||||
|
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=!<media-libs/libdvdnav-4.2.0 css? ( media-libs/libdvdcss )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://dvdnav.mplayerhq.hu/releases/libdvdread-4.2.0.tar.bz2
|
||||||
|
_eclasses_=autotools 63332a15502113ca711ccccb3889a109 eutils 33ef77a15337022e05342d2c772a7a5a libtool 0fd90d183673bf1107465ec45849d1ea multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68 user 9e552f935106ff0bc92af16da64b4b29
|
||||||
|
_md5_=8715bfb0be201084c667ed1a3f51f715
|
14
sdk_container/src/third_party/portage-stable/metadata/md5-cache/media-video/ffmpeg-0.10.2
vendored
Normal file
14
sdk_container/src/third_party/portage-stable/metadata/md5-cache/media-video/ffmpeg-0.10.2
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DEPEND=alsa? ( media-libs/alsa-lib ) amr? ( media-libs/opencore-amr ) ass? ( media-libs/libass ) bzip2? ( app-arch/bzip2 ) cdio? ( dev-libs/libcdio ) celt? ( >=media-libs/celt-0.11.1 ) dirac? ( media-video/dirac ) encode? ( aac? ( media-libs/vo-aacenc ) aacplus? ( media-libs/libaacplus ) 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.20111017 ) xvid? ( >=media-libs/xvid-1.1.0 ) ) frei0r? ( media-plugins/frei0r-plugins ) gnutls? ( net-libs/gnutls ) 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 ) libv4l? ( media-libs/libv4l ) modplug? ( media-libs/libmodplug ) openal? ( >=media-libs/openal-1.1 ) pulseaudio? ( media-sound/pulseaudio ) 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 ) vdpau? ( x11-libs/libvdpau ) vpx? ( >=media-libs/libvpx-0.9.6 ) X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes ) zlib? ( sys-libs/zlib ) !media-video/qt-faststart >=sys-devel/make-3.81 dirac? ( dev-util/pkgconfig ) doc? ( app-text/texi2html ) gnutls? ( dev-util/pkgconfig ) ieee1394? ( dev-util/pkgconfig ) libv4l? ( dev-util/pkgconfig ) mmx? ( dev-lang/yasm ) rtmp? ( dev-util/pkgconfig ) schroedinger? ( dev-util/pkgconfig ) test? ( net-misc/wget ) truetype? ( dev-util/pkgconfig ) v4l? ( sys-kernel/linux-headers )
|
||||||
|
DESCRIPTION=Complete solution to record, convert and stream audio and video. Includes libavcodec.
|
||||||
|
EAPI=4
|
||||||
|
HOMEPAGE=http://ffmpeg.org/
|
||||||
|
IUSE=aac aacplus alsa amr ass bindist +bzip2 cdio celt cpudetection debug dirac doc +encode faac frei0r gnutls gsm +hardcoded-tables ieee1394 jack jpeg2k libv4l modplug mp3 network openal openssl oss pic pulseaudio rtmp schroedinger sdl speex static-libs test theora threads truetype v4l vaapi vdpau vorbis vpx X x264 xvid +zlib 3dnow 3dnowext altivec avx mmx mmxext ssse3 vis neon +fftools_aviocat +fftools_cws2fws +fftools_ffeval +fftools_graph2dot +fftools_ismindex +fftools_pktdumper +fftools_qt-faststart +fftools_trasher
|
||||||
|
KEYWORDS=amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd
|
||||||
|
LICENSE=GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) )
|
||||||
|
RDEPEND=alsa? ( media-libs/alsa-lib ) amr? ( media-libs/opencore-amr ) ass? ( media-libs/libass ) bzip2? ( app-arch/bzip2 ) cdio? ( dev-libs/libcdio ) celt? ( >=media-libs/celt-0.11.1 ) dirac? ( media-video/dirac ) encode? ( aac? ( media-libs/vo-aacenc ) aacplus? ( media-libs/libaacplus ) 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.20111017 ) xvid? ( >=media-libs/xvid-1.1.0 ) ) frei0r? ( media-plugins/frei0r-plugins ) gnutls? ( net-libs/gnutls ) 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 ) libv4l? ( media-libs/libv4l ) modplug? ( media-libs/libmodplug ) openal? ( >=media-libs/openal-1.1 ) pulseaudio? ( media-sound/pulseaudio ) 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 ) vdpau? ( x11-libs/libvdpau ) vpx? ( >=media-libs/libvpx-0.9.6 ) X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes ) zlib? ( sys-libs/zlib ) !media-video/qt-faststart
|
||||||
|
REQUIRED_USE=bindist? ( encode? ( !faac !aacplus ) !openssl ) libv4l? ( v4l ) fftools_cws2fws? ( zlib ) test? ( encode zlib )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://ffmpeg.org/releases/ffmpeg-0.10.2.tar.bz2
|
||||||
|
_eclasses_=eutils 33ef77a15337022e05342d2c772a7a5a flag-o-matic 01a8b1eb019305bc4b4a8bd0b04e4cd8 multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68 user 9e552f935106ff0bc92af16da64b4b29
|
||||||
|
_md5_=ca965fbe82808e57c748214d26da107e
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare test
|
|
||||||
DEPEND=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.20110426 ) 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 >=sys-devel/make-3.81 dirac? ( dev-util/pkgconfig ) doc? ( app-text/texi2html ) ieee1394? ( dev-util/pkgconfig ) mmx? ( dev-lang/yasm ) rtmp? ( dev-util/pkgconfig ) schroedinger? ( dev-util/pkgconfig ) test? ( net-misc/wget ) truetype? ( dev-util/pkgconfig ) v4l? ( sys-kernel/linux-headers )
|
|
||||||
DESCRIPTION=Complete solution to record, convert and stream audio and video. Includes libavcodec.
|
|
||||||
EAPI=2
|
|
||||||
HOMEPAGE=http://ffmpeg.org/
|
|
||||||
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 vaapi vdpau vorbis vpx X x264 xvid +zlib video_cards_nvidia
|
|
||||||
KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd
|
|
||||||
LICENSE=GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) )
|
|
||||||
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.20110426 ) 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
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://ffmpeg.org/releases/ffmpeg-0.7.8.tar.bz2
|
|
||||||
_eclasses_=eutils 33ef77a15337022e05342d2c772a7a5a flag-o-matic 01a8b1eb019305bc4b4a8bd0b04e4cd8 multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68 user 9e552f935106ff0bc92af16da64b4b29
|
|
||||||
_md5_=20d01d3e82185179fd09dd8ddd9863c5
|
|
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postrm preinst prepare setup unpack
|
||||||
|
DEPEND=sys-libs/ncurses app-arch/bzip2 sys-libs/zlib >=media-video/ffmpeg-0.10 !bindist? ( x86? ( win32codecs? ( media-libs/win32codecs ) ) ) a52? ( media-libs/a52dec ) aalib? ( media-libs/aalib ) alsa? ( media-libs/alsa-lib ) ass? ( >=media-libs/libass-0.9.10[enca?] ) bidi? ( dev-libs/fribidi ) bluray? ( >=media-libs/libbluray-0.2.1 ) bs2b? ( media-libs/libbs2b ) cdio? ( dev-libs/libcdio ) cdparanoia? ( !cdio? ( media-sound/cdparanoia ) ) dga? ( x11-libs/libXxf86dga ) directfb? ( dev-libs/DirectFB ) dts? ( media-libs/libdca ) dv? ( media-libs/libdv ) dvb? ( virtual/linuxtv-dvb-headers ) dvd? ( >=media-libs/libdvdread-4.1.3 ) dvdnav? ( >=media-libs/libdvdnav-4.1.3 ) encode? ( !twolame? ( toolame? ( media-sound/toolame ) ) twolame? ( media-sound/twolame ) faac? ( media-libs/faac ) mp3? ( media-sound/lame ) x264? ( >=media-libs/x264-0.0.20100423 ) xvid? ( media-libs/xvid ) ) enca? ( app-i18n/enca ) faad? ( media-libs/faad2 ) ggi? ( media-libs/libggi media-libs/libggiwmh ) gif? ( media-libs/giflib ) gsm? ( media-sound/gsm ) iconv? ( virtual/libiconv ) jack? ( media-sound/jack-audio-connection-kit ) jpeg? ( virtual/jpeg ) jpeg2k? ( media-libs/openjpeg ) ladspa? ( media-libs/ladspa-sdk ) libcaca? ( media-libs/libcaca ) libmpeg2? ( media-libs/libmpeg2 ) lirc? ( app-misc/lirc ) live? ( media-plugins/live ) lzo? ( >=dev-libs/lzo-2 ) mad? ( media-libs/libmad ) mng? ( media-libs/libmng ) mp3? ( media-sound/mpg123 ) nas? ( media-libs/nas ) nut? ( >=media-libs/libnut-661 ) openal? ( media-libs/openal ) opengl? ( virtual/opengl ) png? ( media-libs/libpng ) pnm? ( media-libs/netpbm ) pulseaudio? ( media-sound/pulseaudio ) rar? ( || ( app-arch/unrar app-arch/rar ) ) rtmp? ( media-video/rtmpdump ) samba? ( net-fs/samba ) sdl? ( media-libs/libsdl ) speex? ( media-libs/speex ) theora? ( media-libs/libtheora[encode?] ) truetype? ( virtual/ttf-fonts media-libs/fontconfig >=media-libs/freetype-2.2.1:2 ) vdpau? ( x11-libs/libvdpau ) vorbis? ( media-libs/libvorbis ) X? ( x11-libs/libXext x11-libs/libXxf86vm ) xanim? ( media-video/xanim ) xinerama? ( x11-libs/libXinerama ) xscreensaver? ( x11-libs/libXScrnSaver ) xv? ( x11-libs/libXv ) xvmc? ( x11-libs/libXvMC ) dev-util/pkgconfig dga? ( x11-proto/xf86dgaproto ) dxr3? ( media-video/em8300-libraries ) X? ( x11-proto/videoproto x11-proto/xf86vidmodeproto ) xinerama? ( x11-proto/xineramaproto ) xscreensaver? ( x11-proto/scrnsaverproto ) amd64? ( dev-lang/yasm ) doc? ( dev-libs/libxslt app-text/docbook-xml-dtd app-text/docbook-xsl-stylesheets ) x86? ( dev-lang/yasm ) x86-fbsd? ( dev-lang/yasm )
|
||||||
|
DESCRIPTION=Media Player for Linux
|
||||||
|
EAPI=4
|
||||||
|
HOMEPAGE=http://www.mplayerhq.hu/
|
||||||
|
IUSE=3dnow 3dnowext +a52 aalib +alsa altivec aqua +ass bidi bindist bl bluray bs2b cddb +cdio cdparanoia cpudetection debug dga directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +encode faac +faad fbcon ftp gif ggi gsm +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa libcaca libmpeg2 lirc +live lzo mad md5sum +mmx mmxext mng +mp3 nas +network nut openal +opengl +osdmenu oss png pnm pulseaudio pvr +quicktime radio +rar +real +rtc rtmp samba +shm sdl +speex sse sse2 ssse3 tga +theora +tremor +truetype +toolame +twolame +unicode v4l vdpau vidix +vorbis win32codecs +X +x264 xanim xinerama +xscreensaver +xv +xvid xvmc zoran video_cards_s3virge video_cards_mga video_cards_tdfx
|
||||||
|
KEYWORDS=amd64 ~hppa ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=sys-libs/ncurses app-arch/bzip2 sys-libs/zlib >=media-video/ffmpeg-0.10 !bindist? ( x86? ( win32codecs? ( media-libs/win32codecs ) ) ) a52? ( media-libs/a52dec ) aalib? ( media-libs/aalib ) alsa? ( media-libs/alsa-lib ) ass? ( >=media-libs/libass-0.9.10[enca?] ) bidi? ( dev-libs/fribidi ) bluray? ( >=media-libs/libbluray-0.2.1 ) bs2b? ( media-libs/libbs2b ) cdio? ( dev-libs/libcdio ) cdparanoia? ( !cdio? ( media-sound/cdparanoia ) ) dga? ( x11-libs/libXxf86dga ) directfb? ( dev-libs/DirectFB ) dts? ( media-libs/libdca ) dv? ( media-libs/libdv ) dvb? ( virtual/linuxtv-dvb-headers ) dvd? ( >=media-libs/libdvdread-4.1.3 ) dvdnav? ( >=media-libs/libdvdnav-4.1.3 ) encode? ( !twolame? ( toolame? ( media-sound/toolame ) ) twolame? ( media-sound/twolame ) faac? ( media-libs/faac ) mp3? ( media-sound/lame ) x264? ( >=media-libs/x264-0.0.20100423 ) xvid? ( media-libs/xvid ) ) enca? ( app-i18n/enca ) faad? ( media-libs/faad2 ) ggi? ( media-libs/libggi media-libs/libggiwmh ) gif? ( media-libs/giflib ) gsm? ( media-sound/gsm ) iconv? ( virtual/libiconv ) jack? ( media-sound/jack-audio-connection-kit ) jpeg? ( virtual/jpeg ) jpeg2k? ( media-libs/openjpeg ) ladspa? ( media-libs/ladspa-sdk ) libcaca? ( media-libs/libcaca ) libmpeg2? ( media-libs/libmpeg2 ) lirc? ( app-misc/lirc ) live? ( media-plugins/live ) lzo? ( >=dev-libs/lzo-2 ) mad? ( media-libs/libmad ) mng? ( media-libs/libmng ) mp3? ( media-sound/mpg123 ) nas? ( media-libs/nas ) nut? ( >=media-libs/libnut-661 ) openal? ( media-libs/openal ) opengl? ( virtual/opengl ) png? ( media-libs/libpng ) pnm? ( media-libs/netpbm ) pulseaudio? ( media-sound/pulseaudio ) rar? ( || ( app-arch/unrar app-arch/rar ) ) rtmp? ( media-video/rtmpdump ) samba? ( net-fs/samba ) sdl? ( media-libs/libsdl ) speex? ( media-libs/speex ) theora? ( media-libs/libtheora[encode?] ) truetype? ( virtual/ttf-fonts media-libs/fontconfig >=media-libs/freetype-2.2.1:2 ) vdpau? ( x11-libs/libvdpau ) vorbis? ( media-libs/libvorbis ) X? ( x11-libs/libXext x11-libs/libXxf86vm ) xanim? ( media-video/xanim ) xinerama? ( x11-libs/libXinerama ) xscreensaver? ( x11-libs/libXScrnSaver ) xv? ( x11-libs/libXv ) xvmc? ( x11-libs/libXvMC )
|
||||||
|
REQUIRED_USE=bindist? ( !faac !win32codecs ) dvdnav? ( dvd ) ass? ( truetype ) truetype? ( iconv ) dxr3? ( X ) ggi? ( X ) xinerama? ( X ) dga? ( X ) opengl? ( X ) osdmenu? ( X ) vdpau? ( X ) vidix? ( X ) xscreensaver? ( X ) xv? ( X ) xvmc? ( xv )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=mirror://gentoo/mplayer-1.0_rc4_p20120213.tar.xz !truetype? ( mirror://mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2 mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2 )
|
||||||
|
_eclasses_=base fc89786f3f7e7bcf03334359bd5b639b eutils 33ef77a15337022e05342d2c772a7a5a flag-o-matic 01a8b1eb019305bc4b4a8bd0b04e4cd8 multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68 user 9e552f935106ff0bc92af16da64b4b29
|
||||||
|
_md5_=d296b6b7313232253b5126a53ec27ef1
|
6
sdk_container/src/third_party/portage-stable/metadata/md5-cache/virtual/ttf-fonts-1
vendored
Normal file
6
sdk_container/src/third_party/portage-stable/metadata/md5-cache/virtual/ttf-fonts-1
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
DEFINED_PHASES=-
|
||||||
|
DESCRIPTION=Virtual for Serif/Sans/Monospace font packages
|
||||||
|
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris
|
||||||
|
RDEPEND=|| ( media-fonts/dejavu media-fonts/ttf-bitstream-vera media-fonts/liberation-fonts media-fonts/droid media-fonts/freefont-ttf media-fonts/corefonts )
|
||||||
|
SLOT=0
|
||||||
|
_md5_=b7fe45d4cf138076f63de8eefe2a6c14
|
22
sdk_container/src/third_party/portage-stable/virtual/ttf-fonts/ttf-fonts-1.ebuild
vendored
Normal file
22
sdk_container/src/third_party/portage-stable/virtual/ttf-fonts/ttf-fonts-1.ebuild
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2011 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/virtual/ttf-fonts/ttf-fonts-1.ebuild,v 1.7 2011/05/29 17:51:27 grobian Exp $
|
||||||
|
|
||||||
|
DESCRIPTION="Virtual for Serif/Sans/Monospace font packages"
|
||||||
|
HOMEPAGE=""
|
||||||
|
SRC_URI=""
|
||||||
|
|
||||||
|
LICENSE=""
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="|| (
|
||||||
|
media-fonts/dejavu
|
||||||
|
media-fonts/ttf-bitstream-vera
|
||||||
|
media-fonts/liberation-fonts
|
||||||
|
media-fonts/droid
|
||||||
|
media-fonts/freefont-ttf
|
||||||
|
media-fonts/corefonts
|
||||||
|
)"
|
Loading…
Reference in New Issue
Block a user