diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 5936fcc275a..f2ffb29ab13 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -23,7 +23,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`bochs`](bochs/) | Bochs x86 PC emulator | 2.7 | https://sourceforge.net/projects/bochs/ | | [`boost`](boost/) | Boost C++ libraries | 1.80.0 | https://www.boost.org/ | | [`brogue`](brogue/) | BrogueCE | 1.12 | https://github.com/tmewett/BrogueCE | -| [`brotli`](brotli/) | Brotli | 1.0.9 | https://github.com/google/brotli | +| [`brotli`](brotli/) | Brotli | 1.1.0 | https://github.com/google/brotli | | [`byacc`](byacc/) | Berkeley Yacc | 20220128 | https://invisible-island.net/byacc/byacc.html | | [`bzip2`](bzip2/) | bzip2 | 1.0.8 | https://sourceware.org/bzip2/ | | [`bzip3`](bzip3/) | bzip3 | 1.2.2 | https://github.com/kspalaiologos/bzip3 | diff --git a/Ports/brotli/package.sh b/Ports/brotli/package.sh index f94d79329b8..de7873c0151 100755 --- a/Ports/brotli/package.sh +++ b/Ports/brotli/package.sh @@ -1,12 +1,20 @@ #!/usr/bin/env -S bash ../.port_include.sh port='brotli' -version='1.0.9' +version='1.1.0' files=( - "https://github.com/google/brotli/archive/refs/tags/v${version}.tar.gz#f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46" + "https://github.com/google/brotli/archive/refs/tags/v${version}.tar.gz#e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff" +) +configopts=( + "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" + "-DCMAKE_BUILD_TYPE=Release" ) useconfigure='true' configure() { - run ./configure-cmake + run cmake "${configopts[@]}" . +} + +install() { + run make "${installopts[@]}" install }