* update mpv to 1:0.39.0-4
This commit is contained in:
parent
b4663f1a9e
commit
dccde0582b
@ -1,7 +1,7 @@
|
|||||||
pkgbase = mpv
|
pkgbase = mpv
|
||||||
pkgdesc = a free, open source, and cross-platform media player
|
pkgdesc = a free, open source, and cross-platform media player
|
||||||
pkgver = 0.38.0
|
pkgver = 0.39.0
|
||||||
pkgrel = 8
|
pkgrel = 4
|
||||||
epoch = 1
|
epoch = 1
|
||||||
url = https://mpv.io/
|
url = https://mpv.io/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
@ -61,10 +61,10 @@ pkgbase = mpv
|
|||||||
optdepends = yt-dlp: for video-sharing websites playback
|
optdepends = yt-dlp: for video-sharing websites playback
|
||||||
provides = libmpv.so
|
provides = libmpv.so
|
||||||
options = !emptydirs
|
options = !emptydirs
|
||||||
source = git+https://github.com/mpv-player/mpv.git#tag=v0.38.0?signed
|
source = git+https://github.com/mpv-player/mpv.git#tag=v0.39.0?signed
|
||||||
source = dynamically_generate_desktop_file_protocols.patch
|
source = dynamically_generate_desktop_file_protocols.patch
|
||||||
validpgpkeys = 145077D82501AA20152CACCE8D769208D5E31419
|
validpgpkeys = 145077D82501AA20152CACCE8D769208D5E31419
|
||||||
sha256sums = b37b91d0ae4518594b22338ebe979f13bdc56b6fa26d589e5c3f7b96a31bab3d
|
sha256sums = 51e787dbff240d69227f306685fc962daae215c755689b9de4ef0432ddf4443b
|
||||||
sha256sums = 88acf97cbc8e0fe745f09bd0bd7f65e0437adcb549dadf3588fd0724d01298e9
|
sha256sums = 88acf97cbc8e0fe745f09bd0bd7f65e0437adcb549dadf3588fd0724d01298e9
|
||||||
depends_x86_64 = luajit
|
depends_x86_64 = luajit
|
||||||
depends_powerpc64le = luajit
|
depends_powerpc64le = luajit
|
||||||
|
17
mpv/PKGBUILD
17
mpv/PKGBUILD
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
pkgname=mpv
|
pkgname=mpv
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgver=0.38.0
|
pkgver=0.39.0
|
||||||
pkgrel=8.1
|
pkgrel=4
|
||||||
pkgdesc='a free, open source, and cross-platform media player'
|
pkgdesc='a free, open source, and cross-platform media player'
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
license=('GPL-2.0-or-later AND LGPL-2.1-or-later')
|
license=('GPL-2.0-or-later AND LGPL-2.1-or-later')
|
||||||
@ -32,20 +32,9 @@ options=('!emptydirs')
|
|||||||
validpgpkeys=('145077D82501AA20152CACCE8D769208D5E31419') # sfan5 <sfan5@live.de>
|
validpgpkeys=('145077D82501AA20152CACCE8D769208D5E31419') # sfan5 <sfan5@live.de>
|
||||||
source=("git+https://github.com/mpv-player/mpv.git#tag=v${pkgver}?signed"
|
source=("git+https://github.com/mpv-player/mpv.git#tag=v${pkgver}?signed"
|
||||||
"dynamically_generate_desktop_file_protocols.patch")
|
"dynamically_generate_desktop_file_protocols.patch")
|
||||||
sha256sums=('b37b91d0ae4518594b22338ebe979f13bdc56b6fa26d589e5c3f7b96a31bab3d'
|
sha256sums=('51e787dbff240d69227f306685fc962daae215c755689b9de4ef0432ddf4443b'
|
||||||
'88acf97cbc8e0fe745f09bd0bd7f65e0437adcb549dadf3588fd0724d01298e9')
|
'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() {
|
build() {
|
||||||
local _meson_options=(
|
local _meson_options=(
|
||||||
--auto-features auto
|
--auto-features auto
|
||||||
|
8
mpv/README.md
Normal file
8
mpv/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# mpv
|
||||||
|
|
||||||
|
## Rebuild on ffmpeg new release
|
||||||
|
|
||||||
|
`mpv` may require a rebuild on `ffmpeg` new releases despite no soname bumps. Indeed, while `ffmpeg` patch releases are usually fine, `mpv` showed a need to be rebuilt even on `ffmpeg` minor releases in the past.
|
||||||
|
This is due to `ffmpeg` upstream introducing API changes without a soname bump (see [this bug report](https://bugs.kde.org/show_bug.cgi?id=493973) for instance). While this is definitly more of an upstream issue (as in, a soname bump should be introduced to reflect API/ABI changes), it's usually recommended to rebuild `mpv` against new `ffmpeg` (minor / major) releases even if they do not include a soname bump (just out of precaution, to avoid any potential issue).
|
||||||
|
|
||||||
|
Note that this is most likely **not** limited to `mpv`, other applications / packages might require the same precaution.
|
Loading…
x
Reference in New Issue
Block a user