From 7890c0f7e86fa958bd93b9effa69730b2a3e535b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 26 Jun 2017 09:44:46 +0100 Subject: [PATCH] meson: fix with-package-name option https://bugzilla.gnome.org/show_bug.cgi?id=784082 --- meson.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index d55f8418f4..ff4791d935 100644 --- a/meson.build +++ b/meson.build @@ -110,13 +110,14 @@ core_conf.set('GST_LICENSE', '"LGPL"') gst_package_name = get_option('with-package-name') if gst_package_name == '' if gst_version_nano == 0 - core_conf.set_quoted('GST_PACKAGE_NAME', 'GStreamer Base Plug-ins source release') + gst_package_name = 'GStreamer Base Plug-ins source release' elif gst_version_nano == 1 - core_conf.set_quoted('GST_PACKAGE_NAME', 'GStreamer Base Plug-ins git') + gst_package_name = 'GStreamer Base Plug-ins git' else - core_conf.set_quoted('GST_PACKAGE_NAME', 'GStreamer Base Plug-ins prerelease') + gst_package_name = 'GStreamer Base Plug-ins prerelease' endif endif +core_conf.set_quoted('GST_PACKAGE_NAME', gst_package_name) core_conf.set_quoted('GST_PACKAGE_ORIGIN', get_option('with-package-origin')) # FIXME: These should be configure options