mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
meson: fix with-package-name option
https://bugzilla.gnome.org/show_bug.cgi?id=784082
This commit is contained in:
parent
ff7b8fe032
commit
9df5f8ea8f
1 changed files with 4 additions and 3 deletions
|
@ -41,13 +41,14 @@ cdata.set_quoted('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 RTSP Server Library source release')
|
||||
gst_package_name = 'GStreamer RTSP Server Library source release'
|
||||
elif gst_version_nano == 1
|
||||
cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer RTSP Server Library git')
|
||||
gst_package_name = 'GStreamer RTSP Server Library git'
|
||||
else
|
||||
cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer RTSP Server Library prerelease')
|
||||
gst_package_name = 'GStreamer RTSP Server Library prerelease'
|
||||
endif
|
||||
endif
|
||||
cdata.set_quoted('GST_PACKAGE_NAME', gst_package_name)
|
||||
cdata.set_quoted('GST_PACKAGE_ORIGIN', get_option('with-package-origin'))
|
||||
|
||||
configure_file(output : 'config.h', configuration : cdata)
|
||||
|
|
Loading…
Reference in a new issue