Browse Source

Fix pkg-config dependencies

zrythm_meson
David Robillard 4 years ago
parent
commit
d5eff8f6a7
  1. 2
      sratom.pc.in
  2. 6
      wscript

2
sratom.pc.in

@ -6,6 +6,6 @@ includedir=@INCLUDEDIR@ @@ -6,6 +6,6 @@ includedir=@INCLUDEDIR@
Name: Sratom
Version: @SRATOM_VERSION@
Description: LV2 Atom RDF serialisation library
Requires: lv2 @PKG_serd_0@ @PKG_sord_0@
Requires: @SRATOM_PKG_DEPS@
Libs: -L${libdir} -l@LIB_SRATOM@
Cflags: -I${includedir}/sratom-@SRATOM_MAJOR_VERSION@

6
wscript

@ -59,9 +59,9 @@ def build(bld): @@ -59,9 +59,9 @@ def build(bld):
bld.install_files(includedir, bld.path.ant_glob('sratom/*.h'))
# Pkgconfig file
autowaf.build_pc(bld, 'SRATOM', SRATOM_VERSION, SRATOM_MAJOR_VERSION,
['SERD', 'SORD', 'LV2'],
{'SRATOM_MAJOR_VERSION' : SRATOM_MAJOR_VERSION})
autowaf.build_pc(bld, 'SRATOM', SRATOM_VERSION, SRATOM_MAJOR_VERSION, [],
{'SRATOM_MAJOR_VERSION' : SRATOM_MAJOR_VERSION,
'SRATOM_PKG_DEPS' : 'lv2 serd-0 sord-0'})
libflags = ['-fvisibility=hidden']
libs = ['m']

Loading…
Cancel
Save