Commit Graph

156 Commits

Author SHA1 Message Date
Sandro Jäckel
9248e0074c
mpv: make vaapi support depending on x11/wayland
it requires either x11 or wayland to be enabled and fails configure if
not so
2023-04-30 02:45:16 +02:00
Anderson Torres
bc28e20568 mpv: change self to finalAttrs 2023-04-20 22:22:23 -03:00
Vladimír Čunát
a90c09e256
mpv-unwrapped: add Accelerate framework on darwin
No idea why aarch64-darwin started to need it now.
https://hydra.nixos.org/build/215284720#tabs-buildsteps
2023-04-09 08:21:43 +02:00
Franz Pletz
efbd314c76
mpv: fix patch hash 2023-03-17 15:36:37 +01:00
lunik1
e36ea6fb75
mpv: apply patch to fix youtube DASH streams
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

The ytdl_hook.lua supplied with the latest mpv release is incompatible
with the latest yt-dlp release, causing streaming some youtube formats
to fail. This applies an already-upstreamed fix.

Upstream issue: mpv-player/mpv#11392
Upstream patch: mpv-player/mpv#11398
2023-03-16 14:02:01 +00:00
Zhong Jianxin
8a28ae851d mpv: Only enable swift support on aarch64-darwin
This commit should be reverted after [x86_64-darwin build failure][1] is
fixed

[1]: https://logs.nix.ci/?key=nixos/nixpkgs.214944&attempt_id=76802592-760c-47e1-9141-4465b7c78f4c
2023-02-28 11:14:00 +08:00
Zhong Jianxin
5b8e896dba mpv: Switch to apple_sdk_11_0 for darwin 2023-02-28 11:10:17 +08:00
Stéphan Kochen
f0a6216eeb mpv: enable swift support 2023-02-28 11:10:17 +08:00
Sergei Trofimovich
0a9a0fefc2
mpv: 0.35.0 -> 0.35.1 (#213229) 2023-01-28 23:44:08 -03:00
Anderson Torres
d6cb3d2b8a mpv: use rec-less overlay-style attributes 2023-01-28 20:35:42 -03:00
Anderson Torres
6607132a7e mpv: add meta.changelog 2023-01-28 20:34:06 -03:00
1sixth
b0f6cc813f
mpv: use ffmpeg_5
This enables mpv to play Dolby Vision videos properly.
2023-01-03 23:02:44 +08:00
Sandro Jäckel
6821ff041a
mpv: inline lib 2022-12-25 21:42:23 +01:00
AndersonTorres
7f00403e5f mpv-unwrapped: incorporate darwin into its expression 2022-12-12 09:46:16 -03:00
AndersonTorres
11f03af9e3 mpv: use meson* functions 2022-12-07 14:11:00 -03:00
Sandro Jäckel
683293089f
mpv-unwrapped: build with meson
xcrun is required for darwin to find its SDK location and for the version detection.

Co-authored-by: adisbladis <adisbladis@gmail.com>
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
Co-authored-by: Atemu <atemu.main@gmail.com>
2022-11-29 17:16:49 +01:00
Sandro Jäckel
b97cda7d44 mpv-unwrapped: 0.34.1 -> 0.35.0 2022-11-15 20:58:01 +01:00
Markus S. Wamser
c9d167f174 pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
github-actions[bot]
071a9fc320
Merge master into staging-next 2022-09-21 06:23:26 +00:00
Cody P Schafer
3b9c1a03de
mpv: enable rubberbandSupport even if not linux
Since ec40574149, rubberband no longer
fails to build on darwin, so we can enable it in all cases.
2022-09-20 15:31:00 -04:00
Frederik Rietdijk
3086301ac4 Merge staging-next into staging 2022-09-12 19:49:24 +02:00
Sandro Jäckel
63be0d9b2c
mpv: fix cross compilation 2022-09-07 21:23:05 +02:00
rnhmjoj
5e04a1fd5d
mpv: fix build with wayland support 2022-08-29 00:16:14 +02:00
rnhmjoj
0b3ec7fbc8
mpv: fix cross compilation 2022-08-29 00:16:14 +02:00
n-cc
e8453ebbac mpv: add libXpresent dependency 2022-08-14 16:03:55 -05:00
Adam Joseph
f2ebc057ee mpv: add javascriptSupport option
This commit adds a javascriptSupport option, allowing to compile mpv
without mujs.
2022-03-13 15:35:37 -07:00
adisbladis
ddc858382c mpv: 0.34.0 -> 0.34.1 2022-01-03 22:53:56 +00:00
Sandro Jäckel
867421210a
mpv: remove ? null from inputs, put meta last 2021-11-11 17:24:38 +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
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Matías Lang
d8dabc2bf8 mpv: 0.33 -> 0.33.1
Version 0.33.1 fixes a security vulnerability. See
https://github.com/mpv-player/mpv/releases/tag/v0.33.1 for more
information.
2021-04-06 00:08:20 -04:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Weiss
7d8351f4d7
libplacebo: 2.72.2 -> 3.104.0 2021-01-09 17:56:35 +01:00
con-f-use
1596ce4859 mpv: umpv desktop file 2020-12-08 01:30:12 +01:00
Nicolas Berbiche
9c2351cf27
mpv: enable sixel support 2020-11-25 14:06:16 -05:00
Mario Rodas
7a4b5238eb mpv: fix build on darwin 2020-11-24 04:20:00 +00:00
Maximilian Bosch
d1487097ef
mpv: 0.32.0 -> 0.33.0
https://github.com/mpv-player/mpv/releases/tag/v0.33.0
2020-11-23 23:54:46 +01:00
José Romildo Malaquias
1d8fae0b4d mpv: install mpv_identify.sh
It is file identification script.
It is used in mc default actions for video files.
2020-09-21 23:29:09 -03:00
zowoq
78e324d272 treewide: ffmpeg_4 -> ffmpeg 2020-06-16 18:23:14 -07:00
Matías Lang
5930a0ea44 mpvScripts.simple-mpv-webui: init at 1.0.0 2020-06-06 14:46:15 -03:00
Matías Lang
164985ab68 mpv: disable samba support by default
samba support will be dropped in mpv upstream in its next release (see
3b8b7cb9d4).
Also, using it triggered segmentation faults when using luasocket.

Closes #88584
2020-05-31 16:45:01 -03: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
Matías Lang
a6dfaad922 mpv: fix lua path
mpv uses lua without directly executing the "lua" binary, so prefixing
$PATH wasn't enough. Without this change, lua scripts were unable to
import luasocket.
2020-05-19 00:50:24 -03:00
adisbladis
44c30f46f1
mpv: Enable archive support by default 2020-04-14 09:06:09 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Mario Rodas
9fa6557a71
mpv: fix cocoa backend 2020-03-26 04:20:00 -05:00