summaryrefslogtreecommitdiff
path: root/repo/system/gobject-introspection.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-01 23:38:59 +0000
committerdavidovski <david@davidovski.xyz>2022-02-01 23:38:59 +0000
commite0ce896aff4cf592eae91b269a6a846af0545336 (patch)
treea22090aa6592c6133da54e55ad802916fd53ecd7 /repo/system/gobject-introspection.xibuild
parent9efd27b88edd1d4aec176558f59df2e00c40618d (diff)
added gobject introspection to glib
Diffstat (limited to 'repo/system/gobject-introspection.xibuild')
-rw-r--r--repo/system/gobject-introspection.xibuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/system/gobject-introspection.xibuild b/repo/system/gobject-introspection.xibuild
new file mode 100644
index 0000000..5556740
--- /dev/null
+++ b/repo/system/gobject-introspection.xibuild
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+MAKEDEPS=()
+DEPS=(python-mako python-markdown)
+
+PKG_VER=1.70.0
+SOURCE=https://download.gnome.org/sources/gobject-introspection/$(echo $PKG_VER | cut -d. -f-2)/gobject-introspection-$PKG_VER.tar.xz
+ADDITIONAL=(
+ https://www.linuxfromscratch.org/patches/blfs/svn/gobject-introspection-$PKG_VER-build_fix-1.patch
+ )
+
+DESC="Introspection system for GObject-based libraries"
+
+prepare() {
+ patch -Np1 -i gobject-introspection-$PKG_VER-build_fix-1.patch
+}
+
+build () {
+ mkdir build &&
+ cd build &&
+
+ meson --prefix=/usr --buildtype=release .. &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}