meson: Use pkgconfig.generate

Also fixes the moduledir having a duplicated prefix.
This commit is contained in:
Jan Alexander Steffens (heftig) 2018-09-02 03:22:14 +02:00 committed by Wim Taymans
parent 1754438dc9
commit 03fdabd155
6 changed files with 18 additions and 46 deletions

View file

@ -25,3 +25,9 @@ subdir('include')
subdir('plugins')
subdir('tools')
subdir('tests')
pkgconfig.generate(filebase : 'libspa-@0@'.format(spaversion),
name : 'libspa',
description : 'Simple Plugin API',
version : pipewire_version,
extra_cflags : '-D_REENTRANT')