Commit Graph

167 Commits

Author SHA1 Message Date
Jeff Huffman
435076cc1c
mpv: use correct nv-codec-headers version
Otherwise, mpv falls back to nvdec-copy, using significantly more cpu.
2023-12-10 05:54:00 -05:00
Colin
90cd52a559 mpv-unwrapped: fix shebangs for cross-compiled builds
previously umpv had the build python and mpv_identify.sh had the build
bash, even though both of these are intended to run on the host.
2023-11-27 08:28:15 -03:00
nicoo
620d5c14da mpv: Set meta.mainProgram 2023-11-12 01:13:29 +00:00
David Stritzl
acd80bbf00 mpv: sign darwin bundle executable
This fixes the application exiting immediately after launch via application bundle on macOS 14 (#261072).
2023-11-10 11:03:01 -03:00
1sixth
214da37b5c
mpv: unpin ffmpeg (#265069) 2023-11-03 00:30:37 +01:00
Mario Rodas
ac4fd1a109 Revert "Fix mujs dylib on Darwin"
mujs already fixes its dylib.

This reverts commit a1abee0758.
2023-09-11 15:53:54 +00:00
John Hamelink
a1abee0758
Fix mujs dylib on Darwin 2023-09-09 15:09:26 +01:00
Anders Kaseorg
8348a75570 mpv: 0.35.1 → 0.36.0
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2023-08-07 13:44:21 -07:00
Randy Eckenrode
1b26b41be7
mpv: enable Swift support on x86_64-darwin
Swift support doesn’t seem to work with back-deployed dylibs, so set the
deployment target to 10.15 to force Swift to link against the system
Swift libraries. The change to use the Swift stdenv fixes the errors
reported in #214944.
2023-07-25 23:51:24 -04:00
Martino Fontana
875ec026c9 mpv: add NoDisplay=true to umpv.desktop 2023-07-22 01:29:22 -03:00
apfelkuchen06
9ae541a3c2 mpv: fix umpv.desktop
mpv ships with a wrapper-script umpv that adds files to the queue of a currently
running mpv instance. This script does not take any options.

The desktop file for it simply substituted mpv with umpv in mpv.desktop,
resuting in an incorrect desktop file with `Exec=umpv --player-operation-mode=pseudo-gui -- %U`.
This resulted in umpv adding bogus files to the queue.
2023-05-20 21:10:40 -03:00
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