mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
d1588dc806
This previously only worked because glib will automatically try and compile pcre, but due to ftp.pcre.org being down this no longer works. Instead, just rely on the pcre port that we already have anyways.
21 lines
581 B
Bash
Executable file
21 lines
581 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=glib
|
|
version=2.70.0
|
|
depends=("libiconv" "libffi" "zlib" "gettext" "pcre")
|
|
useconfigure=true
|
|
configopts=("--cross-file" "../cross_file-$SERENITY_ARCH.txt")
|
|
files="https://gitlab.gnome.org/GNOME/glib/-/archive/${version}/glib-${version}.tar.gz glib-${version}.tar.gz aadf815ed908d4cc14ac3976f325b986b4ab2b65ad85bc214ddf2e200648bd1c"
|
|
auth_type=sha256
|
|
|
|
configure() {
|
|
run meson _build "${configopts[@]}"
|
|
}
|
|
|
|
build() {
|
|
run ninja -C _build
|
|
}
|
|
|
|
install() {
|
|
export DESTDIR=$SERENITY_BUILD_DIR/Root
|
|
run meson install -C _build
|
|
}
|