Commit d7c4a9bf authored by Thiago Kenji Okada's avatar Thiago Kenji Okada
Browse files

openjfx17: add with{Media,Webkit} options

parent a7647905
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
{ stdenv, lib, fetchFromGitHub, writeText, openjdk17_headless, gradle_7
, pkg-config, perl, cmake, gperf, gtk2, gtk3, libXtst, libXxf86vm, glib, alsa-lib
, ffmpeg_4-headless, python3, ruby, icu68 }:
, ffmpeg_4-headless, python3, ruby, icu68
, withMedia ? true
, withWebKit ? false
}:

let
  major = "17";
@@ -66,8 +69,8 @@ in makePackage {
  pname = "openjfx-modular-sdk";

  gradleProperties = ''
    COMPILE_MEDIA = true
    COMPILE_WEBKIT = false
    COMPILE_MEDIA = ${lib.boolToString withMedia}
    COMPILE_WEBKIT = ${lib.boolToString withWebKit}
  '';

  preBuild = ''