Commit 64fb438b authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

meson: fix with-package-name option
parent 486dd447
......@@ -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'
cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer prerelease')
gst_package_name = 'GStreamer prerelease'
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment