diff options
author | davidovski <david@davidovski.xyz> | 2022-06-04 15:08:04 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-04 15:08:04 +0100 |
commit | 873665024ebfaa761ee49b508a79db7178aeb778 (patch) | |
tree | 6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/libjxl | |
parent | 4445f6e15185f58dc599390ab74df3ca19b437b7 (diff) |
added gnupg
Diffstat (limited to 'repo/libjxl')
-rw-r--r-- | repo/libjxl/libjxl.xibuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/libjxl/libjxl.xibuild b/repo/libjxl/libjxl.xibuild new file mode 100644 index 0000000..027886e --- /dev/null +++ b/repo/libjxl/libjxl.xibuild @@ -0,0 +1,31 @@ +#!/bin/sh + +NAME="libjxl" +DESC="JPEG XL image format reference implementation" + +MAKEDEPS="asciidoc brotli cmake gdk-pixbuf giflib lcms2 libjpeg-turbo libpng openexr zlib gimp" + +SOURCE="github.com/libjxl/libjxl" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTING=ON \ + -DJPEGXL_ENABLE_BENCHMARK=OFF \ + -DJPEGXL_ENABLE_COVERAGE=OFF \ + -DJPEGXL_ENABLE_EXAMPLES=OFF \ + -DJPEGXL_ENABLE_FUZZERS=OFF \ + -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 + cmake --build build +} + +package() { + DESTDIR="$PKG_DEST" cmake --install build +} + |