Package Details: mpv-full-git 0.38.0.r796.ge3eeaec813-1

Git Clone URL: https://aur.archlinux.org/mpv-full-git.git (read-only, click to copy)
Package Base: mpv-full-git
Description: A free, open source, and cross-platform media player (git version with all possible libs)
Upstream URL: https://mpv.io/
Keywords: hwaccel mpv player video
Licenses: GPL-2.0-or-later
Conflicts: mpv
Provides: mpv, mpv-git
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 23
Popularity: 0.185148
First Submitted: 2016-12-10 19:51 (UTC)
Last Updated: 2024-09-19 15:08 (UTC)

Dependencies (44)

Required by (397)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

dbermond commented on 2024-09-19 15:09 (UTC)

@tlalexan package updated to match the latest upstream changes. Thanks for reporting.

tlalexan commented on 2024-09-14 22:14 (UTC) (edited on 2024-09-14 22:20 (UTC) by tlalexan)

I needed to remove the line

        -Dvulkan-interop='enabled' \

from PKGBUILD

I'm pretty sure the issue was this upstream change: https://github.com/mpv-player/mpv/commit/0e43eea5bb9d3864329ad58f06377c4bb029d5d3#diff-76ea9078099f2ee8cc0e760a874dd153f225ba16ad10375c24ab6cd53518f3c4L106

otherwise I was seeing this error:

+ exec meson setup (...snip...)
The Meson build system
Version: 1.5.1
Source dir: /home/tom/.cache/yay/mpv-full-git/src/mpv
Build dir: /home/tom/.cache/yay/mpv-full-git/src/build
Build type: native build

mpv/meson.build:1:0: ERROR: Unknown options: "vulkan-interop"

A full log can be found at /home/tom/.cache/yay/mpv-full-git/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: mpv-full-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
mpv-full-git - exit status 4

spacemann commented on 2024-06-20 22:24 (UTC)

As Tjuh said, this now requires turning off two new macos related features. Here's a patch for the PKGBUILD file that fixes the build:

diff --git a/PKGBUILD b/PKGBUILD
index 4364f99..d367fd2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Daniel Bermond <dbermond@archlinux.org>

 pkgname=mpv-full-git
-pkgver=0.38.0.r341.gf652f38147
+pkgver=0.38.0.r512.gbab9b2cf4e
 pkgrel=1
 pkgdesc='A free, open source, and cross-platform media player (git version with all possible libs)'
 arch=('x86_64')
