diff options
author | davidovski <david@davidovski.xyz> | 2022-02-01 23:38:59 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-01 23:38:59 +0000 |
commit | e0ce896aff4cf592eae91b269a6a846af0545336 (patch) | |
tree | a22090aa6592c6133da54e55ad802916fd53ecd7 /repo/system/gobject-introspection.xibuild | |
parent | 9efd27b88edd1d4aec176558f59df2e00c40618d (diff) |
added gobject introspection to glib
Diffstat (limited to 'repo/system/gobject-introspection.xibuild')
-rw-r--r-- | repo/system/gobject-introspection.xibuild | 28 |
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 +} |