* update mpv to 1:0.38.0-5
This commit is contained in:
parent
f5ffa56bc9
commit
cda0cf988c
19
mpv/PKGBUILD
19
mpv/PKGBUILD
@ -7,7 +7,7 @@
|
||||
pkgname=mpv
|
||||
epoch=1
|
||||
pkgver=0.38.0
|
||||
pkgrel=2
|
||||
pkgrel=5
|
||||
pkgdesc='a free, open source, and cross-platform media player'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
license=('GPL-2.0-or-later AND LGPL-2.1-or-later')
|
||||
@ -33,8 +33,21 @@ optdepends=('yt-dlp: for video-sharing websites playback')
|
||||
provides=('libmpv.so')
|
||||
options=('!emptydirs')
|
||||
validpgpkeys=('145077D82501AA20152CACCE8D769208D5E31419') # sfan5 <sfan5@live.de>
|
||||
source=("git+https://github.com/mpv-player/mpv.git#tag=v${pkgver}?signed")
|
||||
sha256sums=('b37b91d0ae4518594b22338ebe979f13bdc56b6fa26d589e5c3f7b96a31bab3d')
|
||||
source=("git+https://github.com/mpv-player/mpv.git#tag=v${pkgver}?signed"
|
||||
"dynamically_generate_desktop_file_protocols.patch")
|
||||
sha256sums=('b37b91d0ae4518594b22338ebe979f13bdc56b6fa26d589e5c3f7b96a31bab3d'
|
||||
'88acf97cbc8e0fe745f09bd0bd7f65e0437adcb549dadf3588fd0724d01298e9')
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname}"
|
||||
# Patch to dynamically generate protocols in the mpv.desktop file
|
||||
# Taken from https://github.com/mpv-player/mpv/pull/14145
|
||||
# Fixes:
|
||||
# - https://github.com/mpv-player/mpv/issues/8731
|
||||
# - https://github.com/mpv-player/mpv/issues/14124
|
||||
# - https://gitlab.archlinux.org/archlinux/packaging/packages/mpv/-/issues/10
|
||||
patch -Np1 < "${srcdir}/dynamically_generate_desktop_file_protocols.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
local _meson_options=(
|
||||
|
Loading…
x
Reference in New Issue
Block a user