From ccc722b7ed330198d82a3cf28ead76d6d107a70a Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 6 Jun 2022 21:25:48 +0000 Subject: added java --- repo/libjxl/libjxl.xibuild | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'repo/libjxl/libjxl.xibuild') diff --git a/repo/libjxl/libjxl.xibuild b/repo/libjxl/libjxl.xibuild index 027886e..a096e83 100644 --- a/repo/libjxl/libjxl.xibuild +++ b/repo/libjxl/libjxl.xibuild @@ -3,15 +3,19 @@ NAME="libjxl" DESC="JPEG XL image format reference implementation" -MAKEDEPS="asciidoc brotli cmake gdk-pixbuf giflib lcms2 libjpeg-turbo libpng openexr zlib gimp" +MAKEDEPS="asciidoc brotli cmake gdk-pixbuf giflib lcms2 libjpeg-turbo libpng openexr zlib gimp highway gflags" -SOURCE="github.com/libjxl/libjxl" +SOURCE="http://github.com/libjxl/libjxl" + +prepare () { + ./deps.sh +} build() { cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_TESTING=ON \ + -DBUILD_TESTING=OFF \ -DJPEGXL_ENABLE_BENCHMARK=OFF \ -DJPEGXL_ENABLE_COVERAGE=OFF \ -DJPEGXL_ENABLE_EXAMPLES=OFF \ @@ -19,9 +23,7 @@ build() { -DJPEGXL_ENABLE_SJPEG=OFF \ -DJPEGXL_ENABLE_SKCMS=OFF \ -DJPEGXL_ENABLE_VIEWERS=OFF \ - -DJPEGXL_FORCE_SYSTEM_GTEST=ON \ - -DJPEGXL_FORCE_SYSTEM_BROTLI=ON \ - -DJPEGXL_FORCE_SYSTEM_HWY=ON + -DJPEGXL_FORCE_SYSTEM_BROTLI=ON cmake --build build } -- cgit v1.2.1