--- a/gplugin-gtk/meson.build Tue Sep 08 04:50:20 2020 -0500
+++ b/gplugin-gtk/meson.build Mon Sep 14 20:36:36 2020 -0500
@@ -35,7 +35,6 @@
###############################################################################
GPLUGIN_GTK_H_INCLUDES = ''
foreach header : GPLUGIN_GTK_HEADERS
GPLUGIN_GTK_H_INCLUDES = '@0@\n#include <gplugin-gtk/@1@>'.format(
--- a/gplugin/meson.build Tue Sep 08 04:50:20 2020 -0500
+++ b/gplugin/meson.build Mon Sep 14 20:36:36 2020 -0500
@@ -85,7 +85,8 @@
##############################################################################
###############################################################################
-PRIVATE_HEADERS = GPLUGIN_PRIVATE_HEADERS + GPLUGIN_PRIVATE_BUILT_HEADERS + ['gplugin-private.h', 'gplugin-native-private.h']
+PRIVATE_HEADERS = GPLUGIN_PRIVATE_HEADERS + GPLUGIN_PRIVATE_BUILT_HEADERS + \ + ['gplugin-private.h', 'gplugin-native-private.h'] ###############################################################################
@@ -106,14 +107,7 @@
-foreach header : GPLUGIN_HEADERS
- GPLUGIN_H_INCLUDES = '@0@\n#include <gplugin/@1@>'.format(
-foreach header : ['gplugin-version.h', 'gplugin-enums.h'] # GPLUGIN_PUBLIC_BUILT_HEADERS
+foreach header : GPLUGIN_HEADERS + ['gplugin-version.h', 'gplugin-enums.h'] GPLUGIN_H_INCLUDES = '@0@\n#include <gplugin/@1@>'.format(
@@ -170,20 +164,20 @@
gplugin_dep = declare_dependency(
include_directories : [toplevel_inc, include_directories('.')],
- sources : GPLUGIN_PUBLIC_BUILT_HEADERS, # Ensure they're built before use.
+ sources : GPLUGIN_PUBLIC_BUILT_HEADERS, # Ensure they're built before use. dependencies : [GLIB, GOBJECT]
- description : 'A fully featured GModule based plugin library',
- subdirs : 'gplugin-1.0',
- requires : [GLIB, GOBJECT, GMODULE],
+ description : 'A fully featured GModule based plugin library', + subdirs : 'gplugin-1.0', + requires : [GLIB, GOBJECT, GMODULE], ###############################################################################
--- a/lua/meson.build Tue Sep 08 04:50:20 2020 -0500
+++ b/lua/meson.build Mon Sep 14 20:36:36 2020 -0500
@@ -54,6 +54,6 @@
install_dir : get_option('libdir') / 'gplugin'
--- a/meson.build Tue Sep 08 04:50:20 2020 -0500
+++ b/meson.build Mon Sep 14 20:36:36 2020 -0500
@@ -1,15 +1,16 @@
###############################################################################
###############################################################################
-project('gplugin', 'c', version : '0.30.1-dev',
- meson_version : '>=0.50.0',
- default_options : ['c_std=c99'])
+ version : '0.30.1-dev', + meson_version : '>=0.50.0', + default_options : ['c_std=c99']) parts = meson.project_version().split('-')
parts = parts[0].split('.')
@@ -22,9 +23,6 @@
version_conf.set('GPLUGIN_EXTRA_VERSION', extra)
version_conf.set('GPLUGIN_VERSION', meson.project_version())
-LOCALE_DIR = get_option('prefix') / get_option('localedir')
-add_project_arguments('-DLOCALEDIR="@0@"'.format(LOCALE_DIR), language : 'c')
###############################################################################
###############################################################################
@@ -45,7 +43,9 @@
###############################################################################
GETTEXT_PACKAGE = 'gplugin'
+LOCALE_DIR = get_option('prefix') / get_option('localedir') +add_project_arguments('-DLOCALEDIR="@0@"'.format(LOCALE_DIR), language : 'c') add_project_arguments('-DGETTEXT_PACKAGE="@0@"'.format(GETTEXT_PACKAGE),
@@ -101,3 +101,4 @@
install_data('ChangeLog', 'INSTALL.md', 'README.md', 'HACKING.md',
install_dir : get_option('datadir') / 'doc' / 'gplugin')
--- a/perl5/meson.build Tue Sep 08 04:50:20 2020 -0500
+++ b/perl5/meson.build Mon Sep 14 20:36:36 2020 -0500
@@ -35,6 +35,7 @@
perl_arch = 'vendorarchexp'
perl_arch = run_command(PERL,
'-e', 'if ($Config{@0@}) { print "$Config{@0@}" } else { exit 1 }'.format(perl_arch),
@@ -61,6 +62,6 @@
install_dir : get_option('libdir') / 'gplugin'
--- a/python3/meson.build Tue Sep 08 04:50:20 2020 -0500
+++ b/python3/meson.build Mon Sep 14 20:36:36 2020 -0500
@@ -55,6 +55,6 @@
include_directories : gplugin_python3_inc,
link_with : gplugin_python3_static,
--- a/tcc/meson.build Tue Sep 08 04:50:20 2020 -0500
+++ b/tcc/meson.build Mon Sep 14 20:36:36 2020 -0500
@@ -13,6 +13,7 @@
if not compiler.has_header('libtcc.h')
error('libtcc.h not found')
TCC = compiler.find_library('tcc')
gplugin_tcc = shared_library('gplugin-tcc',
@@ -23,6 +24,6 @@
install_dir : get_option('libdir') / 'gplugin'