mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
mplayer: add recipe for version 1.1.1
* includes native audio/video support and doesn't require SDL * remove recipe for version 1.0
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
DESCRIPTION="mplayer"
|
||||
HOMEPAGE="http://www.mplayerhq.hu"
|
||||
SRC_URI="svn+svn://svn.mplayerhq.hu/mplayer/trunk#31642"
|
||||
#CHECKSUM_MD5=""
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="unstable"
|
||||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
||||
DEPEND="pkgconfig >= 0.23
|
||||
media-libs/fontconfig >= 2.8.0
|
||||
media-libs/libogg >= 1.2.0
|
||||
media-libs/libvorbis >= 1.3.1
|
||||
media-libs/libsdl >= 1.2.14
|
||||
media-libs/openal >= 1.12.854
|
||||
media-libs/flac >= 1.2.1
|
||||
media-libs/libdvdcss >= 1.20.10
|
||||
media-libs/libdvdread >= 4.1.3
|
||||
media-libs/libdvdnav >= 4.1.3"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd mplayer-1.0
|
||||
cp /boot/common/share/libtool/config/config.* .
|
||||
libtoolize --force --copy --install
|
||||
CFLAGS="-pipe -fomit-frame-pointer -fno-pic -O4 " \
|
||||
./configure --prefix=/boot/apps/mplayer \
|
||||
--disable-x264 --disable-x264-lavc \
|
||||
--disable-dvdread-internal --enable-dvdread \
|
||||
--extra-libs=-ldvdcss --enable-largefiles
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd mplayer-1.0
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2001-2010 The MPlayer project"
|
||||
142
media-video/mplayer/mplayer-1.1.1.recipe
Normal file
142
media-video/mplayer/mplayer-1.1.1.recipe
Normal file
@@ -0,0 +1,142 @@
|
||||
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="1"
|
||||
|
||||
SRC_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: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:libsupc++$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
|
||||
# xsltproc is unusable without stylesheets
|
||||
# cmd:xsltproc
|
||||
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-smb
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2001-2013 The MPlayer project"
|
||||
1407
media-video/mplayer/patches/mplayer_x86-1.1.1.patchset
Normal file
1407
media-video/mplayer/patches/mplayer_x86-1.1.1.patchset
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user