mpv: update to 0.12.0
This commit is contained in:
parent
8a2c7feb43
commit
4db6106d00
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'mpv'
|
# Template file for 'mpv'
|
||||||
pkgname=mpv
|
pkgname=mpv
|
||||||
version=0.11.0
|
version=0.12.0
|
||||||
revision=3
|
revision=1
|
||||||
short_desc="Video player based on MPlayer/mplayer2"
|
short_desc="Video player based on MPlayer/mplayer2"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
@ -19,7 +19,7 @@ makedepends="
|
|||||||
depends="desktop-file-utils hicolor-icon-theme"
|
depends="desktop-file-utils hicolor-icon-theme"
|
||||||
conf_files="/etc/mpv/encoding-profiles.conf"
|
conf_files="/etc/mpv/encoding-profiles.conf"
|
||||||
distfiles="https://github.com/mpv-player/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/mpv-player/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=a2157174e46db46dad5deb1fde94283e72ebe922fd15447cb16a2a243fae5bda
|
checksum=df242044c749d850344f5499860d852849147f20c63d36d2cd678627bd8d6cc4
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" --enable-zsh-comp"
|
configure_args+=" --enable-zsh-comp"
|
||||||
@ -28,6 +28,13 @@ fi
|
|||||||
pre_configure() {
|
pre_configure() {
|
||||||
python bootstrap.py
|
python bootstrap.py
|
||||||
sed -i 's,/usr/local/etc/mpv.conf,/etc/mpv/mpv.conf,' etc/example.conf
|
sed -i 's,/usr/local/etc/mpv.conf,/etc/mpv/mpv.conf,' etc/example.conf
|
||||||
|
|
||||||
|
# TODO remove this patch once a new ffmpeg is out
|
||||||
|
#
|
||||||
|
# use "best" as default for youtube videos, not DASH. DASH in mpv
|
||||||
|
# >=0.12.0 needs fixes in ffmpeg, but ffmpeg hasn't been released
|
||||||
|
# yet.
|
||||||
|
sed -i 's,.lua_ytdl_format = NULL,.lua_ytdl_format = "best",' options/options.c
|
||||||
}
|
}
|
||||||
|
|
||||||
mpv-devel_package() {
|
mpv-devel_package() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user