mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Mplayer: bump to snapshot (#3001)
* RevBump * MPlayer: bump to snapshot, stable crashes.
This commit is contained in:
@@ -22,11 +22,13 @@ 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="8"
|
||||
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"
|
||||
REVISION="1"
|
||||
srcGitRev="c4eb74cb8d8d7b8ccd9936cb18742d086492fb9f"
|
||||
SOURCE_URI="https://github.com/extrowerk/mplayer/archive/$srcGitRev.zip"
|
||||
CHECKSUM_SHA256="ae9508e6504da751b3dc91b85aae141d6164c1da65fc270b666c0509518e45ee"
|
||||
SOURCE_DIR="mplayer-$srcGitRev"
|
||||
SOURCE_FILENAME="mplayer-$srcGitRev.zip"
|
||||
PATCHES="mplayer_x86-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="mplayer.rdef.in"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
@@ -88,6 +90,7 @@ REQUIRES="
|
||||
# lib:libsdl$secondaryArchSuffix
|
||||
lib:libsmbclient$secondaryArchSuffix
|
||||
lib:libspeex$secondaryArchSuffix
|
||||
# lib:libssl$secondaryArchSuffix
|
||||
lib:libswscale$secondaryArchSuffix
|
||||
lib:libswresample$secondaryArchSuffix
|
||||
lib:libtheoradec$secondaryArchSuffix
|
||||
@@ -146,6 +149,7 @@ BUILD_REQUIRES="
|
||||
# devel:libsdl$secondaryArchSuffix
|
||||
devel:libsmbclient$secondaryArchSuffix
|
||||
devel:libspeex$secondaryArchSuffix
|
||||
# devel:libssl$secondaryArchSuffix
|
||||
devel:libswscale$secondaryArchSuffix
|
||||
devel:libswresample$secondaryArchSuffix
|
||||
devel:libtheoradec$secondaryArchSuffix
|
||||
@@ -166,12 +170,17 @@ BUILD_PREREQUIRES="
|
||||
cmd:yasm
|
||||
"
|
||||
|
||||
defineDebugInfoPackage mplayer$secondaryArchSuffix \
|
||||
"$commandBinDir"/mencoder \
|
||||
"$commandBinDir"/mplayer
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export CFLAGS="-D_BSD_SOURCE"
|
||||
export LDFLAGS="-lnetwork -lbsd"
|
||||
|
||||
libtoolize --force --copy --install
|
||||
chmod +x configure help/*.sh *.sh #mplayer doesn't provides configure.ac/in
|
||||
configure \
|
||||
--prefix=$prefix \
|
||||
--bindir=$commandBinDir \
|
||||
@@ -192,11 +201,11 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
strip $prefix/bin/*
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
# local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local MINOR="0"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
@@ -206,5 +215,4 @@ INSTALL()
|
||||
addResourcesToBinaries mplayer.rdef $commandBinDir/mplayer
|
||||
|
||||
mimeset -f $commandBinDir/mplayer
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user