Commit Graph

405 Commits

Author SHA1 Message Date
R. Ryantm
c9bac79505 mpvScripts.mpris: 0.9 -> 1.0 2023-05-07 10:13:48 +00: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
Nick Cao
2bd8a3add4
Merge pull request #227239 from HolyParzival/mpvacious-0.23
mpvScripts.mpvacious: 0.20 -> 0.23
2023-04-21 10:18:49 +08:00
Anderson Torres
bc28e20568 mpv: change self to finalAttrs 2023-04-20 22:22:23 -03:00
holyparzival
8374a081bf mpvScripts.mpvacious: 0.20 -> 0.23 2023-04-20 15:37:15 +05:00
nicoo
947f8256a4 mpvScripts.occivink: make FDOs (Fixed-Output Derivations) 2023-04-16 13:55:24 +00:00
nicoo
290dcc75e9 mpvScripts.occivink: Minor fixes to the generic helper
- Renamed 'name' parameter to avoid collisions with mkDerivation's one.
- Ensured the passed parameters can always override generic defaults.
2023-04-16 13:55:24 +00:00
nicoo
a326613766 mpvScripts.blacklistExtensions: init at unstable-2022-10-02 2023-04-16 13:55:24 +00:00
nicoo
589d611a40 mpvScripts.occivink: Add generic helper for all scripts in repo 2023-04-16 13:55:22 +00:00
nicoo
19abbaa2d6 mpvScripts.seekTo: init at unstable-2022-10-02 2023-04-16 13:54:52 +00:00
apfelkuchen06
312b3856e8 mpvScripts.uosc: 4.6.0 -> 4.7.0 2023-04-15 19:36:18 +02:00
github-actions[bot]
2ea027a913
Merge master into staging-next 2023-04-10 00:02:09 +00:00
Maciej Krüger
3577487514
Merge pull request #219348 from nbraud/mpvScript/acompressor 2023-04-09 22:44:30 +02:00
nicoo
0d8cf8b60a mpvScripts.acompressor: init at 0.35.1 2023-04-09 18:57:31 +00: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
Anderson Torres
a5bcb6e77a
Merge pull request #219909 from apfelkuchen6/mpv-uosc
mpvScripts.uosc: init at 4.6.0
2023-03-08 15:20:38 -03:00
apfelkuchen06
19f0a78c19 mpvScripts.uosc: init at 4.6.0 2023-03-07 16:20:06 +01:00
apfelkuchen06
481f02f7dd mpv: allow scripts to add wrapper args 2023-03-07 01:54:53 +01: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
Nick Cao
c2f4e0d0d1
Merge pull request #213643 from HolyParzival/mpvacious-0.20
mpvScripts.mpvacious: 0.18 -> 0.20
2023-01-31 16:21:27 +08:00
holyparzival
06fa028600 mpvScripts.mpvacious: 0.18 -> 0.20 2023-01-31 08:42:09 +05:00
R. Ryantm
abb5299ea5 mpvScripts.sponsorblock: unstable-2022-09-24 -> unstable-2023-01-30 2023-01-30 06:56:31 +00: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
Doron Behar
ff73f0aad2
Merge pull request #212989 from chuangzhu/webtorrent-mpv-hook
mpvScripts.webtorrent-mpv-hook: init at 1.3.3
2023-01-28 17:58:26 +02:00
Chuang Zhu
3d73774412 mpvScripts.webtorrent-mpv-hook: init at 1.3.3 2023-01-28 01:55:56 +08:00
figsoda
541af71fbc mpvScripts.thumbnail: 0.5.1 -> 0.5.2
Diff: https://github.com/marzzzello/mpv_thumbnail_script/compare/0.5.1...0.5.2

