Add jami.pc

Change-Id: If13a246aa50953c99d72937daeb7866de2d82e8d
This commit is contained in:
Olivier Dion
2022-08-19 19:56:36 -04:00
parent ea327ff28e
commit 5c55f5efa8
4 changed files with 16 additions and 1 deletions

1
.gitignore vendored
View File

@ -119,6 +119,7 @@ tools/.vscode/
build-aux/
configure
jami.pc
bin/dbus/*.adaptor.h
bin/dbus/cx.ring.Ring.service
bin/jamid

View File

@ -16,6 +16,9 @@ EXTRA_DIST = m4/libtool.m4 \
contrib/bootstrap \
contrib/src
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = jami.pc
coverage-html:
$(AM_V_at)lcov --no-external --capture --initial --directory $(top_builddir) --output-file jami-coverage-base.info
$(AM_V_at)lcov --no-external --capture --directory $(top_builddir) --output-file jami-coverage-tests.info

View File

@ -659,7 +659,8 @@ AC_CONFIG_FILES([Makefile \
test/unitTest/Makefile \
man/Makefile \
doc/Makefile \
doc/doxygen/Makefile])
doc/doxygen/Makefile
jami.pc])
dnl Transfer the Automake variables set here to Makefile.in.
echo DAEMONCPPFLAGS=$DAEMONCPPFLAGS

10
jami.pc.in Normal file
View File

@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: jami
Description: Jami core library and daemon
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -ljami
Cflags: -I${includedir}