[Meson] Fix version in rofi.pc again

rofi.pc: pkgconf version 1.7.0+wayland1 is invalid
This commit is contained in:
Jakub Jirutka 2021-10-04 00:59:51 +02:00 committed by lbonn
parent 197611e7ad
commit 2025b73ec2

View file

@ -339,7 +339,7 @@ pkg = import('pkgconfig')
pkg.generate(
filebase: 'rofi',
name: 'rofi',
version: meson.project_version().split('-')[0],
version: meson.project_version().split('+')[0],
description: 'Header files for rofi plugins',
variables: [
'pluginsdir=@0@'.format(join_paths('${libdir}', meson.project_name())),