<commit_before># Requires xz to extract source
BuildRequires += $(LibDir)/libintl.la # static-gettext
BuildRequires += $(BinDir)/pkg-config # pkgconfig

include ../../Library/GNU.mk

Title=		GLib
Name=		glib
Version=	2.40.2
Revision=	0
Site=		http://www.gtk.org/
Source=		http://ftp.gnome.org/pub/gnome/sources/glib/2.40/$(Name)-$(Version).tar.xz
License=	GPL

EnvExtra += LIBFFI_CFLAGS="-I/usr/include/ffi"
EnvExtra += LIBFFI_LIBS="-L/usr/local/lib -lffi"<commit_msg>glib: Update to version 2.42.2.<commit_after># Requires xz to extract source
BuildRequires += $(LibDir)/libintl.la # static-gettext
BuildRequires += $(BinDir)/pkg-config # pkgconfig

include ../../Library/GNU.mk

Title=		GLib
Name=		glib
Version=	2.42.2
Revision=	0
Site=		http://www.gtk.org/
Source=		http://ftp.gnome.org/pub/gnome/sources/glib/2.42/$(Name)-$(Version).tar.xz
License=	GPL

EnvExtra += LIBFFI_CFLAGS="-I/usr/include/ffi"
EnvExtra += LIBFFI_LIBS="-L/usr/local/lib -lffi"

define test_inner_hook
$(BinDir)/gapplication version | grep $(Version)
endef
{'fraction_non_alphanumeric': 0.17424975798644723, 'fraction_numerical': 0.01936108422071636, 'mean_word_length': 4.329896907216495, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3580770', 'n_tokens_mistral': 434, 'n_tokens_neox': 404, 'n_words': 76}