Package Details: mpv-full-git 0.37.0.r270.g6c65537c90-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
Conflicts: mpv
Provides: mpv, mpv-git
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 20
Popularity: 0.197950
First Submitted: 2016-12-10 19:51 (UTC)
Last Updated: 2024-02-10 14:22 (UTC)

Required by (370)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

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.

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

+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -D python.bytecompile=1 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
The Meson build system
Version: 1.3.0
Source dir: /home/tjuh/corepkgs/mpv-full-git/src/mpv
Build dir: /home/tjuh/corepkgs/mpv-full-git/src/build
Build type: native build
Project name: mpv
Project version: 0.37.0-UNKNOWN
C compiler for the host machine: clang (clang 18.0.0 "clang version 18.0.0 (https://github.com/llvm/llvm-project.git 1a041a3ad8a0104da70202e68256513de8848dbf)")
C linker for the host machine: clang ld.lld 18.0.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Found pkg-config: YES (/usr/bin/pkg-config) 2.0.3
Run-time dependency libavcodec found: YES 60.35.100
Run-time dependency libavfilter found: YES 9.14.100
Run-time dependency libavformat found: YES 60.18.100
Run-time dependency libavutil found: YES 58.32.100
Run-time dependency libswresample found: YES 4.13.100
Run-time dependency libswscale found: YES 7.6.100
Run-time dependency libplacebo found: YES 7.342.0
Run-time dependency libass found: YES 0.17.1
Compiler for C supports arguments -Werror=implicit-function-declaration: YES 
Compiler for C supports arguments -Wempty-body: YES 
Compiler for C supports arguments -Wdisabled-optimization: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wno-format-zero-length: YES 
Compiler for C supports arguments -Wno-redundant-decls: YES 
Compiler for C supports arguments -Wvla: YES 
Compiler for C supports arguments -Wno-format-truncation: YES 
Compiler for C supports arguments -Wimplicit-fallthrough: YES 
Compiler for C supports arguments -fno-math-errno: YES 
Compiler for C supports arguments -Wformat -Werror=format-security: YES 
Compiler for C supports link arguments -Wl,-z,noexecstack: YES 
Compiler for C supports link arguments -Wl,--nxcompat,--no-seh,--dynamicbase: NO 
Run-time dependency dl found: YES
Library atomic found: YES
Compiler for C supports link arguments -rdynamic: YES 
Run-time dependency threads found: YES
Header "pthread.h" has symbol "pthread_condattr_setclock" with dependency threads: YES 
Dependency appleframeworks (modules: Cocoa, IOKit, QuartzCore) skipped: feature cocoa disabled
Checking for function "ppoll" : YES 
Library windowsapp skipped: feature uwp disabled
Checking for function "glob" : YES 
Header "sys/vt.h" has symbol "VT_GETMODE" : YES 
Checking for function "pthread_setname_np" with dependency threads: YES 
Checking for function "fstatfs" : NO 
Checking for function "fstatfs" : YES 
Checking if "vector check" compiles: YES 
Program /home/tjuh/corepkgs/mpv-full-git/src/mpv/TOOLS/docutils-wrapper.py found: YES (/home/tjuh/corepkgs/mpv-full-git/src/mpv/TOOLS/docutils-wrapper.py)
Program /home/tjuh/corepkgs/mpv-full-git/src/mpv/TOOLS/file2string.py found: YES (/home/tjuh/corepkgs/mpv-full-git/src/mpv/TOOLS/file2string.py)
Program /home/tjuh/corepkgs/mpv-full-git/src/mpv/TOOLS/matroska.py found: YES (/home/tjuh/corepkgs/mpv-full-git/src/mpv/TOOLS/matroska.py)
Dependency libcdio skipped: feature cdda disabled
Dependency libcdio_paranoia skipped: feature cdda disabled
Dependency dvdnav skipped: feature dvdnav disabled
Dependency dvdread skipped: feature dvdnav disabled
Dependency iconv skipped: feature iconv disabled
Dependency mujs skipped: feature javascript disabled
Dependency lcms2 skipped: feature lcms2 disabled
Dependency libarchive skipped: feature libarchive disabled
Dependency libavdevice skipped: feature libavdevice disabled
Dependency libbluray skipped: feature libbluray disabled
Library m found: YES
Library rt found: YES
Run-time dependency lua52 found: YES 5.2.4
Dependency rubberband skipped: feature rubberband disabled
Dependency sdl2 skipped: feature sdl2 disabled
Dependency uchardet skipped: feature uchardet disabled
Run-time dependency vapoursynth found: YES 65
Run-time dependency vapoursynth-script found: YES 65
Run-time dependency zimg found: YES 3.0.5
Run-time dependency zlib found: YES 1.3
Run-time dependency alsa found: YES 1.2.10
Dependency appleframeworks (modules: Foundation, AudioToolbox) skipped: feature audiounit disabled
Header "AudioToolbox/AudioToolbox.h" has symbol "kAudioUnitSubType_RemoteIO" skipped: feature audiounit disabled
Dependency appleframeworks (modules: CoreFoundation, CoreAudio, AudioUnit, AudioToolbox) skipped: feature coreaudio disabled
Dependency jack skipped: feature jack disabled
Dependency openal skipped: feature openal disabled
Library OpenSLES skipped: feature opensles disabled
Header "sys/soundcard.h" has symbol "SNDCTL_DSP_HALT" skipped: feature oss-audio disabled
Run-time dependency libpipewire-0.3 found: YES 1.0.0
Dependency libpulse skipped: feature pulse disabled
Dependency sndio skipped: feature sndio disabled
Header "audioclient.h" has symbol "IAudioClient" skipped: feature wasapi disabled
Dependency caca skipped: feature caca disabled
Has header "d3d9.h" skipped: feature direct3d disabled
Dependency libdrm skipped: feature drm disabled
Dependency gbm skipped: feature gbm disabled
Dependency libjpeg skipped: feature jpeg disabled

