blob: 7dc30a64ea29393f67ff9fc0db3b9d7163a3a582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/bin/sh
NAME="glib"
DESC="Common C routines used by Gtk+ and other libs"
MAKEDEPS=" bzip2 docbook-xml docbook-xsl gettext libxml2 libxslt python pcre2 meson zlib libffi util-linux"
PKG_VER=2.75.1
SOURCE="https://download.gnome.org/sources/glib/${PKG_VER%.*}/glib-$PKG_VER.tar.xz"
ADDITIONAL="
0001-gquark-fix-initialization-with-c-constructors.patch
deprecated-no-warn.patch
glib.trigger
gparamspec.patch
"
prepare () {
apply_patches || true
}
build() {
meson --prefix=/usr \
--default-library=both \
-Dman=true \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
}
|