23 lines
709 B
Plaintext
23 lines
709 B
Plaintext
# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
|
|
# URL: https://www.gtk.org/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: libpcre util-linux meson ninja
|
|
|
|
name=glib
|
|
version=2.66.4
|
|
release=1
|
|
source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz \
|
|
gschemas.compiled)
|
|
|
|
build () {
|
|
meson setup build $name-$version \
|
|
--prefix=/usr \
|
|
-D nls=disabled \
|
|
-D gtk_doc=false
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
install -m 0644 $SRC/gschemas.compiled $PKG/usr/share/glib-2.0/schemas/gschemas.compiled
|
|
rm -r $PKG/usr/share/bash-completion
|
|
}
|