mpv/meson.build:942:64: ERROR: Feature shaderc cannot be enabled

A full log can be found at /home/tjuh/corepkgs/mpv-full-git/src/build/meson-logs/meson-log.txt
?[1m?[31m==> ERROR:?(B?[m?[1m A failure occurred in build().?(B?[m
?[1m    Aborting...?(B?[m
?[1m?[32m==>?(B?[m?[1m Removing installed dependencies...?(B?[m
checking dependencies...

Package (5)               Old Version  Net Change

ffnvcodec-headers         12.1.14.0-1   -0,41 MiB
meson                     1.3.0-1      -13,36 MiB
ninja                     1.11.1-3.1    -0,37 MiB
python-tqdm               4.66.1-2      -0,65 MiB
python-typing_extensions  4.8.0-1       -0,35 MiB

Total Removed Size:  15,14 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing meson...
removing python-typing_extensions...
removing python-tqdm...
removing ninja...
removing ffnvcodec-headers...
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) pkglist.hook

shaderc is present though.

dbermond commented on 2023-11-24 17:02 (UTC)

@dkdldhdkdl Package updated. Thanks for reporting, and welcome to Arch Linux.

dkdldhdkdl commented on 2023-11-24 10:38 (UTC) (edited on 2023-11-24 10:39 (UTC) by dkdldhdkdl)

I was getting this error when trying to build today:

Run-time dependency libva-win32 found: NO (tried pkgconfig and cmake)

mpv/meson.build:1404:14: ERROR: Dependency "libva-win32" not found, tried pkgconfig and cmake

It seems to be because of mpv commit 67deebc: vaapi: add support for vaapi-win32, adding a new option. I solved by adding -Dvaapi-win32=disabled to the PKGBUILD. Hope this helps, first time I've made a comment.

dbermond commented on 2023-11-18 00:49 (UTC)

@Hanuman Package updated, building fine now. Thanks for reporting.

Hanuman commented on 2023-11-18 00:13 (UTC)

I'm getting this error

Run-time dependency appleframeworks found: NO (tried framework)

mpv/meson.build:1446:12: ERROR: Dependency "appleframeworks" not found, tried framework

A full log can be found at /home/hanuman/.cache/paru/clone/mpv-full-git/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'mpv-full-git-0.36.0.r839.g39cab760b3-1':
error: packages failed to build: mpv-full-git-0.36.0.r839.g39cab760b3-1

dbermond commented on 2023-10-12 02:37 (UTC)

@Milor123 It looks like that you have an outdated copy of this git repository, since the option 'libplacebo-next' is not in the current PKGBUILD anymore. Do a git pull.