libjxl: initial commit, version 0.8.2

This commit is contained in:
John McQuah 2023-10-16 12:49:19 +00:00
parent 8b367cadf3
commit 827299a7cb
4 changed files with 90 additions and 3 deletions

14
REPO
View File

@ -1,10 +1,12 @@
d:python3-xlrd
d:catgirl
d:highway
d:libretls
d:python3-agate-dbf
d:bogofilter
d:arpack
d:python3-pytimeparse
d:libjxl
d:python3-slugify
d:xournalpp
d:texlive-base
@ -70,6 +72,9 @@ f:052df1e3967afbb4ca4ce719c5befe37:python3-xlrd/.footprint
f:140b55dc887f1299342a06017f63a2d0:catgirl/.signature
f:b0fb98aca7ca344e0e41a9c816d0d559:catgirl/Pkgfile
f:ec564d739d79a41ad25008895f3e3716:catgirl/.footprint
f:f4891fbe86971492a1b8448ba68edf5f:highway/.signature
f:5228968044e235a3fa0fe674e6f7793d:highway/Pkgfile
f:88aa7dfd7d797404fb60d0e0f81978b7:highway/.footprint
f:028bd8ec401508103ceb5afe90f45af2:libretls/.signature
f:ecdce2f4ed8334deec3975c9bf3f493c:libretls/Pkgfile
f:95baaf00be09cf38f6ff62f52a32742a:libretls/.footprint
@ -85,6 +90,9 @@ f:8d0413724cd93f06c5014c5efdf75700:arpack/.footprint
f:86cb9b64f123f8fa8fce2f6aebff75b6:python3-pytimeparse/.signature
f:54fe456e4066480a395211a1d4838179:python3-pytimeparse/Pkgfile
f:25ab755226086d18a17cb559b05cf95b:python3-pytimeparse/.footprint
f:db676dd0e7b0ae3056858f94e0a128b1:libjxl/.signature
f:ea62578b926090dc220d77caf1e2a035:libjxl/Pkgfile
f:1ff4aa0bb14d7fb4e64fb1ddf757b979:libjxl/.footprint
f:2ee96ffa1eb73caa8437f5bcbb22b810:python3-slugify/.signature
f:86357648c850d82b1edd510314bc7152:python3-slugify/Pkgfile
f:6bc6bfa36d846e62c63348b2f8d54569:python3-slugify/.footprint
@ -112,9 +120,9 @@ f:cdefc83fffba86a176801cdf2b4d0683:librsync/.footprint
f:53a53c048bbe1ce9c5acb8ea68168e60:sbcl/.signature
f:648b99b628a7fb0cbc881fa856f04261:sbcl/Pkgfile
f:797873cb7df9b05455a2a3c31672f89c:sbcl/.footprint
f:10615370f25beb791300ae25530a8911:labwc/.signature
f:8328e8e7dfc13c317ca118d04e6380e8:labwc/Pkgfile
f:4f062b8dc8305abd43ae74e06e64a934:labwc/.footprint
f:005126fc05bb64064975cefd0e7f1617:labwc/.signature
f:d991d3a6e661958a6e85c86a1ac34621:labwc/Pkgfile
f:3254c0f494fed1fc8c667c56e61925dc:labwc/.footprint
f:805e98e8ca6ebfd1cce3459a90b4cd0f:maelstrom/struct-button.patch
f:a6273b7c03174cfb26972d9862278bcc:maelstrom/.signature
f:aa0a6869d42fc9a2d392330a589d0d14:maelstrom/maelstrom.desktop

42
libjxl/.footprint Normal file
View File

