mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
mplayer: enable runtime cpu detection
This commit is contained in:
@@ -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"
|
||||||
@@ -33,7 +33,7 @@ PROVIDES="
|
|||||||
mplayer$secondaryArchSuffix = $portVersion
|
mplayer$secondaryArchSuffix = $portVersion
|
||||||
cmd:mplayer
|
cmd:mplayer
|
||||||
cmd:mencoder
|
cmd:mencoder
|
||||||
"
|
"
|
||||||
|
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku$secondaryArchSuffix
|
haiku$secondaryArchSuffix
|
||||||
@@ -64,7 +64,7 @@ REQUIRES="
|
|||||||
lib:libtwolame$secondaryArchSuffix
|
lib:libtwolame$secondaryArchSuffix
|
||||||
lib:libvpx$secondaryArchSuffix
|
lib:libvpx$secondaryArchSuffix
|
||||||
lib:libz$secondaryArchSuffix
|
lib:libz$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
devel:liba52$secondaryArchSuffix
|
devel:liba52$secondaryArchSuffix
|
||||||
@@ -106,7 +106,7 @@ BUILD_REQUIRES="
|
|||||||
devel:libvpx$secondaryArchSuffix
|
devel:libvpx$secondaryArchSuffix
|
||||||
# devel:libx264$secondaryArchSuffix
|
# devel:libx264$secondaryArchSuffix
|
||||||
devel:libz$secondaryArchSuffix
|
devel:libz$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel
|
haiku${secondaryArchSuffix}_devel
|
||||||
@@ -114,10 +114,8 @@ 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
|
||||||
"
|
"
|
||||||
|
|
||||||
SOURCE_DIR="MPlayer-1.1.1"
|
SOURCE_DIR="MPlayer-1.1.1"
|
||||||
|
|
||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user