git: ee1f0e8dadb1 - main - devel/blueprint-compiler: Update to 0.22.2

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Fri, 14 Aug 2026 17:02:31 UTC
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ee1f0e8dadb1cbf5323837ed075722638a891cd5

commit ee1f0e8dadb1cbf5323837ed075722638a891cd5
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-08-14 17:01:58 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-08-14 17:02:26 +0000

    devel/blueprint-compiler: Update to 0.22.2
    
    Reported by:    portscout!
---
 devel/blueprint-compiler/Makefile                |  2 +-
 devel/blueprint-compiler/distinfo                |  6 ++---
 devel/blueprint-compiler/files/patch-meson.build | 29 ++++++++++++++++--------
 devel/blueprint-compiler/pkg-plist               |  3 +++
 4 files changed, 27 insertions(+), 13 deletions(-)

diff --git a/devel/blueprint-compiler/Makefile b/devel/blueprint-compiler/Makefile
index f77f00d22313..ebe1e1afb02e 100644
--- a/devel/blueprint-compiler/Makefile
+++ b/devel/blueprint-compiler/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	blueprint-compiler
-DISTVERSION=	0.20.4
+DISTVERSION=	0.22.2
 CATEGORIES=	devel
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
diff --git a/devel/blueprint-compiler/distinfo b/devel/blueprint-compiler/distinfo
index 07734988761b..ceb2dbb6e2ba 100644
--- a/devel/blueprint-compiler/distinfo
+++ b/devel/blueprint-compiler/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1774186213
-SHA256 (gnome/blueprint-compiler-0.20.4.tar.xz) = 1f1ecc84bcd698902d422f7de83d39229a209dd3016f6d2c3b0ed0ab123f6891
-SIZE (gnome/blueprint-compiler-0.20.4.tar.xz) = 126108
+TIMESTAMP = 1786725826
+SHA256 (gnome/blueprint-compiler-0.22.2.tar.xz) = 231d72efbac931c235ac3e022fe94982095c20d88721d9a8dcf60152f2017e07
+SIZE (gnome/blueprint-compiler-0.22.2.tar.xz) = 126816
diff --git a/devel/blueprint-compiler/files/patch-meson.build b/devel/blueprint-compiler/files/patch-meson.build
index 30203264db8b..7c93de772249 100644
--- a/devel/blueprint-compiler/files/patch-meson.build
+++ b/devel/blueprint-compiler/files/patch-meson.build
@@ -1,11 +1,22 @@
---- meson.build.orig	2026-02-26 23:51:22 UTC
+--- meson.build.orig	2026-07-10 22:13:10 UTC
 +++ meson.build
-@@ -14,7 +14,7 @@ configure_file(
-   output: 'blueprint-compiler.pc',
-   configuration: { 'VERSION': meson.project_version() },
-   install: not meson.is_subproject(),
--  install_dir: join_paths(datadir, 'pkgconfig'),
-+  install_dir: join_paths(get_option('prefix'), 'libdata', 'pkgconfig'),
- )
+@@ -53,17 +53,13 @@ else
  
- config = configuration_data({
+   meson.override_find_program('blueprint-compiler', blueprint_compiler)
+ else
+-  if get_option('python_wheel')
+-    pkgconfig_path = 'share' / 'pkgconfig'
+-  else
+-    pkgconfig_path = 'pkgconfig'
+-  endif
++  pkgconfig_path = 'libdata/pkgconfig'
+ 
+   blueprint_compiler_pc = configure_file(
+     input: 'data/blueprint-compiler.pc.in',
+     output: 'blueprint-compiler.pc',
+     configuration: { 'VERSION': meson.project_version() },
+-    install_dir: get_option('datadir') / pkgconfig_path,
++    install_dir: get_option('prefix') / pkgconfig_path,
+   )
+ 
+   install_subdir(
diff --git a/devel/blueprint-compiler/pkg-plist b/devel/blueprint-compiler/pkg-plist
index ab6d8f916586..c807dbdec3e6 100644
--- a/devel/blueprint-compiler/pkg-plist
+++ b/devel/blueprint-compiler/pkg-plist
@@ -10,6 +10,8 @@ bin/blueprint-compiler
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/completions%%PYTHON_TAG%%.pyc
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/completions_utils%%PYTHON_TAG%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/completions_utils%%PYTHON_TAG%%.pyc
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/config%%PYTHON_TAG%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/config%%PYTHON_TAG%%.pyc
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/decompiler%%PYTHON_TAG%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/decompiler%%PYTHON_TAG%%.pyc
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/errors%%PYTHON_TAG%%.opt-1.pyc
@@ -44,6 +46,7 @@ bin/blueprint-compiler
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/ast_utils.py
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/completions.py
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/completions_utils.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/config.py
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/data/__pycache__/collect_stats%%PYTHON_TAG%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/data/__pycache__/collect_stats%%PYTHON_TAG%%.pyc
 %%PYTHON_SITELIBDIR%%/blueprintcompiler/data/collect_stats.py