aboutsummaryrefslogtreecommitdiff
path: root/repos/archive/glib-gi/abuild
blob: 2cc76b5e3eef26cb82742fe5b66c4f4d1ebbd58f (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
name=glib-gi
version=2.88.1
release=1
source="https://download.gnome.org/sources/glib/${version%.*}/glib-$version.tar.xz
	muon-introspection-env.patch
	0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch"
build_opt="
	-Dselinux=disabled
	-Dtests=false
	-Dintrospection=enabled
	-Dnls=disabled
"

postbuild() {
	mkdir -p $SRC/tmp
	mv $PKG/usr/lib/girepository-1.0 $SRC/tmp
	mv $PKG/usr/share/gir-1.0 $SRC/tmp
	rm -rf $PKG/*

	mkdir -p \
		$PKG/usr/lib \
		$PKG/usr/share

	mv $SRC/tmp/girepository-1.0 $PKG/usr/lib
	mv $SRC/tmp/gir-1.0 $PKG/usr/share
}