mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
34 lines
629 B
Bash
Executable file
34 lines
629 B
Bash
Executable file
#!/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
|
|
}
|