mirror of
https://github.com/dslm4515/BMLFS.git
synced 2026-02-01 03:26:07 +00:00
Upgradedmpv from 0.37.0 to 0.40.0
This commit is contained in:
@ -1,17 +1,19 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
# mpv
|
# mpv
|
||||||
# Source: https://github.com/mpv-player/mpv/archive/refs/tags/v0.37.0.tar.gz
|
# Source: https://github.com/mpv-player/mpv/archive/refs/tags/v0.40.0.tar.gz
|
||||||
#
|
#
|
||||||
# $BUILD = Directory to temporarily install
|
# $BUILD = Directory to temporarily install
|
||||||
# $PKGS = Directory to store built packages
|
# $PKGS = Directory to store built packages
|
||||||
#
|
#
|
||||||
# DEPS
|
# DEPS
|
||||||
# Required: mesa ffmpeg libXv
|
# Required: mesa ffmpeg
|
||||||
# Recommended: harfbuzz libass sdl2
|
# Recommended: harfbuzz libass sdl2 libXv
|
||||||
# Optional: wayland lcms2 libbluray appleframeworks lua-5.3
|
# Optional: wayland lcms2 libbluray appleframeworks lua-5.3
|
||||||
# OPtional: opensles shaderc openal
|
# OPtional: opensles shaderc openal
|
||||||
|
|
||||||
|
export PVER="0.40.0"
|
||||||
|
|
||||||
meson setup --prefix=/usr --buildtype=release \
|
meson setup --prefix=/usr --buildtype=release \
|
||||||
-Dlibmpv=true -Dopenal=enabled \
|
-Dlibmpv=true -Dopenal=enabled \
|
||||||
-Dsdl2=enabled OUT
|
-Dsdl2=enabled OUT
|
||||||
@ -50,5 +52,5 @@ if [ -f /bin/gtk4-update-icon-cache ] ; then
|
|||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
sudo -S mv /tmp/doinst.sh install/
|
sudo -S mv /tmp/doinst.sh install/
|
||||||
sudo -S makepkg -l y -c n $PKGS/mpv-0.37.0-$PSUFFIX &&
|
sudo -S makepkg -l y -c n $PKGS/mpv-$PVER-$PSUFFIX &&
|
||||||
sudo -S rm -rf ${BUILD}/*
|
sudo -S rm -rf ${BUILD}/*
|
||||||
|
|||||||
Reference in New Issue
Block a user