From: Tim-Philipp Müller Date: Mon, 26 Jun 2017 08:47:55 +0000 (+0100) Subject: meson: fix with-package-name option X-Git-Tag: 1.16.2~1007 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e2095bd5ea036b4b86ec966f1317fa92cf3fa96;p=platform%2Fupstream%2Fgst-plugins-good.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 45b06ba..bdef991 100644 --- a/meson.build +++ b/meson.build @@ -135,13 +135,14 @@ cdata.set('GETTEXT_PACKAGE', '"gst-plugins-good-1.0"') gst_package_name = get_option('with-package-name') if gst_package_name == '' if gst_version_nano == 0 - cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer Good Plug-ins source release') + gst_package_name = 'GStreamer Good Plug-ins source release' elif gst_version_nano == 1 - cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer Good Plug-ins git') + gst_package_name = 'GStreamer Good Plug-ins git' else - cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer Good Plug-ins prerelease') + gst_package_name = 'GStreamer Good Plug-ins prerelease' endif endif +cdata.set_quoted('GST_PACKAGE_NAME', gst_package_name) cdata.set_quoted('GST_PACKAGE_ORIGIN', get_option('with-package-origin')) # Mandatory GST deps