mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-06 16:09:43 +00:00
parent
ef7903d328
commit
60d4473e7b
|
@ -17,6 +17,7 @@ else
|
||||||
pipewire_version_nano = 0
|
pipewire_version_nano = 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
spaversion = '0.1'
|
||||||
apiversion = '0.2'
|
apiversion = '0.2'
|
||||||
soversion = 1
|
soversion = 1
|
||||||
libversion = '@0@.@1@.0'.format(soversion, pipewire_version_minor.to_int() * 100 + pipewire_version_micro.to_int())
|
libversion = '@0@.@1@.0'.format(soversion, pipewire_version_minor.to_int() * 100 + pipewire_version_micro.to_int())
|
||||||
|
|
|
@ -11,13 +11,13 @@ pkgconf.set('VERSION', pipewire_version)
|
||||||
pkg_install_dir = '@0@/pkgconfig'.format(get_option('libdir'))
|
pkg_install_dir = '@0@/pkgconfig'.format(get_option('libdir'))
|
||||||
|
|
||||||
pkg_files = [
|
pkg_files = [
|
||||||
'libpipewire',
|
[ 'libpipewire', apiversion ],
|
||||||
'libspa',
|
[ 'libspa', spaversion ],
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach p : pkg_files
|
foreach p : pkg_files
|
||||||
infile = p + '.pc.in'
|
infile = p.get(0) + '.pc.in'
|
||||||
outfile = p + '-@0@.pc'.format(apiversion)
|
outfile = p.get(0) + '-@0@.pc'.format(p.get(1))
|
||||||
configure_file(input : infile,
|
configure_file(input : infile,
|
||||||
output : outfile,
|
output : outfile,
|
||||||
configuration : pkgconf,
|
configuration : pkgconf,
|
||||||
|
|
|
@ -8,7 +8,7 @@ install_headers(spalib_headers, subdir : 'spa/lib')
|
||||||
spalib_sources = ['debug.c',
|
spalib_sources = ['debug.c',
|
||||||
'pod.c' ]
|
'pod.c' ]
|
||||||
|
|
||||||
spalib = shared_library('spa-lib',
|
spalib = shared_library('spa-lib-@0@'.format(spaversion),
|
||||||
spalib_sources,
|
spalib_sources,
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#project('spa', 'c')
|
#project('spa', 'c')
|
||||||
|
|
||||||
|
|
||||||
alsa_dep = dependency('alsa')
|
alsa_dep = dependency('alsa')
|
||||||
v4l2_dep = dependency('libv4l2')
|
v4l2_dep = dependency('libv4l2')
|
||||||
x11_dep = dependency('x11', required : false)
|
x11_dep = dependency('x11', required : false)
|
||||||
|
|
Loading…
Reference in a new issue