diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-05-22 07:31:40 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-05-22 07:31:40 +0800 |
| commit | 3cba6602d9eec42facf481889e3d5350fb5415e9 (patch) | |
| tree | 9dca29a5c0ebd95d67ebbc4d442be7c718c8871a /repos/extra/glib-gi/abuild | |
| parent | 1321e6ba5464ec87f275b317bb8baee7490906e4 (diff) | |
| download | alicelinux-3cba6602d9eec42facf481889e3d5350fb5415e9.tar.gz alicelinux-3cba6602d9eec42facf481889e3d5350fb5415e9.zip | |
glib-gi: new added
Diffstat (limited to 'repos/extra/glib-gi/abuild')
| -rwxr-xr-x | repos/extra/glib-gi/abuild | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/repos/extra/glib-gi/abuild b/repos/extra/glib-gi/abuild new file mode 100755 index 00000000..22ebe582 --- /dev/null +++ b/repos/extra/glib-gi/abuild @@ -0,0 +1,24 @@ +name=glib-gi +version=2.84.2 +release=1 +source="https://download.gnome.org/sources/glib/${version%.*}/glib-$version.tar.xz + 0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch" +build_opt=" + -Dselinux=disabled + -Dtests=false + -Dintrospection=enabled +" + +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 +} |