diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-01-06 15:54:19 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-01-08 10:04:43 -0800 |
| commit | e4ea17bf1d1443269b1fc37f87afd54b30abb8e3 (patch) | |
| tree | 6a3a8f2b831b6f78d79822af348cd2bd056740c8 /mesonbuild/templates | |
| parent | d1422509fc00450928e7a8c40b4fbacc05464f68 (diff) | |
| download | meson-e4ea17bf1d1443269b1fc37f87afd54b30abb8e3.tar.gz | |
templates: Use modern pkgconfig generator API
Diffstat (limited to 'mesonbuild/templates')
| -rw-r--r-- | mesonbuild/templates/cpptemplates.py | 5 | ||||
| -rw-r--r-- | mesonbuild/templates/ctemplates.py | 5 | ||||
| -rw-r--r-- | mesonbuild/templates/cudatemplates.py | 5 | ||||
| -rw-r--r-- | mesonbuild/templates/fortrantemplates.py | 5 | ||||
| -rw-r--r-- | mesonbuild/templates/objcpptemplates.py | 5 | ||||
| -rw-r--r-- | mesonbuild/templates/objctemplates.py | 5 |
6 files changed, 6 insertions, 24 deletions
diff --git a/mesonbuild/templates/cpptemplates.py b/mesonbuild/templates/cpptemplates.py index bb09bcb09..bf95f9a58 100644 --- a/mesonbuild/templates/cpptemplates.py +++ b/mesonbuild/templates/cpptemplates.py @@ -149,12 +149,9 @@ install_headers('{header_file}', subdir : '{header_dir}') pkg_mod = import('pkgconfig') pkg_mod.generate( - name : '{project_name}', - filebase : '{ltoken}', + shlib, description : 'Meson sample project.', subdirs : '{header_dir}', - libraries : shlib, - version : '{version}', ) ''' diff --git a/mesonbuild/templates/ctemplates.py b/mesonbuild/templates/ctemplates.py index 7cb2de551..b60e916b8 100644 --- a/mesonbuild/templates/ctemplates.py +++ b/mesonbuild/templates/ctemplates.py @@ -98,12 +98,9 @@ install_headers('{header_file}', subdir : '{header_dir}') pkg_mod = import('pkgconfig') pkg_mod.generate( - name : '{project_name}', - filebase : '{ltoken}', + shlib, description : 'Meson sample project.', subdirs : '{header_dir}', - libraries : shlib, - version : '{version}', ) ''' diff --git a/mesonbuild/templates/cudatemplates.py b/mesonbuild/templates/cudatemplates.py index 7db1e0bc6..4f0c606a4 100644 --- a/mesonbuild/templates/cudatemplates.py +++ b/mesonbuild/templates/cudatemplates.py @@ -149,12 +149,9 @@ install_headers('{header_file}', subdir : '{header_dir}') pkg_mod = import('pkgconfig') pkg_mod.generate( - name : '{project_name}', - filebase : '{ltoken}', + shlib, description : 'Meson sample project.', subdirs : '{header_dir}', - libraries : shlib, - version : '{version}', ) ''' diff --git a/mesonbuild/templates/fortrantemplates.py b/mesonbuild/templates/fortrantemplates.py index a6fd2ef31..f9aec7ef2 100644 --- a/mesonbuild/templates/fortrantemplates.py +++ b/mesonbuild/templates/fortrantemplates.py @@ -79,12 +79,9 @@ meson.override_dependency('{project_name}', {ltoken}_dep) pkg_mod = import('pkgconfig') pkg_mod.generate( - name : '{project_name}', - filebase : '{ltoken}', + shlib, description : 'Meson sample project.', subdirs : '{header_dir}', - libraries : shlib, - version : '{version}', ) ''' diff --git a/mesonbuild/templates/objcpptemplates.py b/mesonbuild/templates/objcpptemplates.py index be6c1fde0..7ea4c3f8e 100644 --- a/mesonbuild/templates/objcpptemplates.py +++ b/mesonbuild/templates/objcpptemplates.py @@ -98,12 +98,9 @@ install_headers('{header_file}', subdir : '{header_dir}') pkg_mod = import('pkgconfig') pkg_mod.generate( - name : '{project_name}', - filebase : '{ltoken}', + shlib, description : 'Meson sample project.', subdirs : '{header_dir}', - libraries : shlib, - version : '{version}', ) ''' diff --git a/mesonbuild/templates/objctemplates.py b/mesonbuild/templates/objctemplates.py index ff3aba10c..de0217f96 100644 --- a/mesonbuild/templates/objctemplates.py +++ b/mesonbuild/templates/objctemplates.py @@ -97,12 +97,9 @@ install_headers('{header_file}', subdir : '{header_dir}') pkg_mod = import('pkgconfig') pkg_mod.generate( - name : '{project_name}', - filebase : '{ltoken}', + shlib, description : 'Meson sample project.', subdirs : '{header_dir}', - libraries : shlib, - version : '{version}', ) ''' |
