mpv: install umpv script.

This commit is contained in:
Mohammed Anas 2023-11-14 14:43:09 +00:00 committed by classabbyamp
parent f7d49c0966
commit 426d7080a6

View file

@ -1,7 +1,7 @@
# Template file for 'mpv' # Template file for 'mpv'
pkgname=mpv pkgname=mpv
version=0.36.0 version=0.36.0
revision=3 revision=4
build_style=meson build_style=meson
configure_args="-Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled configure_args="-Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled
-Dlibmpv=true -Dcplugins=enabled -Dlibmpv=true -Dcplugins=enabled
@ -42,6 +42,7 @@ homepage="https://mpv.io"
changelog="https://github.com/mpv-player/mpv/releases" changelog="https://github.com/mpv-player/mpv/releases"
distfiles="https://github.com/mpv-player/mpv/archive/v${version}.tar.gz" distfiles="https://github.com/mpv-player/mpv/archive/v${version}.tar.gz"
checksum=29abc44f8ebee013bb2f9fe14d80b30db19b534c679056e4851ceadf5a5e8bf6 checksum=29abc44f8ebee013bb2f9fe14d80b30db19b534c679056e4851ceadf5a5e8bf6
python_version=3
build_options="alsa caca jack lcms lua openal pulseaudio pipewire sdl2 build_options="alsa caca jack lcms lua openal pulseaudio pipewire sdl2
sndio vapoursynth vdpau vulkan wayland x11" sndio vapoursynth vdpau vulkan wayland x11"
@ -52,6 +53,10 @@ desc_option_lcms="Enable support for LittleCMS 2 engine"
desc_option_openal="Enable support for OpenAL audio output" desc_option_openal="Enable support for OpenAL audio output"
vopt_conflict sdl2 wayland vopt_conflict sdl2 wayland
post_install() {
vbin TOOLS/umpv
}
mpv-devel_package() { mpv-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}" depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files" short_desc+=" - development files"