lol

Merge pull request #156117 from AndersonTorres/new-vlc

authored by

Sandro and committed by
GitHub
c7df47d7 140f7552

+18 -14
+18 -12
pkgs/applications/video/vlc/default.nix
··· 62 62 , systemd 63 63 , taglib 64 64 , unzip 65 - , wayland 66 - , wayland-protocols 67 65 , xorg 68 66 , zlib 69 - 70 67 , chromecastSupport ? true, libmicrodns, protobuf 71 68 , jackSupport ? false 72 69 , onlyLibVLC ? false 73 70 , skins2Support ? !onlyLibVLC, freetype 74 - , withQt5 ? true, qtbase, qtsvg, qtx11extras, wrapQtAppsHook 71 + , waylandSupport ? true, wayland, wayland-protocols 72 + , withQt5 ? true, qtbase, qtsvg, qtwayland, qtx11extras, wrapQtAppsHook 75 73 }: 76 74 77 75 # chromecastSupport requires TCP port 8010 to be open for it to work. ··· 148 146 srt 149 147 systemd 150 148 taglib 151 - wayland 152 - wayland-protocols 153 149 zlib 154 150 ] 155 151 ++ (with xorg; [ ··· 162 158 ++ optional (!hostIsAarch) live555 163 159 ++ optional jackSupport libjack2 164 160 ++ optionals chromecastSupport [ libmicrodns protobuf ] 165 - ++ optionals skins2Support (with xorg; [ freetype libXext libXinerama libXpm ]) 166 - ++ optionals withQt5 [ qtbase qtsvg qtx11extras ]; 161 + ++ optionals skins2Support (with xorg; [ 162 + freetype 163 + libXext 164 + libXinerama 165 + libXpm 166 + ]) 167 + ++ optionals waylandSupport [ wayland wayland-protocols ] 168 + ++ optionals withQt5 [ qtbase qtsvg qtx11extras ] 169 + ++ optional (waylandSupport && withQt5) qtwayland; 167 170 168 171 nativeBuildInputs = [ 169 172 autoreconfHook ··· 172 175 removeReferencesTo 173 176 unzip 174 177 ] 175 - ++ optionals withQt5 [ wrapQtAppsHook ]; 178 + ++ optionals withQt5 [ wrapQtAppsHook ] 179 + ++ optionals waylandSupport [ wayland wayland-protocols ]; 176 180 177 181 enableParallelBuilding = true; 178 182 ··· 210 214 configureFlags = [ 211 215 "--enable-srt" # Explicit enable srt to ensure the patch is applied. 212 216 "--with-kde-solid=$out/share/apps/solid/actions" 213 - ] ++ optional onlyLibVLC "--disable-vlc" 214 - ++ optional skins2Support "--enable-skins2" 215 - ++ optionals chromecastSupport [ 217 + ] 218 + ++ optional onlyLibVLC "--disable-vlc" 219 + ++ optional skins2Support "--enable-skins2" 220 + ++ optional waylandSupport "--enable-wayland" 221 + ++ optionals chromecastSupport [ 216 222 "--enable-sout" 217 223 "--enable-chromecast" 218 224 "--enable-microdns"
-2
pkgs/top-level/all-packages.nix
··· 29422 29422 libcaca = null; 29423 29423 }; 29424 29424 29425 - vlc_qt5 = vlc; 29426 - 29427 29425 libvlc = vlc.override { 29428 29426 withQt5 = false; 29429 29427 qtbase = null;