aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2020-11-25 16:16:00 -0300
committerGitHub <noreply@github.com>2020-11-25 16:16:00 -0300
commitf9677bad794b120552f59ef4017a8fd1d33ddef7 (patch)
tree51899fef60a52a2a3e7738f62a516e41c44e0bec /pkgs/applications/video
parentc46bb0cca1fff29a3684a493ee1ff096069a33fe (diff)
parent9c2351cf277734af98220022cceac3c86c54da46 (diff)
Merge pull request #104865 from berbiche/mpv-sixel
mpv: enable sixel support
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/mpv/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix
index 73276f9a4616..d7dc865c1694 100644
--- a/pkgs/applications/video/mpv/default.nix
+++ b/pkgs/applications/video/mpv/default.nix
@@ -31,28 +31,29 @@
, mesa ? null
, alsaSupport ? stdenv.isLinux, alsaLib ? null
+, archiveSupport ? true, libarchive ? null
, bluraySupport ? true, libbluray ? null
, bs2bSupport ? true, libbs2b ? null
, cacaSupport ? true, libcaca ? null
, cmsSupport ? true, lcms2 ? null
, dvdnavSupport ? stdenv.isLinux, libdvdnav ? null
+, jackaudioSupport ? false, libjack2 ? null
, libpngSupport ? true, libpng ? null
+, openalSupport ? true, openalSoft ? null
, pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null
, rubberbandSupport ? stdenv.isLinux, rubberband ? null
, screenSaverSupport ? true, libXScrnSaver ? null
, sdl2Support ? true, SDL2 ? null
+, sixelSupport ? false, libsixel ? null
, speexSupport ? true, speex ? null
, swiftSupport ? false, swift ? null
, theoraSupport ? true, libtheora ? null
, vaapiSupport ? stdenv.isLinux, libva ? null
+, vapoursynthSupport ? false, vapoursynth ? null
, vdpauSupport ? true, libvdpau ? null
, xineramaSupport ? stdenv.isLinux, libXinerama ? null
, xvSupport ? stdenv.isLinux, libXv ? null
, zimgSupport ? true, zimg ? null
-, archiveSupport ? true, libarchive ? null
-, jackaudioSupport ? false, libjack2 ? null
-, openalSupport ? true, openalSoft ? null
-, vapoursynthSupport ? false, vapoursynth ? null
}:
with stdenv.lib;
@@ -76,6 +77,7 @@ assert pulseSupport -> available libpulseaudio;
assert rubberbandSupport -> available rubberband;
assert screenSaverSupport -> available libXScrnSaver;
assert sdl2Support -> available SDL2;
+assert sixelSupport -> available libsixel;
assert speexSupport -> available speex;
assert theoraSupport -> available libtheora;
assert vaapiSupport -> available libva;
@@ -134,6 +136,7 @@ in stdenv.mkDerivation rec {
(enableFeature dvdnavSupport "dvdnav")
(enableFeature openalSupport "openal")
(enableFeature sdl2Support "sdl2")
+ (enableFeature sixelSupport "sixel")
(enableFeature vaapiSupport "vaapi")
(enableFeature waylandSupport "wayland")
(enableFeature stdenv.isLinux "dvbin")
@@ -161,6 +164,7 @@ in stdenv.mkDerivation rec {
++ optional rubberbandSupport rubberband
++ optional screenSaverSupport libXScrnSaver
++ optional sdl2Support SDL2
+ ++ optional sixelSupport libsixel
++ optional speexSupport speex
++ optional theoraSupport libtheora
++ optional vaapiSupport libva