@@ -138,6 +138,8 @@ build() {
         \
         -Dmacos-11-features='disabled' \
         -Dmacos-12-features='disabled' \
+        -Dmacos-10-15-4-features='disabled' \
+        -Dmacos-11-3-features='disabled' \
         -Dmacos-cocoa-cb='disabled' \
         -Dmacos-media-player='disabled' \
         -Dmacos-touchbar='disabled' \

Tjuh commented on 2024-06-20 15:49 (UTC)

    -Dmacos-10-15-4-features=disabled \
    -Dmacos-11-3-features=disabled \

Had to add this.

dbermond commented on 2024-05-24 16:55 (UTC)

@Ultimatespirit package updated. Thanks for reporting.

Ultimatespirit commented on 2024-05-24 06:27 (UTC)

Looks like this needs -Dmacos-11-features='disabled' -Dmacos-12-features='disabled' to be added now.

dbermond commented on 2023-11-29 18:23 (UTC)

@Tjuh Package updated to match the latest upstream changes.

qmega commented on 2023-11-29 07:04 (UTC)

Oh, sorry, arch-meson enables all 'auto' features so you have to actually set those two features to disabled explicitly.

(Also, your pasted PKGBUILD seems fairly different from the one I see here for this package. I assume you know what you're doing there? If you expect that your local PKGBUILD matches dbermond's, you might want to check again.)

Tjuh commented on 2023-11-29 06:49 (UTC)


pkgname=mpv-full-git
pkgver=0.37.0.r51.gc7d8e155d2
pkgrel=1
arch=(x86_64)
depends=(libxss libxinerama libxrandr libxpresent lua52 libpipewire ffmpeg-git libplacebo-git vapoursynth-git nvidia-utils)
makedepends=(git meson ninja vulkan-headers-tkg-git ffnvcodec-headers)
provides=(mpv)
conflicts=(mpv)
source=(git+https://github.com/mpv-player/mpv.git)
pkgver(){
    local _version
    local _revision
    local _shorthash
    _version=$(git -C mpv tag | sort -Vr | head -n1 | sed 's/^v//')
    _revision=$(git -C mpv rev-list v${_version}..HEAD --count)
    _shorthash=$(git -C mpv rev-parse --short HEAD)
    printf %s.r%s.g%s $_version $_revision $_shorthash
}
build(){
    arch-meson mpv build \
        -Dlibmpv=true \
        -Dbuild-date=false \
        -Dlua=lua52 \
        -Dmanpage-build=disabled \
        -Dandroid-media-ndk=disabled \
        -Daudiounit=disabled \
        -Dcaca=disabled \
        -Dcocoa=disabled \
        -Dcoreaudio=disabled \
        -Dcplugins=disabled \
        -Dd3d-hwaccel=disabled \
        -Dd3d11=disabled \
        -Dd3d9-hwaccel=disabled \
        -Ddirect3d=disabled \
        -Ddmabuf-wayland=disabled \
        -Ddrm=disabled \
        -Degl-android=disabled \
        -Degl-angle-lib=disabled \
        -Degl-angle-win32=disabled \
        -Degl-angle=disabled \
        -Degl-drm=disabled \
        -Degl-wayland=disabled \
        -Degl-x11=disabled \
        -Degl=disabled \
        -Dgbm=disabled \
        -Dgl-cocoa=disabled \
        -Dgl-dxinterop-d3d9=disabled \
        -Dgl-dxinterop=disabled \
        -Dgl-win32=disabled \
        -Dgl-x11=disabled \
        -Dgl=disabled \
        -Diconv=disabled \
        -Dios-gl=disabled \
        -Djack=disabled \
        -Djavascript=disabled \
        -Djpeg=disabled \
        -Dlcms2=disabled \
        -Dlibarchive=disabled \
        -Dlibavdevice=disabled \
        -Dlibbluray=disabled \
        -Dmacos-cocoa-cb=disabled \
        -Dmacos-media-player=disabled \
        -Dmacos-touchbar=disabled \
        -Dopensles=disabled \
        -Doss-audio=disabled \
        -Dplain-gl=disabled \
        -Dpulse=disabled \
        -Drpi-mmal=disabled \
        -Drubberband=disabled \
        -Dsdl2-audio=disabled \
        -Dsdl2-gamepad=disabled \
        -Dsdl2-video=disabled \
        -Dsixel=disabled \
        -Dsndio=disabled \
        -Dspirv-cross=disabled \
        -Dswift-build=disabled \
        -Dswift-flags=disabled \
        -Duchardet=disabled \
        -Dvaapi-drm=disabled \
        -Dvaapi-wayland=disabled \
        -Dvaapi-win32=disabled \
        -Dvaapi-x11=disabled \
        -Dvaapi=disabled \
        -Dvdpau-gl-x11=disabled \
        -Dvdpau=disabled \
        -Dvideotoolbox-gl=disabled \
        -Dvideotoolbox-pl=disabled \
        -Dwasapi=disabled \
        -Dwayland=disabled \
        -Dwin32-threads=disabled \
        -Dxv=disabled
    ninja -C build
}
package(){
    DESTDIR=$pkgdir ninja install -C build
    (cd mpv/TOOLS/lua; for i in $(find . -type f); do install -Dm644 "${i}" "${pkgdir}/usr/share/mpv/scripts/${i}"; done)
    find $pkgdir \( -iname 'encoding*' -o -iname 'readme*' -o -iname '*test*' \) -delete
}

Think already did that.

qmega commented on 2023-11-29 06:41 (UTC) (edited on 2023-11-29 06:42 (UTC) by qmega)

The shaderc and spirv-cross options are only valid on Windows now: https://github.com/mpv-player/mpv/commit/60a31a8a284e539043c47a33ff90f3d55aade6a8

Just need to remove the enable lines and depends for them -- shaderc is depended on and used through libplacebo, spirv-cross isn't used at all on Linux AFAIK.