Ports: Update libsixel to 1.10.5

This commit is contained in:
Linus Groh authored and Nico Weber committed 2026-10-14 12:57:16 -04:00
1 parent 1df9b31cee
commit 883f2d2ca0
2 files changed
+20 -10

No files matched your search

+1 -1
View File
@@ -179,7 +179,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`libpng`](libpng/) | libpng | 1.6.59 | https://libpng.org/ |
| [`libpuffy`](libpuffy/) | libpuffy | 1.0 | https://github.com/ibara/libpuffy |
| [`libsamplerate`](libsamplerate/) | libsamplerate | 0.2.2 | https://libsndfile.github.io/libsamplerate/ |
| [`libsixel`](libsixel/) | libsixel | 1.8.7 | https://github.com/saitoha/libsixel |
| [`libsixel`](libsixel/) | libsixel | 1.10.5 | https://github.com/libsixel/libsixel |
| [`libslirp`](libslirp/) | libslirp | 4.9.5 | https://gitlab.freedesktop.org/slirp/libslirp |
| [`libsndfile`](libsndfile/) | libsndfile | 1.2.2 | https://libsndfile.github.io/libsndfile/ |
| [`libsodium`](libsodium/) | libsodium | 1.0.22 | https://doc.libsodium.org/ |
+19 -9
View File
@@ -1,18 +1,28 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='libsixel'
version='1.8.7'
files=(
"https://github.com/saitoha/libsixel/archive/refs/tags/v${version}.tar.gz#ebed621b4820f96ff428127797d94f4671f2393560acd4bcc8b540809d391510"
)
version='1.10.5'
useconfigure='true'
configopts=("--prefix=${SERENITY_INSTALL_ROOT}/usr/local")
configopts=(
"--cross-file=${SERENITY_BUILD_DIR}/meson-cross-file.txt"
"--buildtype=release"
"-Dgd=disabled"
"-Djpeg=disabled"
"-Dpng=disabled"
"-Dlibcurl=disabled"
)
files=(
"https://github.com/libsixel/libsixel/archive/refs/tags/v${version}.tar.gz#b6654928bd423f92e6da39eb1f40f10000ae2cc6247247fc1882dcff6acbdfc8"
)
configure() {
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
run ./configure --host="${SERENITY_ARCH}-serenity" "${configopts[@]}"
run meson setup build "${configopts[@]}"
}
build() {
run ninja -C build
}
install() {
run make install
export DESTDIR="${SERENITY_INSTALL_ROOT}"
run meson install -C build
}