meson.build: drop VERSION, use PACKAGE_VERSION in the C sources

Slightly better namespaced since it's not usually used anywhere else, VERSION
is too generic.
This commit is contained in:
Peter Hutterer 2021-06-10 13:54:28 +10:00 committed by Wim Taymans
parent c4e3efbcf8
commit b5e98027b7
2 changed files with 1 additions and 2 deletions

View file

@ -196,7 +196,6 @@ cdata.set('PACKAGE_URL', '"http://pipewire.org"')
cdata.set_quoted('PACKAGE_VERSION', pipewire_version)
cdata.set_quoted('MODULEDIR', modules_install_dir)
cdata.set_quoted('PIPEWIRE_CONFIG_DIR', pipewire_configdir)
cdata.set_quoted('VERSION', pipewire_version)
cdata.set_quoted('PLUGINDIR', spa_plugindir)
# FIXME: --with-memory-alignment],[8,N,malloc,pagesize (default is 32)]) option
cdata.set('MEMORY_ALIGNMENT_MALLOC', 1)

View file

@ -66,4 +66,4 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
pipewire,
"Uses PipeWire to handle media streams",
plugin_init, VERSION, "MIT/X11", "pipewire", "pipewire.org")
plugin_init, PACKAGE_VERSION, "MIT/X11", "pipewire", "pipewire.org")