summaryrefslogtreecommitdiff
path: root/repo/libjxl/libjxl.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
committerdavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
commitccc722b7ed330198d82a3cf28ead76d6d107a70a (patch)
tree7611b3cc4f3ca681524fa28b174a0253eb802e0e /repo/libjxl/libjxl.xibuild
parent9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff)
added java
Diffstat (limited to 'repo/libjxl/libjxl.xibuild')
-rw-r--r--repo/libjxl/libjxl.xibuild16
1 files changed, 9 insertions, 7 deletions
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
}