Skip to content

Commit

Permalink
mplayer: bump version, updated patchset (#960)
Browse files Browse the repository at this point in the history
  • Loading branch information
miqlas authored and waddlesplash committed Dec 26, 2016
1 parent a0190fd commit bd71377
Show file tree
Hide file tree
Showing 2 changed files with 139 additions and 111 deletions.
Expand Up @@ -19,116 +19,149 @@ 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-2013 The MPlayer Team"
HOMEPAGE="http://www.mplayerhq.hu/"
COPYRIGHT="2001-2016 The MPlayer Team"
LICENSE="GNU LGPL v2.1"
REVISION="3"
SOURCE_URI="http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.1.tar.xz"
CHECKSUM_SHA256="ce8fc7c3179e6a57eb3a58cb7d1604388756b8a61764cc93e095e7aff3798c76"
SOURCE_DIR="MPlayer-1.1.1"
PATCHES="mplayer_x86-1.1.1.patchset"
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"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"

PROVIDES="
mplayer$secondaryArchSuffix = $portVersion
cmd:mplayer
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:libfontconfig$secondaryArchSuffix
lib:libgif$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libgnutls$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libGL$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:libsdl_1.2$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:libcdio$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:libfaac$secondaryArchSuffix
devel:libfaad$secondaryArchSuffix
devel:libflac$secondaryArchSuffix
devel:libfontconfig$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libfribidi$secondaryArchSuffix
# devel:libgif$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:libmpcdec$secondaryArchSuffix
devel:libmpeg2$secondaryArchSuffix
devel:libmpg123$secondaryArchSuffix
devel:libncursesw$secondaryArchSuffix
devel:libogg$secondaryArchSuffix
devel:libopenal$secondaryArchSuffix
devel:libopenjp2$secondaryArchSuffix
# devel:libparanoia$secondaryArchSuffix
#devel:libopenjp2$secondaryArchSuffix
devel:libopus$secondaryArchSuffix
devel:libparanoia$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
# devel:libschroedinger$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
# devel:libsmbclient$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:libx264$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:libtoolize
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 \
--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
--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/*
}

0 comments on commit bd71377

Please sign in to comment.