mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 13:53:19 +00:00
meson: fix with-package-name option
https://bugzilla.gnome.org/show_bug.cgi?id=784082
This commit is contained in:
parent
691c527edb
commit
ab42a51ae2
1 changed files with 4 additions and 3 deletions
|
@ -40,13 +40,14 @@ cdata.set('PACKAGE', '"gst-libav"')
|
||||||
gst_package_name = get_option('with-package-name')
|
gst_package_name = get_option('with-package-name')
|
||||||
if gst_package_name == ''
|
if gst_package_name == ''
|
||||||
if gst_version_nano == 0
|
if gst_version_nano == 0
|
||||||
cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer FFMPEG Plug-ins source release')
|
gst_package_name = 'GStreamer FFMPEG Plug-ins source release'
|
||||||
elif gst_version_nano == 1
|
elif gst_version_nano == 1
|
||||||
cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer FFMPEG Plug-ins git')
|
gst_package_name = 'GStreamer FFMPEG Plug-ins git'
|
||||||
else
|
else
|
||||||
cdata.set_quoted('GST_PACKAGE_NAME', 'GStreamer FFMPEG Plug-ins prerelease')
|
gst_package_name = 'GStreamer FFMPEG Plug-ins prerelease'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
cdata.set_quoted('GST_PACKAGE_NAME', gst_package_name)
|
||||||
cdata.set_quoted('GST_PACKAGE_ORIGIN', get_option('with-package-origin'))
|
cdata.set_quoted('GST_PACKAGE_ORIGIN', get_option('with-package-origin'))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue