mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
Ports: Add libslirp version 4.7.0
The slirp submodule was removed from QEMU in version 7.2, running Serenity in QEMU on a Serenity host could fail without this one if running with network enabled. For more information on the removal of the slirp submodule see the following link: https://wiki.qemu.org/ChangeLog/7.2#Removal_of_the_%22slirp%22_submodule_(affects_%22-netdev_user%22)
This commit is contained in:
parent
f0dde6236d
commit
4e661a400b
2 changed files with 23 additions and 0 deletions
|
@ -138,6 +138,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
|||
| [`libpng`](libpng/) | libpng | 1.6.39 | https://libpng.org/ |
|
||||
| [`libpuffy`](libpuffy/) | libpuffy | 1.0 | https://github.com/ibara/libpuffy |
|
||||
| [`libsixel`](libsixel/) | libsixel | 1.8.6 | https://github.com/saitoha/libsixel |
|
||||
| [`libslirp`](libslirp/) | libslirp | 4.7.0 | https://gitlab.freedesktop.org/slirp/libslirp |
|
||||
| [`libsodium`](libsodium/) | libsodium | 1.0.18 | https://doc.libsodium.org/ |
|
||||
| [`libssh2`](libssh2/) | libssh2 | 1.10.0 | https://www.libssh2.org/ |
|
||||
| [`libtheora`](libtheora/) | libtheora | 1.1.1 | https://www.theora.org/ |
|
||||
|
|
22
Ports/libslirp/package.sh
Executable file
22
Ports/libslirp/package.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='libslirp'
|
||||
version='4.7.0'
|
||||
workdir="libslirp-v${version}"
|
||||
files="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${version}/libslirp-v${version}.tar.gz libslirp-v${version}.tar.xz 9398f0ec5a581d4e1cd6856b88ae83927e458d643788c3391a39e61b75db3d3b"
|
||||
auth_type='sha256'
|
||||
useconfigure='true'
|
||||
configopts=("--cross-file=${SERENITY_BUILD_DIR}/meson-cross-file.txt")
|
||||
depends=('glib')
|
||||
|
||||
configure() {
|
||||
run meson _build "${configopts[@]}"
|
||||
}
|
||||
|
||||
build() {
|
||||
run ninja -C _build
|
||||
}
|
||||
|
||||
install() {
|
||||
export DESTDIR="${SERENITY_INSTALL_ROOT}"
|
||||
run meson install -C _build
|
||||
}
|
Loading…
Reference in a new issue