Skip to content

Commit

Permalink
meson: fix with-package-name option
Browse files Browse the repository at this point in the history
  • Loading branch information
tp-m committed Jun 26, 2017
1 parent dac113a commit 7890c0f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions meson.build
Expand Up @@ -110,13 +110,14 @@ core_conf.set('GST_LICENSE', '"LGPL"')
gst_package_name = get_option('with-package-name')
if gst_package_name == ''
if gst_version_nano == 0
core_conf.set_quoted('GST_PACKAGE_NAME', 'GStreamer Base Plug-ins source release')
gst_package_name = 'GStreamer Base Plug-ins source release'
elif gst_version_nano == 1
core_conf.set_quoted('GST_PACKAGE_NAME', 'GStreamer Base Plug-ins git')
gst_package_name = 'GStreamer Base Plug-ins git'
else
core_conf.set_quoted('GST_PACKAGE_NAME', 'GStreamer Base Plug-ins prerelease')
gst_package_name = 'GStreamer Base Plug-ins prerelease'
endif
endif
core_conf.set_quoted('GST_PACKAGE_NAME', gst_package_name)
core_conf.set_quoted('GST_PACKAGE_ORIGIN', get_option('with-package-origin'))

# FIXME: These should be configure options
Expand Down

0 comments on commit 7890c0f

Please sign in to comment.