pkg-config: add a couple of additional variables to .pc

We already export the session services dir in the .pc file, add the
system services dir too, as well as the interfaces dir, so that packages
can drop their files into the right place.

Eventually we need to move the system-services dir to a place that is
relocatable to /lib/dbus, and this change makes the location queriable
for other projects, as a first step towards that goal.
This commit is contained in:
Lennart Poettering 2010-06-23 03:14:27 +02:00
parent 5d64b7a1b7
commit bd074df3f0

View file

@ -5,11 +5,12 @@ includedir=@includedir@
system_bus_default_address=@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@
sysconfdir=@EXPANDED_SYSCONFDIR@
session_bus_services_dir=@EXPANDED_DATADIR@/dbus-1/services
system_bus_services_dir=@EXPANDED_DATADIR@/dbus-1/system-services
interfaces_dir=@EXPANDED_DATADIR@/dbus-1/interfaces
daemondir=@DBUS_DAEMONDIR@
Name: dbus
Description: Free desktop message bus
Version: @VERSION@
Libs: -L${libdir} -ldbus-1 @DBUS_CLIENT_LIBS@
Libs: -L${libdir} -ldbus-1 @DBUS_CLIENT_LIBS@
Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include