mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 02:47:35 +00:00
Ports: Add libjxl :^)
This commit is contained in:
parent
48a1fe8308
commit
e62a4c169b
4 changed files with 80 additions and 0 deletions
34
Ports/libjxl/package.sh
Executable file
34
Ports/libjxl/package.sh
Executable file
|
@ -0,0 +1,34 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
|
||||
port='libjxl'
|
||||
version='2023.09.11'
|
||||
files=(
|
||||
"git+https://github.com/libjxl/libjxl#ff8a9c1cd54d324137c1905017542ffedeacdef8"
|
||||
)
|
||||
|
||||
depends=(
|
||||
'brotli'
|
||||
'highway'
|
||||
'lcms2'
|
||||
'libpng'
|
||||
)
|
||||
|
||||
workdir='libjxl'
|
||||
|
||||
configopts=(
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DBUILD_TESTING=OFF"
|
||||
"-DJPEGXL_ENABLE_BENCHMARK=OFF"
|
||||
"-DJPEGXL_ENABLE_SKCMS=OFF"
|
||||
"-DJPEGXL_ENABLE_SJPEG=OFF"
|
||||
)
|
||||
useconfigure='true'
|
||||
|
||||
configure() {
|
||||
run cmake "${configopts[@]}" .
|
||||
}
|
||||
|
||||
install() {
|
||||
run make "${installopts[@]}" install
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue