smlinux/gtk/gobject-introspection/gobject-introspection.SMBuild

33 lines
837 B
Text
Executable file

app=gobject-introspection
version=1.64.1
build=1sml
homepage="https://wiki.gnome.org/Projects/GObjectIntrospection"
download="https://gitlab.gnome.org/GNOME/gobject-introspection/-/archive/1.64.1/gobject-introspection-1.64.1.tar.bz2"
desc="Introspection system for GObject-based libraries"
requires="glib util-linux "
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
mkdir smbuild && cd smbuild
meson .. \
--prefix="/" \
--localstatedir=/var \
--buildtype=release
ninja
DESTDIR="$pkg" ninja install
cp ../COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
aa5d4544a6a5587a099b1b962ecf425924dad59c9cf406137dc65bc957e4a66fcd1bf9c9673757f8edf068820d600a81dfbca8430ab166f791b7e614c384c947 gobject-introspection-1.64.1.tar.lz
"