From e4bf46ec379086c9e141991602ce01b53c75799e Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 23 Jan 2023 13:36:22 +0000 Subject: [PATCH] python-gi 3.36.1-3 --- python-gi.cygport | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python-gi.cygport b/python-gi.cygport index 7f94d7e..af456f0 100644 --- a/python-gi.cygport +++ b/python-gi.cygport @@ -5,7 +5,7 @@ inherit python-wheel gnome.org meson NAME="python-gi" VERSION=3.36.1 -RELEASE=2 +RELEASE=3 CATEGORY="Python" SUMMARY="Python GObject Introspection bindings" DESCRIPTION="This archive contains bindings for the GLib, GObject and GIO, @@ -27,6 +27,7 @@ python39_gi_REQUIRES="girepository-GLib2.0 python39-cairo" python_gi_common_CATEGORY="_obsolete" python_gi_devel_CONTENTS=" usr/include/pygobject-3.0/ + usr/lib/pkgconfig/pygobject-3.0.pc usr/share/doc/python-gi-devel/ " PKG_IGNORE="usr/share/doc/python-gi-common/" @@ -34,6 +35,8 @@ DIFF_EXCLUDES="meson.build config.h" src_compile() { cd ${S} + cygmeson + # bypassing the lack of proper python lib link sed -i -e "s/python.dependency()/dependency('python-3.6', method : 'pkg-config')/" meson.build cd ${B} @@ -56,4 +59,9 @@ src_compile() { src_install() { cd ${B} python_wheel_install + + includeinto pygobject-3.0 + doinclude ${S}/gi/pygobject.h + + dopkgconfig ${S}/*-pc-cygwin/pygobject-3.0.pc } -- 2.39.0