diff options
author | Lucas Eduardo <lucas59356@gmail.com> | 2021-01-17 09:56:15 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 13:56:15 +0100 |
commit | d3c32e66327bf5f41c3f23649110caec70880898 (patch) | |
tree | 6e5986b50216e886b301f91b1b0cd8e596140691 /pkgs/applications/video/vlc | |
parent | ec64627b97a65213d11b05801e4cb08cdf4d158e (diff) |
vlc: add skin support (#109235)
Diffstat (limited to 'pkgs/applications/video/vlc')
-rw-r--r-- | pkgs/applications/video/vlc/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/video/vlc/default.nix b/pkgs/applications/video/vlc/default.nix index f6ad2152e6ef7..cab42ae3f6f72 100644 --- a/pkgs/applications/video/vlc/default.nix +++ b/pkgs/applications/video/vlc/default.nix @@ -9,8 +9,9 @@ , libass, libva, libdvbpsi, libdc1394, libraw1394, libopus , libvdpau, libsamplerate, live555, fluidsynth, wayland, wayland-protocols , onlyLibVLC ? false -, withQt5 ? true, qtbase ? null, qtsvg ? null, qtx11extras ? null, wrapQtAppsHook ? null +, withQt5 ? true, qtbase, qtsvg, qtx11extras, wrapQtAppsHook , jackSupport ? false +, skins2Support ? !onlyLibVLC, freetype , removeReferencesTo , chromecastSupport ? true, protobuf, libmicrodns }: @@ -21,8 +22,6 @@ with lib; -assert (withQt5 -> qtbase != null && qtsvg != null && qtx11extras != null && wrapQtAppsHook != null); - stdenv.mkDerivation rec { pname = "${optionalString onlyLibVLC "lib"}vlc"; version = "3.0.11.1"; @@ -52,6 +51,7 @@ stdenv.mkDerivation rec { fluidsynth wayland wayland-protocols ] ++ optional (!stdenv.hostPlatform.isAarch64) live555 ++ optionals withQt5 [ qtbase qtsvg qtx11extras ] + ++ optionals skins2Support (with xorg; [ libXpm freetype libXext libXinerama ]) ++ optional jackSupport libjack2 ++ optionals chromecastSupport [ protobuf libmicrodns ]; @@ -89,6 +89,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-kde-solid=$out/share/apps/solid/actions" ] ++ optional onlyLibVLC "--disable-vlc" + ++ optional skins2Support "--enable-skins2" ++ optionals chromecastSupport [ "--enable-sout" "--enable-chromecast" |