Add a .pc file

This commit is contained in:
Gergely Polonkai 2016-03-10 15:39:59 +01:00 committed by Gergely Polonkai
parent 6fc2bffe9c
commit f1a58f84b8
4 changed files with 21 additions and 0 deletions

1
.gitignore vendored
View File

@ -80,3 +80,4 @@ Makefile.in
/src/matrix-event-call-answer.c
/src/matrix-event-call-hangup.c
/src/matrix-event-call-base.c
/src/matrix-glib-0.0.pc

View File

@ -203,6 +203,7 @@ AC_CONFIG_FILES([
Makefile
src/Makefile
src/matrix-version.h
src/matrix-glib-0.0.pc
docs/Makefile
docs/valadoc/Makefile
docs/valadoc/gtk-doc/Makefile

View File

@ -211,4 +211,9 @@ header_DATA = \
$(INST_H_BUILT_FILES) \
$(NULL)
pkgconfig_in = matrix-glib-$(MATRIX_GLIB_API_VERSION).pc.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pkgconfig_in:.in=)
EXTRA_DIST += $(pkgconfig_in)
CLEANFILES += $(typelibs_DATA)

14
src/matrix-glib-0.0.pc.in Normal file
View File

@ -0,0 +1,14 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
datarootdir=@datarootdir@
datadir=@datadir@
includedir=@includedir@
Name: libmatrix-glib
Description: GObject API for communicating with a Matrix.org Homeserver
URL: http://gergely.polonkai.eu/matrix-glib-sdk
Version: @MATRIX_GLIB_VERSION@
Requires: glib-2.0 gobject-2.0 gee-0.8 gio-2.0 json-glib-1.0
Libs: -L${libdir} -lmatrix-glib-@MATRIX_GLIB_API_VERSION@
Cflags: -I${includedir}/matrix-glib-@MATRIX_GLIB_API_VERSION@