mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
142 lines
4.7 KiB
Bash
142 lines
4.7 KiB
Bash
SUMMARY="A movie player which runs on many systems"
|
|
DESCRIPTION="It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, \
|
|
QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, \
|
|
RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. \
|
|
You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV and even H.264 movies.
|
|
|
|
Another great feature of MPlayer is the wide range of supported output \
|
|
drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, DirectFB, \
|
|
but you can use GGI, SDL (and this way all their drivers), VESA (on every \
|
|
VESA compatible card, even without X11!) and some low level card-specific \
|
|
drivers (for Matrox, 3Dfx and ATI), too! Most of them support software or \
|
|
hardware scaling, so you can enjoy movies in fullscreen. MPlayer supports \
|
|
displaying through some hardware MPEG decoder boards, such as the Siemens \
|
|
DVB, DXR2 and DXR3/Hollywood+.
|
|
|
|
MPlayer has an onscreen display (OSD) for status information, nice big \
|
|
antialiased shaded subtitles and visual feedback for keyboard controls. \
|
|
European/ISO 8859-1,2 (Hungarian, English, Czech, etc), Cyrillic and Korean \
|
|
fonts are supported along with 12 subtitle formats (MicroDVD, SubRip, OGM, \
|
|
SubViewer, Sami, VPlayer, RT, SSA, AQTitle, JACOsub, PJS and our own: MPsub). \
|
|
DVD subtitles (SPU streams, VOBsub and Closed Captions) are supported as well."
|
|
HOMEPAGE="http://www.mplayerhq.hu"
|
|
|
|
REVISION="3"
|
|
|
|
SOURCE_URI="http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.1.tar.xz"
|
|
CHECKSUM_SHA256="ce8fc7c3179e6a57eb3a58cb7d1604388756b8a61764cc93e095e7aff3798c76"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
mplayer$secondaryArchSuffix = $portVersion
|
|
cmd:mplayer
|
|
cmd:mencoder
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:liba52$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libdca$secondaryArchSuffix
|
|
lib:libdv$secondaryArchSuffix
|
|
lib:libdvdcss$secondaryArchSuffix
|
|
lib:libdvdnav$secondaryArchSuffix
|
|
lib:libdvdread$secondaryArchSuffix
|
|
lib:libfaad$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libfribidi$secondaryArchSuffix
|
|
lib:libfontconfig$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:liblzo2$secondaryArchSuffix
|
|
lib:libmad$secondaryArchSuffix
|
|
lib:libmng$secondaryArchSuffix
|
|
lib:libmp3lame$secondaryArchSuffix
|
|
lib:libmpg123$secondaryArchSuffix
|
|
lib:libopenal$secondaryArchSuffix
|
|
lib:libpng$secondaryArchSuffix
|
|
# lib:libsdl_1.2$secondaryArchSuffix
|
|
lib:libspeex$secondaryArchSuffix
|
|
lib:libtwolame$secondaryArchSuffix
|
|
lib:libvpx$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:liba52$secondaryArchSuffix
|
|
devel:libbz2$secondaryArchSuffix
|
|
# devel:libcaca$secondaryArchSuffix
|
|
# devel:libcdio$secondaryArchSuffix
|
|
devel:libdca$secondaryArchSuffix
|
|
devel:libdv$secondaryArchSuffix
|
|
devel:libdvdcss$secondaryArchSuffix
|
|
devel:libdvdnav$secondaryArchSuffix
|
|
devel:libdvdread$secondaryArchSuffix
|
|
# devel:libfaac$secondaryArchSuffix
|
|
devel:libfaad$secondaryArchSuffix
|
|
devel:libflac$secondaryArchSuffix
|
|
devel:libfontconfig$secondaryArchSuffix
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libfribidi$secondaryArchSuffix
|
|
# devel:libgif$secondaryArchSuffix
|
|
devel:libgl$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:liblzo2$secondaryArchSuffix
|
|
devel:libmad$secondaryArchSuffix
|
|
devel:libmng$secondaryArchSuffix
|
|
devel:libmp3lame$secondaryArchSuffix
|
|
# devel:libmpcdec$secondaryArchSuffix
|
|
devel:libmpg123$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libopenal$secondaryArchSuffix
|
|
devel:libopenjp2$secondaryArchSuffix
|
|
# devel:libparanoia$secondaryArchSuffix
|
|
devel:libpng$secondaryArchSuffix
|
|
# devel:libschroedinger$secondaryArchSuffix
|
|
devel:libsdl$secondaryArchSuffix
|
|
# devel:libsmbclient$secondaryArchSuffix
|
|
devel:libspeex$secondaryArchSuffix
|
|
devel:libtwolame$secondaryArchSuffix
|
|
devel:libvorbis$secondaryArchSuffix
|
|
devel:libvpx$secondaryArchSuffix
|
|
# devel:libx264$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:yasm
|
|
"
|
|
|
|
SOURCE_DIR="MPlayer-1.1.1"
|
|
|
|
PATCHES="mplayer_x86-1.1.1.patchset"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
configure --prefix=$prefix --datadir=$dataDir \
|
|
--confdir=$settingsDir/mplayer --mandir=$manDir \
|
|
--disable-x264 --disable-x264-lavc --disable-dvdread-internal \
|
|
--enable-dvdread --extra-libs=-ldvdcss --disable-mp3lib --enable-menu \
|
|
--enable-haiku --disable-sdl --enable-runtime-cpudetection
|
|
#--disable-ffmpeg_a --enable-ffmpeg_so --enable-smb
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
LICENSE="GNU LGPL v2.1"
|
|
COPYRIGHT="2001-2013 The MPlayer Team"
|