mplayer: enable runtime cpu detection

This commit is contained in:
Sergei Reznikov
2015-06-01 09:08:19 +03:00
parent f074749ba5
commit d0e12d16b1

View File

@@ -1,4 +1,4 @@
SUMMARY="a movie player which runs on many systems" SUMMARY="A movie player which runs on many systems"
DESCRIPTION="It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, \ DESCRIPTION="It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, \
QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, \ QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, \
RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. \ RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. \
@@ -21,7 +21,7 @@ SubViewer, Sami, VPlayer, RT, SSA, AQTitle, JACOsub, PJS and our own: MPsub). \
DVD subtitles (SPU streams, VOBsub and Closed Captions) are supported as well." DVD subtitles (SPU streams, VOBsub and Closed Captions) are supported as well."
HOMEPAGE="http://www.mplayerhq.hu" HOMEPAGE="http://www.mplayerhq.hu"
REVISION="2" REVISION="3"
SRC_URI="http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.1.tar.xz" SRC_URI="http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.1.tar.xz"
CHECKSUM_SHA256="ce8fc7c3179e6a57eb3a58cb7d1604388756b8a61764cc93e095e7aff3798c76" CHECKSUM_SHA256="ce8fc7c3179e6a57eb3a58cb7d1604388756b8a61764cc93e095e7aff3798c76"
@@ -114,8 +114,6 @@ BUILD_PREREQUIRES="
cmd:libtoolize cmd:libtoolize
cmd:make cmd:make
cmd:pkg_config$secondaryArchSuffix cmd:pkg_config$secondaryArchSuffix
# xsltproc is unusable without stylesheets
# cmd:xsltproc
cmd:yasm cmd:yasm
" "
@@ -130,7 +128,8 @@ BUILD()
--confdir=$settingsDir/mplayer --mandir=$manDir \ --confdir=$settingsDir/mplayer --mandir=$manDir \
--disable-x264 --disable-x264-lavc --disable-dvdread-internal \ --disable-x264 --disable-x264-lavc --disable-dvdread-internal \
--enable-dvdread --extra-libs=-ldvdcss --disable-mp3lib --enable-menu \ --enable-dvdread --extra-libs=-ldvdcss --disable-mp3lib --enable-menu \
--enable-haiku --disable-sdl #--enable-smb --enable-haiku --disable-sdl --enable-runtime-cpudetection
#--disable-ffmpeg_a --enable-ffmpeg_so --enable-smb
make make
} }
@@ -140,4 +139,4 @@ INSTALL()
} }
LICENSE="GNU LGPL v2.1" LICENSE="GNU LGPL v2.1"
COPYRIGHT="2001-2013 The MPlayer project" COPYRIGHT="2001-2013 The MPlayer Team"