mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-25 06:59:57 -05:00
pipewirecore: Add pc file
This is useful for building out-of-tree PipeWire modules. Change-Id: I47507349201067f01164d8ba8b95bc4ee422d082
This commit is contained in:
parent
bc56c72b62
commit
879057c565
3 changed files with 14 additions and 2 deletions
|
|
@ -28,13 +28,13 @@ pipewirecore_sources = [
|
|||
'work-queue.c',
|
||||
]
|
||||
|
||||
install_headers(pipewirecore_headers, subdir : 'pipewire/server')
|
||||
|
||||
libpipewirecore_c_args = [
|
||||
'-DHAVE_CONFIG_H',
|
||||
'-D_GNU_SOURCE',
|
||||
]
|
||||
|
||||
install_headers(pipewirecore_headers, subdir : 'pipewire/server')
|
||||
|
||||
libpipewirecore = shared_library('pipewirecore-@0@'.format(apiversion), pipewirecore_sources,
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
|
|
|
|||
11
pkgconfig/libpipewirecore.pc.in
Normal file
11
pkgconfig/libpipewirecore.pc.in
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/
|
||||
moduledir=@moduledir@
|
||||
|
||||
Name: libpipewirecore
|
||||
Description: PipeWire Core
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpipewirecore-@PIPEWIRE_API_VERSION@
|
||||
Cflags: -I${includedir} -D_REENTRANT
|
||||
|
|
@ -11,6 +11,7 @@ pkg_install_dir = '@0@/pkgconfig'.format(get_option('libdir'))
|
|||
|
||||
pkg_files = [
|
||||
'libpipewire',
|
||||
'libpipewirecore',
|
||||
'libspa',
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue