From e0ce896aff4cf592eae91b269a6a846af0545336 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Feb 2022 23:38:59 +0000 Subject: added gobject introspection to glib --- repo/system/gobject-introspection.xibuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 repo/system/gobject-introspection.xibuild (limited to 'repo/system/gobject-introspection.xibuild') 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 +} -- cgit v1.2.1