2021-08-11 13:37:44 -04:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=glib
|
2021-09-19 05:43:29 -04:00
|
|
|
version=2.70.0
|
2021-11-05 23:57:41 -04:00
|
|
|
depends=("libiconv" "libffi" "zlib" "gettext" "pcre")
|
2021-08-11 13:37:44 -04:00
|
|
|
useconfigure=true
|
2021-09-26 18:16:18 -04:00
|
|
|
configopts=("--cross-file" "../cross_file-$SERENITY_ARCH.txt")
|
2021-09-19 05:43:29 -04:00
|
|
|
files="https://gitlab.gnome.org/GNOME/glib/-/archive/${version}/glib-${version}.tar.gz glib-${version}.tar.gz aadf815ed908d4cc14ac3976f325b986b4ab2b65ad85bc214ddf2e200648bd1c"
|
2021-08-11 13:37:44 -04:00
|
|
|
auth_type=sha256
|
|
|
|
|
|
|
|
configure() {
|
2021-09-26 18:16:18 -04:00
|
|
|
run meson _build "${configopts[@]}"
|
2021-08-11 13:37:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
run ninja -C _build
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2021-09-19 05:39:56 -04:00
|
|
|
export DESTDIR=$SERENITY_BUILD_DIR/Root
|
|
|
|
run meson install -C _build
|
2021-08-11 13:37:44 -04:00
|
|
|
}
|