pipewire/pkgconfig/meson.build
Wim Taymans 21cd5a2918 Add example to play sine wave
Various build fixes and cleanups
Move port_add to private and make node ports based on implementation.
Improve pull based scheduling on remote nodes
2017-09-07 10:22:32 +02:00

25 lines
732 B
Meson

pkgconf = configuration_data()
pkgconf.set('prefix', get_option('prefix'))
pkgconf.set('exec_prefix', '${prefix}')
pkgconf.set('libdir', '${prefix}/@0@'.format(get_option('libdir')))
pkgconf.set('includedir', '${prefix}/@0@'.format(get_option('includedir')))
pkgconf.set('moduledir', '${prefix}/@0@'.format(modules_install_dir))
pkgconf.set('PIPEWIRE_API_VERSION', apiversion)
pkgconf.set('VERSION', pipewire_version)
pkg_install_dir = '@0@/pkgconfig'.format(get_option('libdir'))
pkg_files = [
'libpipewire',
'libspa',
]
foreach p : pkg_files
infile = p + '.pc.in'
outfile = p + '-0.1.pc'
configure_file(input : infile,
output : outfile,
configuration : pkgconf,
install_dir : pkg_install_dir)
endforeach