From 3b6832724f15423abfe9d064aaeee4e39f777787 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 6 Jun 2024 15:15:06 +0530 Subject: [PATCH] meson: Only enable the gtk4 plugin when deps are found Part-of: --- meson.build | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/meson.build b/meson.build index a9584374..78451549 100644 --- a/meson.build +++ b/meson.build @@ -320,16 +320,16 @@ if get_option('gtk4').allowed() elif gtk_dep.version().version_compare('>=4.10') gtk4_features += 'gtk_v4_10' endif - endif - plugins += { - 'gtk4': { - 'library': 'libgstgtk4', - 'examples': ['gtksink'], - 'extra-deps': {'gtk4': ['>=4.6']}, - 'features': gtk4_features, - }, - } + plugins += { + 'gtk4': { + 'library': 'libgstgtk4', + 'examples': ['gtksink'], + 'extra-deps': {'gtk4': ['>=4.6']}, + 'features': gtk4_features, + }, + } + endif endif # Process plugins list