Package Details: mpv-git 0.32.0_410_g640db1ed3f-1

Git Clone URL: https://aur.archlinux.org/mpv-git.git (read-only, click to copy)
Package Base: mpv-git
Description: Video player based on MPlayer/mplayer2 (git version)
Upstream URL: https://mpv.io
Keywords: media player video
Licenses: GPL
Conflicts: mpv
Provides: mpv
Submitter: rpolzer
Maintainer: qmega
Last Packager: qmega
Votes: 205
Popularity: 1.54
First Submitted: 2012-12-04 09:21
Last Updated: 2020-07-16 05:55

Required by (165)

Sources (3)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

qmega commented on 2020-07-16 06:17

@SirCmpwn

Why are the options not desirable? They seem useful to me and were requested in the past. The only practical downside I see is that on the first install, the user may have to explicitly enable something that the community package had by default -- but that only has to be done once. Depending on those by default would mean that people who didn't want those dependencies -- e.g. someone who used only Wayland and didn't want to install X libraries -- would have to remove them every time, or live with them. With a binary package there has to be a compromise, but I don't see the need for that here.

The majority of mpv's optional features are enabled by default if their dependencies are present, so there's no need to explicitly enable them every time. All one has to do is install them before (re)building the package. I imagine that in many cases, the dependencies for what you want would be installed already. Whatever is linked in will be picked up as dependencies of the package when it's built.

Are there specific problems that the current setup of this package is causing?

qmega commented on 2020-07-16 05:53

@haawda I can't reproduce that. Tried with LANG=de_DE.UTF-8 and LANG=de_DE.ISO-8859-1. What are your LANG / LC_* settings and what error do you get? Or, maybe consider opening an issue upstream. Even if it is just an issue on your system, GitHub is probably a better medium for debugging than here.

SirCmpwn commented on 2020-07-11 18:01

This package should more closely map to the mpv package in community, i.e. the default build should use an identical build config to mpv. The "optional" features in the PKGBUILD are not really desirable.

haawda commented on 2020-07-08 19:52

I needed to add LANG=C to the build function, otherwise build would fail with a linking error.

qmega commented on 2019-10-31 01:35

@ekce Sounds like it could be https://github.com/mpv-player/mpv/issues/7104 which was fixed today. I can reproduce the crash with that commit reverted and --gpu-api=opengl, but with master as of this writing it's fine. Try again?

If it's still broken for you, open an issue upstream. Even if it ends up being a problem with your system and not a bug in mpv, that's probably a better place to figure it out. AUR comments aren't great for debugging.

ekce commented on 2019-10-30 16:20

See the comments on mpv-build-git. It's possible that the most recent build has a bug that causes it to crash right after starting up.

qmega commented on 2019-10-03 01:34

Oh, actually, I wasn't aware of that dependency chain. Pretty sure that's a somewhat recent change. Given that, you'd have to try pretty hard to build mpv without vulkan-icd-loader installed. I think it's totally fair to add vulkan-headers as a makedepend at this point. It's a tiny and harmless package anyway.

Thanks a lot for checking that out and letting me know! I'll update the package.

Edit: Of course it couldn't be that easy. This is going to change again soon: https://bugs.archlinux.org/task/64267 and libplacebo won't be an implicit depend anymore. Maybe I'll put the vulkan option back but leave it default enabled.

Ckat commented on 2019-10-02 20:45

ah I see, I did a quick check and saw vulkan-icd-loader is required by dav1d, which is something ffmpeg requires. and mpv requires ffmpeg for sure. but I gues its stil possible to not have vulkan-icd-loader in some cases.

qmega commented on 2019-10-02 00:48

If you have vulkan-icd-loader installed, you must also install vulkan-headers or mpv will fail to build.

vulkan-headers isn't a hard makedepend because you can build without it, but only if vulkan-icd-loader is also not installed, because of a weird packaging situation that's out of my control (vulkan-icd-loader contains a pkg-config file for vulkan, but not the headers). The PKGBUILD does make an attempt to detect this situation and add the makedepend on vulkan-headers, but that apparently doesn't work with some AUR helpers (depending on when / how they source the PKGBUILD, probably).

See also: https://bugs.archlinux.org/task/56238

Ckat commented on 2019-10-01 21:36

complaining about missing vulkan-headers when I try to install this, after installing it builds fine. might want to add that as builddep