diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-06-26 09:49:22 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-06-26 09:49:22 +0100 |
commit | 8012cfae27e0891742401faab194a41260f90779 (patch) | |
tree | d9f52d6d73c9f19eb24d6ed976b7cce3c85ad35d | |
parent | 3a25a3a948b9c2d92c5453a58efeb1806d33497f (diff) | |
download | gstreamer-8012cfae27e0891742401faab194a41260f90779.tar.gz |
meson: fix with-package-name option
https://bugzilla.gnome.org/show_bug.cgi?id=784082
-rw-r--r-- | meson.build | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 8e874a6aab..145bdfec72 100644 --- a/meson.build +++ b/meson.build @@ -107,13 +107,14 @@ cdata.set('GST_LICENSE', '"LGPL"') gst_package_name = get_option('with-package-name') if gst_package_name == '' if gst_version_nano == 0 - cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer Ugly Plug-ins source release') + gst_package_name = 'GStreamer Ugly Plug-ins source release' elif gst_version_nano == 1 - cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer Ugly Plug-ins git') + gst_package_name = 'GStreamer Ugly Plug-ins git' else - cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer Ugly Plug-ins prerelease') + gst_package_name = 'GStreamer Ugly 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 |