multimedia/mpv: Updated for version 0.27.0 + update README.

Signed-off-by: Andreas Guldstrand <andreas.guldstrand@gmail.com>
This commit is contained in:
Andreas Guldstrand 2017-09-13 21:15:44 +02:00 committed by Willy Sudiarto Raharjo
parent 9564e92c68
commit ee59a3efb2
3 changed files with 29 additions and 31 deletions

View file

@ -1,36 +1,35 @@
mpv
===
mpv is a movie player based on MPlayer and mplayer2. It shares some features
with the former projects while introducing many more. It supports a wide
variety of video file formats, audio and video codecs, and subtitle types.
mpv is a movie player based on MPlayer and mplayer2. It shares some
features with the former projects while introducing many more. It
supports a wide variety of video file formats, audio and video codecs,
and subtitle types.
optional: docutils, lua, libquvi, lirc, libbluray, libdvdnav, enca, ladspa_sdk,
SDL2, jack-audio-connection-kit, OpenAL, wayland, vdpau, oss, libbs2b,
portaudio, libfdk-acc
optional: docutils, lua, libbluray, libdvdnav, SDL2, OpenAL, oss, vdpau,
jack-audio-connection-kit, libfdk-aac, libuchardet, wayland,
youtube-dl
If docutils is not installed, the man pages will not be built/installed.
This is the reason I have included docutils in both the `required` and
`optional` lists. If you don't concider the man pages required, then the
docutils package is optional, too. Building the man pages is recommended.
docutils package is optional, too. Building the man pages is
recommended.
Dependencies are autodetected. Some optional dependencies are disabled by
default and may be enabled (see BUILD_OPTS). Optional dependencies that are
enabled by default may be disabled (see BUILD_OPTS).
Dependencies are autodetected. Some optional dependencies are disabled
by default and may be enabled (see BUILD_OPTS). Optional dependencies
that are enabled by default may be disabled (see BUILD_OPTS).
BUILD_OPTS:
To override the default for build options, set the shell variable BUILD_OPTS
prior to or at build time. For example, to enable cdda and openal, which are
disabled by default, and to build with four jobs in parallel, you could use the
following:
To override the default for build options, set the shell variable
BUILD_OPTS prior to or at build time. For example, to enable cdda and
openal, which are disabled by default, and to build with four jobs in
parallel, you could use the following:
~# BUILD_OPTS="--enable-cdda --enable-openal --jobs=4" sh mpv.SlackBuild
or, if you use fakeroot to build packages:
The following list is meant as a note to myself of build options or
optional dependencies currently unavailable via full Slackware
installation and from SBo:
~$ fakeroot env BUILD_OPTS="--enable-cdda --enable-openal" sh mpv.SlackBuild
The following list is meant as a note to myself of build options or optional
dependencies currently unavailable via full Slackware installation and from SBo:
vaapi, vapoursynth, libguess, libiconv, rsound
vapoursynth, rsound

View file

@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mpv
VERSION=${VERSION:-0.26.0+2b83f7e}
GITHASH=${GITHASH:-2b83f7e391ab68b23602e89b97ebc07ca09d8e7c}
VERSION=${VERSION:-0.27.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -62,11 +61,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$GITHASH
tar xvf $CWD/$PRGNAM-$GITHASH.tar.gz
cp $CWD/waf-1.9.8 $PRGNAM-$GITHASH/waf
chmod +x $PRGNAM-$GITHASH/waf
cd $PRGNAM-$GITHASH
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cp $CWD/waf-1.9.8 $PRGNAM-$VERSION/waf
chmod +x $PRGNAM-$VERSION/waf
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View file

@ -1,9 +1,9 @@
PRGNAM="mpv"
VERSION="0.26.0+2b83f7e"
VERSION="0.27.0"
HOMEPAGE="https://mpv.io/"
DOWNLOAD="https://github.com/mpv-player/mpv/archive/2b83f7e391ab68b23602e89b97ebc07ca09d8e7c/mpv-2b83f7e391ab68b23602e89b97ebc07ca09d8e7c.tar.gz \
DOWNLOAD="https://github.com/mpv-player/mpv/archive/v0.27.0/mpv-0.27.0.tar.gz \
https://waf.io/waf-1.9.8"
MD5SUM="e453e9bce8174162b8cf3a8198994f09 \
MD5SUM="ec86f42b091d891f9a932de0f6e873ad \
fbb646eafa430f959743010c85e269be"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""