Merge pull request #195886 from wegank/openjpeg-wxgtk

openjpeg: drop broken supports

authored by Robert Scott and committed by GitHub fbcad40e d7c3a973

+3 -8
+3 -8
pkgs/development/libraries/openjpeg/default.nix
··· 2 , libdeflate, libpng, libtiff, zlib, lcms2, jpylyzer 3 , jpipLibSupport ? false # JPIP library & executables 4 , jpipServerSupport ? false, curl, fcgi # JPIP Server 5 - , opjViewerSupport ? false, wxGTK # OPJViewer executable 6 - , openjpegJarSupport ? false # Openjpeg jar (Java) 7 , jdk 8 , poppler 9 }: ··· 45 "-DBUILD_THIRDPARTY=OFF" 46 (mkFlag jpipLibSupport "BUILD_JPIP") 47 (mkFlag jpipServerSupport "BUILD_JPIP_SERVER") 48 - (mkFlag opjViewerSupport "BUILD_VIEWER") 49 - (mkFlag openjpegJarSupport "BUILD_JAVA") 50 (mkFlag doCheck "BUILD_TESTING") 51 ]; 52 ··· 54 55 buildInputs = [ libdeflate libpng libtiff zlib lcms2 ] 56 ++ lib.optionals jpipServerSupport [ curl fcgi ] 57 - ++ lib.optional opjViewerSupport wxGTK 58 - ++ lib.optional (openjpegJarSupport || jpipLibSupport) jdk; 59 60 doCheck = (!stdenv.isAarch64 && !stdenv.hostPlatform.isPower64); # tests fail on aarch64-linux and powerpc64 61 ··· 78 license = licenses.bsd2; 79 maintainers = with maintainers; [ codyopel ]; 80 platforms = platforms.all; 81 - # opj viewer fails to compile with lots of errors, jar requires openjpeg library already compiled and installed 82 - broken = (opjViewerSupport || openjpegJarSupport); 83 }; 84 }
··· 2 , libdeflate, libpng, libtiff, zlib, lcms2, jpylyzer 3 , jpipLibSupport ? false # JPIP library & executables 4 , jpipServerSupport ? false, curl, fcgi # JPIP Server 5 , jdk 6 , poppler 7 }: ··· 43 "-DBUILD_THIRDPARTY=OFF" 44 (mkFlag jpipLibSupport "BUILD_JPIP") 45 (mkFlag jpipServerSupport "BUILD_JPIP_SERVER") 46 + "-DBUILD_VIEWER=OFF" 47 + "-DBUILD_JAVA=OFF" 48 (mkFlag doCheck "BUILD_TESTING") 49 ]; 50 ··· 52 53 buildInputs = [ libdeflate libpng libtiff zlib lcms2 ] 54 ++ lib.optionals jpipServerSupport [ curl fcgi ] 55 + ++ lib.optional (jpipLibSupport) jdk; 56 57 doCheck = (!stdenv.isAarch64 && !stdenv.hostPlatform.isPower64); # tests fail on aarch64-linux and powerpc64 58 ··· 75 license = licenses.bsd2; 76 maintainers = with maintainers; [ codyopel ]; 77 platforms = platforms.all; 78 }; 79 }