From: Tim-Philipp Müller Date: Fri, 23 Jun 2017 10:11:44 +0000 (+0100) Subject: meson: fix with-package-name option X-Git-Tag: 1.12.2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64fb438b69eeabfec4752717fed18b9827f716c0;p=platform%2Fupstream%2Fgstreamer.git meson: fix with-package-name option https://bugzilla.gnome.org/show_bug.cgi?id=784082 --- diff --git a/meson.build b/meson.build index eb1f196..b3952a9 100644 --- a/meson.build +++ b/meson.build @@ -85,13 +85,14 @@ endif gst_package_name = get_option('with-package-name') if gst_package_name == '' if gst_version_nano == 0 - cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer source release') + gst_package_name = 'GStreamer source release' elif gst_version_nano == 1 - cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer git') + gst_package_name = 'GStreamer git' else - cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer prerelease') + gst_package_name = 'GStreamer prerelease' endif endif +cdata.set_quoted('GST_PACKAGE_NAME', gst_package_name) cdata.set_quoted('GST_PACKAGE_ORIGIN', get_option('with-package-origin')) # These are only needed/used by the ABI tests