Package Details: mpv-git 0.30.0_102_g8a0929973d-1

Git Clone URL: (read-only, click to copy)
Package Base: mpv-git
Description: Video player based on MPlayer/mplayer2 (git version)
Upstream URL:
Keywords: media player video
Licenses: GPL
Conflicts: mpv
Provides: mpv
Submitter: rpolzer
Maintainer: qmega
Last Packager: qmega
Votes: 201
Popularity: 2.09
First Submitted: 2012-12-04 09:21
Last Updated: 2019-11-07 04:02

Required by (148)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 ... Next › Last »

dbermond commented on 2018-04-16 00:18

@postadelmaga That's normal and expected.

In order to build the current mpv git master you need ffmpeg git master (for example, ffmpeg-git or ffmpeg-full-git package). It will not build with ffmpeg 3.4.

postadelmaga commented on 2018-04-16 00:12

Just got this on a fresh Arch installation during compilation, looks some issue with dependency:

Checking for libav* is Libav                                         : no 
Checking for Libav/FFmpeg library versions                           : no 
('libavutil >= 56.12.100 libavcodec >= 58.16.100 libavformat >= 58.9.100 libswscale >= 5.0.101 libavfilter >= 7.14.100 libswresample >= 3.0.100' not found) 
 Unable to find development files for some of the required FFmpeg/Libav libraries. Git master is recommended.

fx333 commented on 2018-03-19 22:16

The case that prompted me to modify the script was a libva dependency, but it turns out my ffmpeg package wasn't depending on libva. So is actually working as intended it seems.

Although somewhat hacky, you can offload library searching to ld (the rpath would still need special consideration):

$ ld --verbose -o /dev/null -lz 2>/dev/null | grep ^-l
-lz (/usr/lib/

qmega commented on 2018-03-18 23:22

The current script prunes dependencies-of-dependencies. The block of code labeled "Remove redundant dependencies" does that. Do you have some case where that isn't working?

I like the idea of using readelf instead of ldd (it was actually suggested once before), but I think that would require handling rpath and finding the actual files manually, unless you know of an easy way to do that. To demonstrate the issue: I build this package against ffmpeg-git installed in a subdirectory of /usr/lib (and registered with the package manager) so I can have it alongside ffmpeg release; the script with your patch fails on those libs because it assumes everything is in /usr/lib directly.

fx333 commented on 2018-03-18 19:32

The script will recursively list dependencies, this causes the mpv-git package to depend on e.g. all of ffmpeg's depends too.

I don't think this is correct, here's a patch to use readelf instead:

qmega commented on 2018-01-27 04:43

Just pushed a workaround for the vulkan-headers situation. It's added to makedepends if pkg-config can resolve vulkan when the PKGBUILD is sourced. This should make the dependencies work out without forcing them on people who don't want vulkan at all.

qmega commented on 2018-01-27 04:29

@speak It needs vulkan-headers only if vulkan-icd-loader is installed. The latter comes with the pkg-config file which points to the header, but the former includes the header. I don't think this makes sense and I opened a bug report[1] against the packages a while back but so far it's been ignored. If you don't have either package installed, the build will work fine (but not have Vulkan support) so I don't want to add the depend unconditionally.


speak commented on 2018-01-26 13:57

This seems to need a dependency to vulkan-headers.

Those trying to install it as it stands, install vulkan-headers before this.

Tralba commented on 2018-01-10 06:48

@qmega The issue seems to be my AUR-helper not updating the PKGBUILD along with the files from git, manually building them or removing all old files solved my problem.

qmega commented on 2018-01-07 22:04

@Tralba Definitely not. The PKGBUILD hasn't had anything related to ffmpeg-mpv for a month. Even before that, it referenced "ffmpeg-mpv-git" so unless you've modified your quote something's weird. Are you sure this is the package you're building? And your checkout of it is up to date? Try "git rev-parse HEAD" in the directory with the PKGBUILD. Should say bc3ac332ee6e.