mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
mplayer: bump version, updated patchset (#960)
This commit is contained in:
167
media-video/mplayer/mplayer-1.3.0.recipe
Normal file
167
media-video/mplayer/mplayer-1.3.0.recipe
Normal file
@@ -0,0 +1,167 @@
|
||||
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/"
|
||||
COPYRIGHT="2001-2016 The MPlayer Team"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.mplayerhq.hu/MPlayer/releases/MPlayer-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="3ad0846c92d89ab2e4e6fb83bf991ea677e7aa2ea775845814cbceb608b09843"
|
||||
SOURCE_DIR="MPlayer-$portVersion"
|
||||
PATCHES="mplayer_x86-1.3.0.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
mplayer$secondaryArchSuffix = $portVersion
|
||||
cmd:mencoder
|
||||
cmd:mplayer
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
ffmpeg$secondaryArchSuffix
|
||||
cdrtools$secondaryArchSuffix
|
||||
#lib:live555$secondaryArchSuffix
|
||||
lib:liba52$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libcaca$secondaryArchSuffix
|
||||
#lib:libcddb$secondaryArchSuffix
|
||||
lib:libcdio$secondaryArchSuffix
|
||||
lib:libdca$secondaryArchSuffix
|
||||
lib:libdv$secondaryArchSuffix
|
||||
lib:libdvdcss$secondaryArchSuffix
|
||||
lib:libdvdnav$secondaryArchSuffix
|
||||
lib:libdvdread$secondaryArchSuffix
|
||||
lib:libfaac$secondaryArchSuffix
|
||||
lib:libfaad$secondaryArchSuffix
|
||||
lib:libflac$secondaryArchSuffix
|
||||
lib:libfontconfig$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libfribidi$secondaryArchSuffix
|
||||
lib:libgif$secondaryArchSuffix
|
||||
lib:libgl$secondaryArchSuffix
|
||||
lib:libgnutls$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:liblzo2$secondaryArchSuffix
|
||||
lib:libmad$secondaryArchSuffix
|
||||
lib:libmng$secondaryArchSuffix
|
||||
lib:libmp3lame$secondaryArchSuffix
|
||||
#lib:libmpcdec$secondaryArchSuffix
|
||||
lib:libmpeg2$secondaryArchSuffix
|
||||
lib:libmpg123$secondaryArchSuffix
|
||||
lib:libncursesw$secondaryArchSuffix
|
||||
lib:libogg$secondaryArchSuffix
|
||||
lib:libopenal$secondaryArchSuffix
|
||||
#lib:libopenjp2$secondaryArchSuffix
|
||||
lib:libopus$secondaryArchSuffix
|
||||
lib:libpng$secondaryArchSuffix
|
||||
#lib:libschroedinger_1.0$secondaryArchSuffix
|
||||
#lib:libsdl$secondaryArchSuffix
|
||||
lib:libsmbclient$secondaryArchSuffix
|
||||
lib:libspeex$secondaryArchSuffix
|
||||
lib:libtheora$secondaryArchSuffix
|
||||
lib:libtwolame$secondaryArchSuffix
|
||||
lib:libvorbis$secondaryArchSuffix
|
||||
lib:libvpx$secondaryArchSuffix
|
||||
lib:libx264$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
ffmpeg${secondaryArchSuffix}_devel
|
||||
#devel:live555$secondaryArchSuffix
|
||||
devel:liba52$secondaryArchSuffix
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libcaca$secondaryArchSuffix
|
||||
#devel:libcddb$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:libgnutls$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:liblzo2$secondaryArchSuffix
|
||||
devel:libmad$secondaryArchSuffix
|
||||
devel:libmng$secondaryArchSuffix
|
||||
devel:libmp3lame$secondaryArchSuffix
|
||||
#devel:libmpcdec$secondaryArchSuffix
|
||||
devel:libmpeg2$secondaryArchSuffix
|
||||
devel:libmpg123$secondaryArchSuffix
|
||||
devel:libncursesw$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libopenal$secondaryArchSuffix
|
||||
#devel:libopenjp2$secondaryArchSuffix
|
||||
devel:libopus$secondaryArchSuffix
|
||||
devel:libparanoia$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
#devel:libschroedinger_1.0$secondaryArchSuffix
|
||||
#devel:libsdl$secondaryArchSuffix
|
||||
devel:libsmbclient$secondaryArchSuffix
|
||||
devel:libspeex$secondaryArchSuffix
|
||||
devel:libtheora$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$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:yasm
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export CFLAGS="-D_BSD_SOURCE"
|
||||
export LDFLAGS="-lnetwork -lbsd"
|
||||
|
||||
libtoolize --force --copy --install
|
||||
configure --prefix=$prefix --datadir=$dataDir \
|
||||
--confdir=$settingsDir/mplayer --mandir=$manDir \
|
||||
--enable-dvdread --extra-libs="-ldvdcss -ldvdnav -ldvdread" --enable-menu \
|
||||
--enable-haiku --disable-sdl --enable-runtime-cpudetection \
|
||||
--enable-smb
|
||||
#--disable-ffmpeg_a --enable-ffmpeg_so
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
strip $binDir/*
|
||||
}
|
||||
Reference in New Issue
Block a user