mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-02 04:20:28 +00:00
Ports: Add highway
This library is used by multiple projects but was ported to get `libjxl` on SerenityOS.
This commit is contained in:
parent
09099cc9a3
commit
7a993cad7a
Notes:
sideshowbarker
2024-07-16 18:06:41 +09:00
Author: https://github.com/LucasChollet Commit: https://github.com/SerenityOS/serenity/commit/7a993cad7a Pull-request: https://github.com/SerenityOS/serenity/pull/20816 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/supercomputer7 Reviewed-by: https://github.com/timschumi ✅
2 changed files with 22 additions and 0 deletions
|
@ -117,6 +117,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
|||
| [`harfbuzz`](harfbuzz/) | HarfBuzz | 4.3.0 | https://github.com/harfbuzz/harfbuzz |
|
||||
| [`hatari`](hatari/) | Atari ST/STE/TT/Falcon emulator | 2.4.1 | https://hatari.tuxfamily.org/ |
|
||||
| [`hexedit`](hexedit/) | A console-based hex editor | 1.6 | https://github.com/pixel/hexedit |
|
||||
| [`highway`](highway/) | Highway | 1.0.7 | https://github.com/google/highway |
|
||||
| [`imagemagick`](imagemagick/) | ImageMagick | 7.1.1-5 | https://imagemagick.org |
|
||||
| [`imgcat`](imgcat/) | imgcat | 2.5.1 | https://github.com/eddieantonio/imgcat |
|
||||
| [`indent`](indent/) | GNU indent | 2.2.11 | https://www.gnu.org/software/indent/ |
|
||||
|
|
21
Ports/highway/package.sh
Executable file
21
Ports/highway/package.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='highway'
|
||||
version='1.0.7'
|
||||
files=(
|
||||
"https://github.com/google/highway/archive/refs/tags/${version}.tar.gz#5434488108186c170a5e2fca5e3c9b6ef59a1caa4d520b008a9b8be6b8abe6c5"
|
||||
)
|
||||
configopts=(
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DHWY_ENABLE_EXAMPLES=OFF"
|
||||
"-DHWY_ENABLE_TESTS=OFF"
|
||||
)
|
||||
useconfigure='true'
|
||||
|
||||
configure() {
|
||||
run cmake "${configopts[@]}"
|
||||
}
|
||||
|
||||
install() {
|
||||
run make "${installopts[@]}" install
|
||||
}
|
Loading…
Reference in a new issue