Changelog: https://github.com/marzzzello/mpv_thumbnail_script/releases/tag/0.5.2
2023-01-17 23:58:47 -05: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
6c056bed3a
Merge pull request #205046 from SuperSandro2000/lib-meson 2022-12-29 01:36:12 +01:00
figsoda
a211d94291 treewide: remove attrPath from nix-update-script calls
after https://github.com/Mic92/nix-update/pull/120 and https://github.com/NixOS/nixpkgs/pull/207703, `attrPath` can now be omitted when using `nix-update-script`
2022-12-26 12:39:21 -05:00
Sandro Jäckel
6821ff041a
mpv: inline lib 2022-12-25 21:42:23 +01:00
Sandro
4c536e0b69
Merge pull request #203838 from Myaats/mpv_inhibit_gnome 2022-12-24 02:07:14 +01:00
Mats
13c9d909c7 mpvScripts.inhibit_gnome: init at 0.1.3 2022-12-18 17:55:35 +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
944a28da8f
Merge pull request #201379 from SuperSandro2000/mpv-unwrapped 2022-12-07 01:24:09 +01: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
schnusch
fe0257891b mpvScripts.sponsorblock: replace update script with nix-update 2022-11-28 12:18:02 +01:00
Bruno Bigras
4b85db7975
Merge pull request #197438 from schnusch/mpvScripts.sponsorblock
mpvScripts.sponsorblock: unstable-2021-12-23 -> unstable-2022-09-24
2022-11-18 10:23:29 -05:00
Anderson Torres
506f41b6ad
Merge pull request #201367 from SuperSandro2000/mpv-0-35-0
mpv-unwrapped: 0.34.1 -> 0.35.0
2022-11-15 19:12:05 -03:00
Sandro Jäckel
b97cda7d44 mpv-unwrapped: 0.34.1 -> 0.35.0 2022-11-15 20:58:01 +01:00
figsoda
b6c1fb293e mpvScripts.thumbnail: 0.4.9 -> 0.5.1 2022-11-04 22:38:13 -04:00
schnusch
56ab2dc73f mpvScripts.sponsorblock: unstable-2021-12-23 -> unstable-2022-09-24 2022-10-23 23:39:38 +02:00
Markus S. Wamser
c9d167f174 pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
lunik1
95df3315f2 mpvScripts.mpv-playlistmanager: unstable-2021-09-27 → unstable-2022-08-26 2022-06-29 23:05:32 +01:00
Martin Weinelt
68c0ca4416 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-25 21:36:31 +02:00
R. Ryantm
0a50c1ed3d mpvScripts.mpris: 0.8.1 -> 0.9 2022-09-22 23:09:55 +00: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
github-actions[bot]
a179bde9df
Merge staging-next into staging 2022-09-01 00:03:07 +00: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
Ken Micklas
189c57aaa6 mpvacious: 0.15 -> 0.18 2022-08-24 13:21:54 +01:00
ajs124
724320b25a
Merge pull request #183114 from sersorrel/mpv-scripts-mpris 2022-08-16 12:53:04 +02:00
ash
957ab7ce03 mpvScripts.mpris: 0.5 -> 0.8.1 2022-08-16 11:02:57 +01:00
figsoda
05e9b4c5bb
Merge pull request #186391 from figsoda/update-mpv-thumbnail
mpvScripts.thumbnail: switch to maintained fork, unstable-2020-01-16 -> 0.4.9
2022-08-16 10:35:09 +08:00
n-cc
e8453ebbac mpv: add libXpresent dependency 2022-08-14 16:03:55 -05:00
John Ericson
91e3af4efb
Merge pull request #156241 from kmicklas/fix-mpvacious-multi-file-hack
mpvacious: remove hack for multi-file script loading
2022-08-13 10:54:36 -04:00
figsoda
cedffc07f5 mpvScripts.thumbnail: switch to maintained fork, unstable-2020-01-16 -> 0.4.9 2022-08-13 14:25:29 +08:00
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
Lassulus
8ef828fc72
Merge pull request #161599 from rileyinman/mpv-scripts
mpv-scripts: init autocrop, autodeint
2022-04-19 12:36:37 +01:00
schnusch
3c1a4376ac mpvScripts.vr-reversal: init at 1.1 2022-03-16 00:18:03 +01: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
Riley Inman
7988f94cd3 mpv-scripts: init autocrop, autodeint 2022-02-23 19:52:55 -05:00
Ken Micklas
90bfb6dc4b mpvacious: remove hack for multi-file script loading 2022-01-22 20:10:02 -05:00
legendofmiracles
b4ac5539ea
Merge pull request #154859 from schnusch/mpv_sponsorblock 2022-01-13 14:42:41 -06:00
schnusch
03b8ba0070 mpvScripts.sponsorblock: update script: do not use shallow fetch
Shallow fetch should not be used because the script needs to look at past
commits too to pick the latest commit before today.
2022-01-13 10:11:45 +01:00
legendofmiracles
38ec35cef2
Merge pull request #154563 from schnusch/mpv_sponsorblock 2022-01-12 20:54:49 -06:00
schnusch
7b5db5f50b mpvScripts.sponsorblock: unstable-2020-07-05 -> unstable-2021-12-23 2022-01-13 00:56:13 +01:00
schnusch
e8f170c469 mpvScripts.sponsorblock: add update script 2022-01-13 00:56:09 +01:00
legendofmiracles
54f8775d64 mpvScripts.sponsorblock: fix blatant ignorance of CONTRIBUTING.md 2022-01-12 15:19:54 +01:00
Sandro
0b4d5ebdad
Merge pull request #139795 from kmicklas/mpvacious-0.15 2022-01-04 13:07:04 +01:00
adisbladis
ddc858382c mpv: 0.34.0 -> 0.34.1 2022-01-03 22:53:56 +00:00
legendofmiracles
b9e6351d30
maintainers: rename legendofmiracles to lom 2021-12-01 17:19:48 -06:00
Sandro
6809351d92
Merge pull request #147003 from samuelgrf/mpv-inherit-meta 2021-11-25 00:31:08 +01:00
legendofmiracles
c85680db4f mpvScripts.video-cutter: init at unstable-2021-02-03 2021-11-24 13:49:33 -08: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
Sandro Jäckel
867421210a
mpv: remove ? null from inputs, put meta last 2021-11-11 17:24:38 +01:00
Ken Micklas
14d0e5ad9f mpvacious: 0.14 -> 0.15 2021-11-07 15:26:53 -05: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
lunik1
0219679ed0
mpvScripts.mpv-playlistmanager: unstable-2021-08-17 -> unstable-2021-09-27 2021-10-02 22:10:33 +01:00
Sandro Jäckel
145b75fe00
mpv: split dev and man output 2021-08-23 02:24:09 +02:00
lunik1
c86a0737c1
mpvScripts.mpv-playlistmanager unstable-2021-03-09 → unstable-2021-08-17 2021-08-18 22:41:59 +01:00
Alexandre Macabies
c9e991bd64 mpvScripts.simple-mpv-webui: 1.0.0 -> 2.1.0
This also adds a test. The current packaged version (1.0.0) is broken,
it cannot find relevant files.
2021-08-01 00:47:55 +02:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Artturin
008453f7b2 mpvScripts.youtube-quality: correct the pname 2021-06-08 05:17:11 +03:00
lunik1
13e7b38ac1
mpvScripts.youtube-quality: init at unstable-2020-02-11 (#125284)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-06-05 16:44:12 +02:00
Profpatsch
72cc405767 mpvScripts: update convert script patch to work with current mpv
mpv has finally made some options an error that they removed in 0.30,
a few versions ago.

Plus, refactors the tool overrides a bit.

Fixes https://github.com/NixOS/nixpkgs/issues/113202
2021-04-22 19:30:42 +02:00
Jörg Thalheim
3bba0abca4
Merge pull request #119968 from lunik1/mpv-plugins-cleanup
mpvScripts: use stdenvNoCC and misc. cleanup
2021-04-21 08:12:06 +01:00
lunik1
ab70324469
mpvScritps.convert: mark as broken
See: #113202
2021-04-20 22:54:10 +01:00
lunik1
eee5a74381
mpvScripts.convert: set license to unfree
The upstream gist has no license, to the license should be unfree
as per CONTRIBUTING.md
2021-04-20 18:58:09 +01:00
lunik1
9485531db9
mpvScripts.autoload: remove unused dependency on fetchurl 2021-04-20 18:54:41 +01:00
lunik1
b41e56b751
mpvScripts: use stdenvNoCC
mpv lua scripts do not require a C compiler
2021-04-20 18:38:09 +01:00
lunik1
388c01875c
mpvScripts.mpv-playlistmanager: init at c15a033 (09-03-2021) 2021-04-20 18:11:19 +01:00
Ken Micklas
f3ee98f68c mpvacious: 0.12 -> 0.14 2021-04-13 20:04:40 -04: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
figsoda
6fe976fde2 mpvScripts.thumbnail: init at unstable-2020-01-16 2021-03-10 14:23:24 -05:00
Sandro
ec64627b97
Merge pull request #109545 from kmicklas/mpvacious 2021-01-17 13:42:05 +01:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ken Micklas
6960160acb mpvScripts.mpvacious: init at 0.12 2021-01-16 11:43:25 -05: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
Sandro
978f5704ff
Merge pull request #100779 from lukebfox/patch-1
mpvScripts.mpris: fix build
2020-11-27 13:19:07 +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
Anderson Torres
f30a8774d9
Merge pull request #104716 from Ma27/bump-mpv
mpv: 0.32.0 -> 0.33.0
2020-11-24 12:59:30 -03: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
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
Luke Bentley-Fox
39e33a47b3
mpvScripts.mpris: Use mpv-unwrapped
Needed after #88620 to fix evaluation in some cases. Fixes #100771
2020-10-17 14:46:58 +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
Doron Behar
a9639b4cbf
Merge pull request #87981 from dawidsowa/master 2020-09-11 15:37:23 +03:00
dawidsowa
59e1c16030 mpvScripts.autoload: init at 2019-02-15 2020-09-11 12:59:17 +02:00
pacien
1d18e35023 mpvScripts.sponsorblock: init at f71e49e (2020-07-05) 2020-08-07 14:47:12 +02:00
zowoq
78e324d272 treewide: ffmpeg_4 -> ffmpeg 2020-06-16 18:23:14 -07:00
Maximilian Bosch
0a63b5ae34
Merge pull request #89262 from cript0nauta/simple-mpv-ui
mpvScripts.simple-mpv-webui: init at 1.0.0
2020-06-17 03:13:48 +02: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
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
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
Doron Behar
f388ca8ac8 mpvScripts.mpris: set platforms to Linux 2020-05-04 10:12:53 +03:00
Doron Behar
a60552ad94 mpvScripts.mpris: 0.4 -> 0.5 2020-05-03 21:18:46 +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
Jörg Thalheim
b114def89c
Merge pull request #79751 from doronbehar/update-mpv-mpris
mpvScripts.mpris: 0.3 -> 0.4
2020-03-31 11:53:53 +01:00
Mario Rodas
9fa6557a71
mpv: fix cocoa backend 2020-03-26 04:20:00 -05:00
Doron Behar
fe560588a5 mpvScripts.mpris: 0.3 -> 0.4
Quote URL as well.
2020-02-10 19:55:23 +02:00
Daiderd Jordan
408f36923d
mpv: call with frameworks
Referencing darwin.* directly makes overriding dependencies very
awkward.
2020-02-07 22:09:23 +01:00
Daiderd Jordan
3987ea9a9d
mpv: add flag for swift on darwin
While we currently don't have a pure swift build on macOS it's possible
to build mpv using the swift compiler from CLT. eg.

    self: super:
    let
      CommandLineTools = "/Library/Developer/CommandLineTools";
    in
    {
      swift = super.stdenv.mkDerivation {
        name = "swift-CommandLineTools-0.0.0";
        phases = [ "installPhase" "fixupPhase" ];

        propagatedBuildInputs = [ self.darwin.DarwinTools ];

        installPhase = ''
            mkdir -p $out/bin $out/lib
            ln -s ${CommandLineTools}/usr/bin/swift $out/bin
            ln -s ${CommandLineTools}/usr/lib/swift $out/lib
            ln -s ${CommandLineTools}/SDKs $out
        '';

        setupHook = builtins.toFile "hook" ''
            addCommandLineTools() {
                echo >&2
                echo "WARNING: this is impure and unreliable, make sure the CommandLineTools are installed!" >&2
                echo "  $ xcode-select --install" >&2
                echo >&2
                [ -d ${CommandLineTools} ]
                export NIX_LDFLAGS+=" -L@out@/lib/swift/macosx"
                export SWIFT=swift
                export SWIFT_LIB_DYNAMIC=@out@/lib/swift/macosx
                export MACOS_SDK_VERSION=$(sw_vers -productVersion | awk -F. '{print $1 "." $2}')
                export MACOS_SDK=@out@/SDKs/MacOSX$MACOS_SDK_VERSION.sdk
            }

            prePhases+=" addCommandLineTools"
        '';

        __impureHostDeps = [ CommandLineTools ];
      };

      mpv = super.mpv.override { swiftSupport = true; };
    }
2020-02-06 14:15:35 +01:00
Benjamin Hipple
542d758956 mpv: use waf from distribution and wafHook helper
This cleans up our dependency footprint by ensuring a consistent version, and
also avoids duplicating the logic for how to build a waf package by deferring to
the `wafHook` helper for the `configurePhase`, `buildPhase`, and `installPhase`.
2020-02-02 14:11:49 -05:00
Maximilian Bosch
499af6321f
mpv: 0.31.0 -> 0.32.0
https://github.com/mpv-player/mpv/releases/tag/v0.32.0
2020-01-26 22:32:13 +01:00
Ivan Kozik
76ab11518d treewide: Remove myself from maintainers on some packages (#78027) 2020-01-19 12:18:34 -05:00
Doron Behar
b763746404 mpvScripts.mpris: 0.2 -> 0.3 2019-12-31 15:08:05 +02:00
Tadeo Kondrak
85783b9eac
mpv: 0.30.0 -> 0.31.0 2019-12-28 09:10:30 -07:00
Maximilian Bosch
9842c4b107
treewide: update which packages I'm currently maintaining
Idea shamelessly stolen from 4e60b0efae.

I realized that I don't really know anymore where I'm listed as maintainer and what
I'm actually (co)-maintaining which means that I can't proactively take
care of packages I officially maintain.

As I don't have the time, energy and motivation to take care of stuff I
was interested in 1 or 2 years ago (or packaged for someone else in the
past), I decided that I make this explicit by removing myself from several
packages and adding myself in some other stuff I'm now interested in.

I've seen it several times now that people remove themselves from a
package without removing the package if it's unmaintained after that
which is why I figured that it's fine in my case as the affected pkgs
are rather low-prio and were pretty easy to maintain.
2019-12-26 15:27:47 +01:00
Mateusz Kowalczyk
1451a52a38 Remove myself (fuuzetsu) from maintainer lists
I haven't been doing any maintenance for a long time now and not only
do I get notified, it also creates a fake impression that all these
packages had at least one maintainer when in practice they had none.
2019-12-05 16:29:48 +09:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Mario Rodas
3510e233dc
mpv: disable samba support on darwin 2019-11-13 22:57:29 -05:00
Jan Malakhovski
4d680f3f3d mpv: enable openal support by default
See the previous commit.
2019-10-29 17:38:07 +01:00
Tadeo Kondrak
b2256035a5
mpv: 0.29.1 -> 0.30.0 2019-10-25 09:54:46 -06:00
Ivan Kozik
46cbb8453a mpv, ffmpeg: use addOpenGLRunpath to fix CUDA-accelerated playback
This fixes #67780.

Currently, using `mpv --hwdec=nvdec --msg-level=vd=debug` on NVIDIA results in:

```
[vd] Opening decoder hevc
[vd] Looking at hwdec hevc-nvdec...
Cannot load libcuda.so.1
[vd] Could not create device.
[vd] No hardware decoding available for this codec.
```

With just mpv patched, ffmpeg cannot load libnvcuvid.so.1:

```
[vd] Opening decoder hevc
[vd] Looking at hwdec hevc-nvdec...
[vd] Trying hardware decoding via hevc-nvdec.
[vd] Selected codec: hevc (HEVC (High Efficiency Video Coding))
[vd] Pixel formats supported by decoder: vaapi_vld cuda yuv420p10le
[vd] Codec profile: Main 10 (0x2)
[vd] Requesting pixfmt 'cuda' from decoder.
[ffmpeg/video] hevc: Cannot load libnvcuvid.so.1
[ffmpeg/video] hevc: Failed loading nvcuvid.
[ffmpeg/video] hevc: Failed setup for format cuda: hwaccel initialisation returned error.
```

With both mpv and ffmpeg patched, it works:

```
[vd] Opening decoder hevc
[vd] Looking at hwdec hevc-nvdec...
[vd] Trying hardware decoding via hevc-nvdec.
[vd] Selected codec: hevc (HEVC (High Efficiency Video Coding))
[vd] Pixel formats supported by decoder: vaapi_vld cuda yuv420p10le
[vd] Codec profile: Main 10 (0x2)
[vd] Requesting pixfmt 'cuda' from decoder.
Using hardware decoding (nvdec).
[vd] Decoder format: 3840x2160 cuda[p010] bt.2020-ncl/bt.2020/pq/limited/auto SP=10.000000 CL=unknown (auto 0.000000/0.000000/0.000000)
```
2019-09-06 23:18:26 +00:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Robin Gloster
4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Mario Rodas
20eda8246c
mpv: fix darwin build 2019-05-06 23:57:10 -05:00
Silvan Mosberger
a8e19088da
Merge pull request #54392 from ivan/nv-codec
ffmpeg, mpv: enable hardware-accelerated decoding with CUDA
2019-03-29 19:57:13 +01:00
Ivan Kozik
de8f760fbd ffmpeg, mpv: enable hardware-accelerated decoding with CUDA
NVIDIA users can now use `mpv --hwdec=nvdec` to play videos that the
software decoders cannot keep up with.
2019-02-11 00:32:43 +00:00
Matthieu Coudron
aaeaa6d1c6 Add checkPhase for neovim (disabled by default) (#55266)
* neovim-unwrapped: now use lua environments

* mpv: use lua environments

* luaPackages.inspect: init at 3.1.1-0

* luaPackages.lgi: mark as a lua module

* luaPackages.vicious: mark as a lua module
2019-02-05 15:00:19 +00:00
Jan Malakhovski
763dff1e20 mpv: move defaults to package file 2019-02-03 15:33:13 +00:00
adisbladis
5cc392c5bb
mpv: Enable javascript support through mujs 2019-01-19 12:56:02 +00:00
adisbladis
dfe2453ce5
mpv: Add vulkan support 2019-01-19 00:53:49 +00:00
Jan Tojnar
a51a99c690
gobject-introspection: rename package
camelCase package name was a huge inconsistency in GNOME package set.
2018-12-02 12:42:29 +01:00
Vladyslav M
889c72032f mpv: 0.29.0 -> 0.29.1 (#47689) 2018-10-03 00:34:16 +02:00
geistesk
14837a8277 mpv: add cddaSupport-flag to play Audio CDs
Introduced `cddaSupport` for `mpv` which defaults to false. By enabling
it, `mpv` will be compiled with cdda support (`libcdio{,-paranoia}`) to
play audio CDs.
2018-09-04 18:46:31 +02:00
geistesk
7cdb44e793 mpv: resorted support options alphabetically 2018-09-04 18:44:01 +02:00
Johannes Frankenau
750dc39116 mpvScripts.mpris: 0.1 -> 0.2 2018-08-10 21:29:37 +02:00
Michael Hoang
f8fb13e64c mpv: build and install macOS App Bundle 2018-08-04 13:17:19 +10:00
Michael Hoang
69ed31a57b mpv: Fix mpv 0.29.0 on macOS and disable OpenAL 2018-08-03 09:20:55 +10:00
d3rped
4afacff73d Added optional lcms2 support to mpv. 2018-07-30 21:01:48 +02:00
Vladyslav Mykhailichenko
21ab38976d mpv: 0.28.2 -> 0.29.0 2018-07-22 22:25:33 +03:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Johannes Frankenau
402ee4e9ea mpv: use wrapper for scripts and add mpris script 2018-07-19 09:50:32 +02:00
Michael Hoang
152f6087b3 mpv: add Cocoa support for macOS
Only enable X11 Support on Linux by default. Add CoreFoundation first in
the list of buildInputs to ensure that it is loaded before CF-osx
allowing it to provide <CoreFoundation/CFAttributedString.h>.
2018-07-16 03:58:15 +00:00
aszlig
7a19228215
mpv: Fix X11 support by adding libXrandr
This is a follow-up to 6b404b944a, which
fixed the build after SDL no longer leaks through X libraries.

However the commit didn't actually pass all the required dependencies to
mpv, because the configure phase of mpv still disabled X support:

  Checking for X11
  err: Package xrandr was not found in the pkg-config search path.
  Perhaps you should add the directory containing `xrandr.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'xrandr' found

So by adding libXrandr, we finally have support for X again.

Trivia: While I'm usually very pesky about line lengths this is one of
the very rare occasions where I didn't break the lines after 79
characters because it would have messed up the overall style of the
file.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @AndersonTorres, @fuuzetsu, @fpletz, @orivej
2018-07-05 00:44:26 +02:00
Orivej Desh
6b404b944a mpv: fix build with wayland after #41902 2018-07-03 12:32:41 +00:00
xeji
1463480edb
Merge pull request #40289 from yegortimoshenko/mpv-bump
mpv: 0.27.2 -> 0.28.2
2018-05-10 18:21:38 +02:00
Yegor Timoshenko
d691c8170a
mpv: 0.27.2 -> 0.28.2 2018-05-10 17:45:05 +03:00
Ryan Mulligan
038a0c9a60 treewide: http to https 2018-04-30 21:39:20 -07:00
Svein Ove Aas
c9ea1ff523 mpv: Add openal support 2018-03-26 13:24:17 +01:00
Bart Brouns
893b69a54c mpv: 0.27.0 -> 0.27.2 2018-03-15 13:05:29 +01:00
Vladimír Čunát
565bd805e6
Merge branch 'master' 2018-03-05 14:53:27 +01:00
rnhmjoj
0d9224bdc5 mpv: use mkvtoolnix-cli 2018-03-01 14:38:59 +01:00
rnhmjoj
ab59f0df8d
mpv: add luasocket path 2018-02-27 17:29:05 +01:00
rnhmjoj
41c1a62113
mpv: clean up options 2018-02-27 17:27:46 +01:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Profpatsch
53e790e7a8 maintainers: capitalize the Profpatsch attribute (vanity)
Since I’m already at it, this has been bothering me for a while.
2018-02-12 07:24:50 +01:00
Andreas Rammhold
95f4d6ba1c
mpv: fix CVE-2018-6460
Upstream has fixed this in a series of commits ontop of 0.28.0. Debian
has backported the fixes to 0.27.0.

Upstream issue: https://github.com/mpv-player/mpv/issues/5456
Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888654#8
2018-02-07 10:01:16 +01:00
rnhmjoj
e5aae0f2d6
mpv: fix PYTHONPATH 2018-01-13 03:30:25 +01:00
Orivej Desh
745be0cb61 mpv: fix build with libva 2 2017-12-18 16:43:24 +00:00
Heitham Omar
dc60c1e3d0 mpv: enable dvb on Linux 2017-10-15 21:26:00 +01:00
dywedir
15002fbf7e mpv: 0.26.0 -> 0.27.0 2017-09-13 12:23:04 +02:00
Profpatsch
b35972b3fa mpvScripts.convert: fix for mpv >0.26.0
See https://gist.github.com/Zehkul/25ea7ae77b30af959be0#gistcomment-2189556
2017-08-31 01:23:11 +02:00
Franz Pletz
07106fb508
mpv: bump waf version to 1.9.8
The bootstrap.py file from mpv downloads this exact version.
2017-08-04 04:09:19 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Johannes Frankenau
7e62e8d036 mpv: 0.25.0 -> 0.26.0
Add option for archive support and fix dvdread and dvdnav support.
2017-07-23 11:00:00 +02:00
Cray Elliott
c49a454210 mpv, xpra: depend on ffmpeg instead of ffmpeg_3_2
effectively updates them to depend on ffmpeg_3_3
2017-04-30 16:52:49 -07:00