gplugin/gplugin

Cleanup some minor Meson issues

2021-10-03, Elliott Sales de Andrade
3880a5d25cf2
Parents 984050b920b3
Children 197847a9814e
Cleanup some minor Meson issues

We don't use gtk-doc any more, and the minimum is 0.56, so no need to keep
older checks.

Testing Done:
Compile.

Reviewed at https://reviews.imfreedom.org/r/987/
--- a/gplugin-gtk3/meson.build Sat Oct 02 19:30:55 2021 -0500
+++ b/gplugin-gtk3/meson.build Sun Oct 03 00:05:29 2021 -0500
@@ -132,9 +132,7 @@
dependencies : [GLIB, GOBJECT, GTK3],
)
-if meson.version().version_compare('>=0.54.0')
- meson.override_dependency('gplugin-gtk3', gplugin_gtk3_dep)
-endif
+meson.override_dependency('gplugin-gtk3', gplugin_gtk3_dep)
###############################################################################
# Install Stuff
--- a/gplugin-gtk3/reference/meson.build Sat Oct 02 19:30:55 2021 -0500
+++ b/gplugin-gtk3/reference/meson.build Sun Oct 03 00:05:29 2021 -0500
@@ -1,5 +1,5 @@
if get_option('doc')
- gplugin_gtk_toml = configure_file(
+ gplugin_gtk3_toml = configure_file(
input : 'gplugin-gtk3.toml.in',
output : 'gplugin-gtk3.toml',
configuration : version_conf,
@@ -8,7 +8,7 @@
)
gplugin_gtk3_doc = custom_target('gplugin-gtk3-doc',
- input : [ gplugin_gtk_toml, gplugin_gtk3_gir[0] ],
+ input : [ gplugin_gtk3_toml, gplugin_gtk3_gir[0] ],
output : 'gplugin-gtk3',
command : [
gidocgen,
--- a/gplugin/meson.build Sat Oct 02 19:30:55 2021 -0500
+++ b/gplugin/meson.build Sun Oct 03 00:05:29 2021 -0500
@@ -207,9 +207,7 @@
dependencies : [GLIB, GOBJECT]
)
-if meson.version().version_compare('>=0.54.0')
- meson.override_dependency('gplugin', gplugin_dep)
-endif
+meson.override_dependency('gplugin', gplugin_dep)
###############################################################################
# loader-tests static library
--- a/meson.build Sat Oct 02 19:30:55 2021 -0500
+++ b/meson.build Sun Oct 03 00:05:29 2021 -0500
@@ -82,7 +82,7 @@
toplevel_inc = include_directories('.')
###############################################################################
-# gtk-doc
+# Documentation
###############################################################################
if get_option('doc') and not get_option('introspection')
error('Documentation requires GObject Introspection.')