2012-06-17 19:24:47 +02:00
|
|
|
# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
|
2020-06-21 20:21:42 +10:00
|
|
|
# URL: https://www.gtk.org/
|
2012-06-19 01:45:33 +02:00
|
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
2020-05-23 17:53:46 +10:00
|
|
|
# Depends on: libpcre meson ninja
|
2012-06-17 19:24:47 +02:00
|
|
|
|
|
|
|
name=glib
|
2020-11-26 17:48:34 +01:00
|
|
|
version=2.66.3
|
2020-05-23 17:53:46 +10:00
|
|
|
release=1
|
|
|
|
source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz \
|
2015-11-01 11:45:25 +01:00
|
|
|
gschemas.compiled)
|
2012-06-17 19:24:47 +02:00
|
|
|
|
|
|
|
build () {
|
2019-03-19 06:01:14 +01:00
|
|
|
cd $name-$version
|
2013-05-16 12:28:01 +02:00
|
|
|
|
2019-03-19 06:01:14 +01:00
|
|
|
meson build --prefix=/usr
|
2013-04-06 11:24:19 +02:00
|
|
|
|
2020-10-01 19:58:35 +02:00
|
|
|
DESTDIR=$PKG ninja -C build install
|
2013-04-06 11:24:19 +02:00
|
|
|
|
2019-03-19 06:01:14 +01:00
|
|
|
install -m 0644 $SRC/gschemas.compiled $PKG/usr/share/glib-2.0/schemas/gschemas.compiled
|
|
|
|
rm -rf $PKG/usr/share/{gtk-doc,locale} $PKG/usr/libexec
|
|
|
|
rm -r $PKG/usr/share/bash-completion
|
2012-06-17 19:24:47 +02:00
|
|
|
}
|