@ -0,0 +1,42 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/jxl/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/pkgconfig/
drwxr-xr-x root/root usr/share/
lrwxrwxrwx root/root usr/lib/libjxl.so.0.8 -> libjxl.so.0.8.2
lrwxrwxrwx root/root usr/lib/libjxl.so -> libjxl.so.0.8
lrwxrwxrwx root/root usr/lib/libjxl_threads.so.0.8 -> libjxl_threads.so.0.8.2
lrwxrwxrwx root/root usr/lib/libjxl_threads.so -> libjxl_threads.so.0.8
-rw-r--r-- root/root usr/include/jxl/butteraugli_cxx.h
-rw-r--r-- root/root usr/include/jxl/butteraugli.h
-rw-r--r-- root/root usr/include/jxl/cms_interface.h
-rw-r--r-- root/root usr/include/jxl/codestream_header.h
-rw-r--r-- root/root usr/include/jxl/color_encoding.h
-rw-r--r-- root/root usr/include/jxl/decode_cxx.h
-rw-r--r-- root/root usr/include/jxl/decode.h
-rw-r--r-- root/root usr/include/jxl/encode_cxx.h
-rw-r--r-- root/root usr/include/jxl/encode.h
-rw-r--r-- root/root usr/include/jxl/jxl_export.h
-rw-r--r-- root/root usr/include/jxl/jxl_threads_export.h
-rw-r--r-- root/root usr/include/jxl/memory_manager.h
-rw-r--r-- root/root usr/include/jxl/parallel_runner.h
-rw-r--r-- root/root usr/include/jxl/resizable_parallel_runner_cxx.h
-rw-r--r-- root/root usr/include/jxl/resizable_parallel_runner.h
-rw-r--r-- root/root usr/include/jxl/thread_parallel_runner_cxx.h
-rw-r--r-- root/root usr/include/jxl/thread_parallel_runner.h
-rw-r--r-- root/root usr/include/jxl/types.h
-rw-r--r-- root/root usr/include/jxl/version.h
-rw-r--r-- root/root usr/lib/libjxl.a
-rw-r--r-- root/root usr/lib/libjxl_dec.a
-rw-r--r-- root/root usr/lib/libjxl_threads.a
-rw-r--r-- root/root usr/lib/pkgconfig/libjxl.pc
-rw-r--r-- root/root usr/lib/pkgconfig/libjxl_threads.pc
-rwxr-xr-x root/root usr/bin/benchmark_xl
-rwxr-xr-x root/root usr/bin/cjpeg_hdr
-rwxr-xr-x root/root usr/bin/cjxl
-rwxr-xr-x root/root usr/bin/djxl
-rwxr-xr-x root/root usr/bin/jxlinfo
-rwxr-xr-x root/root usr/lib/libjxl.so.0.8.2
-rwxr-xr-x root/root usr/lib/libjxl_threads.so.0.8.2

5
libjxl/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxC8ynLZGb/l2PCNfSnJVPemfu4EMaBpqFZatIPHHwlUEkWU7BxZPNQ5FmR+4jJzoCCF/AFnmj30HpFocto2POwM=
SHA256 (Pkgfile) = d9a81f61fe8250c491c888412362bbccd733b2cb38176e7fcadf1f95bb2e0dc5
SHA256 (.footprint) = 13304d4287c78b1b9c0d84f343759f234df48d875b3820c841e6b4362aa113eb
SHA256 (libjxl-0.8.2.tar.gz) = c70916fb3ed43784eb840f82f05d390053a558e2da106e40863919238fa7b420

32
libjxl/Pkgfile Normal file
View File

@ -0,0 +1,32 @@
# Description: codec for the JPEG XL image format
# URL: https://jpeg.org/jpegxl/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: brotli highway libjpeg-turbo
# Optional: libavif libpng libwebp asciidoc
name=libjxl
version=0.8.2
release=1
source=(https://github.com/$name/$name/archive/v$version/$name-$version.tar.gz)
build() {
PKGMK_JXL=(-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF
-DBUILD_SHARED_LIBS=true
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_LIBDIR=lib
-DJPEGXL_VERSION=$version
-DJPEGXL_ENABLE_EXAMPLES=false
-DJPEGXL_ENABLE_SKCMS=false
-DJPEGXL_ENABLE_SJPEG=false
-DJPEGXL_ENABLE_TCMALLOC=false
-DJPEGXL_FORCE_SYSTEM_BROTLI=true
-DJPEGXL_FORCE_SYSTEM_LCMS2=true
-DJPEGXL_FORCE_SYSTEM_HWY=true)
prt-get isinst asciidoc && PKGMK_JXL+=(-DJPEGXL_ENABLE_MANPAGES=ON) || PKGMK_JXL+=(-DJPEGXL_ENABLE_MANPAGES=OFF)
cmake -B build -S $name-$version -G Ninja ${PKGMK_JXL[@]}
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
}