Commit Graph

13 Commits

Author SHA1 Message Date
Artturin
99a52394e9 mpv: move makeWrapper to nativeBuildInputs to fix cross eval
error: attribute 'runtimeShell' missing
2022-07-14 22:08:56 +03:00
Naïm Favier
2ae69114a1
makeWrapper: implement --inherit-argv0
For symmetry/interoperability with makeBinaryWrapper. Implemented as
--argv0 '$0'
2022-05-10 22:07:57 +02:00
Samuel Gräfenstein
5c706a49a6
mpv: inherit meta from mpv-unwrapped
Co-authored-by: Thiago Kenji Okada <thiagokokada@gmail.com>
2021-11-22 17:09:22 +01:00
Samuel Gräfenstein
4459b35304
mpv: set meta.mainProgram 2021-11-21 16:47:31 +01:00
AndersonTorres
8153c49e28 mpv: 0.33.1 -> 0.34.0 2021-11-03 14:39:01 -03:00
Félix Baylac-Jacqué
4317964bb0
mpv: use yt-dlp instead of youtube-dl
youtube-dl has been abandoned and is now unusable to stream a
youtube.com video.

The mpv team decided to move on with the yt-dlp fork[1]. However, they
did not cut a new mpv release yet.

Backporting the relevant commit and updating the wrapper to expose
yt-dlp instead of youtube-dl.

[1] https://github.com/mpv-player/mpv/pull/9209
2021-10-21 19:38:42 +02:00
Sandro Jäckel
145b75fe00
mpv: split dev and man output 2021-08-23 02:24:09 +02:00
Yaroslav Bolyukin
83c847c0c8
mpv: fix vapoursynth path
`mpv.vapoursynth.python3.sitePackages` expands to `/lib/python3.8/site-packages`, thus `/lib/lib/python3.8/site-packages` being produced in wrapper, which is wrong
2020-11-24 12:12:08 +05:00
Robert Schütz
4da94b5270 mpv: fix umpv 2020-06-16 01:35:30 +02:00
Doron Behar
d60b5aaa2f wrapMpv: Use lib.strings.escapeShellArgs
Instead of manually quoting the strings, use the library function to do
it more reliably.
2020-06-11 17:18:23 +02:00
Doron Behar
f93918bdc3 mpv: Move all wrappings to a single wrapper Nix function
Inspired by `wrapNeovim`, write a wrapMpv Nix function that creates a
derivation that has all of the environment that was added if needed at
the unwrapped version.

Add derivations to all-packages.nix in an almost compatible way and make
`mpv-with-scripts` throw a message implying to switch to `wrapMpv` which
has an incompatible signature.

Add to vapoursynth a new passthru attribute `python3` that is used in
passed down to the wrapper to ensure ABI compatibility with
`PYTHONPATH`.
2020-05-24 01:25:33 +03:00
Doron Behar
b0ac6a009b mpvScripts.mpris: use patch sent upstream for make DESTDIR=
Make sure mpris.so is stripped.
mpv-with-scripts: use a standard location for scripts in $out.
mpvScripts.convert: install to the new location of mpv scripts.
Replaced gobject-introspection dependency with glib.
2020-05-06 10:30:20 +03:00
Johannes Frankenau
402ee4e9ea mpv: use wrapper for scripts and add mpris script 2018-07-19 09:50:32 +02:00