From 964e7e9eadf4ba3b5f453d3d6b281f0a43c724ca Mon Sep 17 00:00:00 2001 From: miqlas <5569059+extrowerk@users.noreply.github.com> Date: Sun, 30 Sep 2018 08:18:23 +0200 Subject: [PATCH] Mplayer: bump to snapshot (#3001) * RevBump * MPlayer: bump to snapshot, stable crashes. --- ...0.recipe => mplayer-1.4.0_20180904.recipe} | 24 ++++++++++++------- ...et => mplayer_x86-1.4.0_20180904.patchset} | 0 2 files changed, 16 insertions(+), 8 deletions(-) rename media-video/mplayer/{mplayer-1.3.0.recipe => mplayer-1.4.0_20180904.recipe} (91%) rename media-video/mplayer/patches/{mplayer_x86-1.3.0.patchset => mplayer_x86-1.4.0_20180904.patchset} (100%) diff --git a/media-video/mplayer/mplayer-1.3.0.recipe b/media-video/mplayer/mplayer-1.4.0_20180904.recipe similarity index 91% rename from media-video/mplayer/mplayer-1.3.0.recipe rename to media-video/mplayer/mplayer-1.4.0_20180904.recipe index 22ddbf4f2..e9a3269ce 100644 --- a/media-video/mplayer/mplayer-1.3.0.recipe +++ b/media-video/mplayer/mplayer-1.4.0_20180904.recipe @@ -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 - } diff --git a/media-video/mplayer/patches/mplayer_x86-1.3.0.patchset b/media-video/mplayer/patches/mplayer_x86-1.4.0_20180904.patchset similarity index 100% rename from media-video/mplayer/patches/mplayer_x86-1.3.0.patchset rename to media-video/mplayer/patches/mplayer_x86-1.4.0_20180904.patchset