summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago@kde.org>2006-04-30 10:47:47 +0000
committerThiago Macieira <thiago@kde.org>2006-04-30 10:47:47 +0000
commitddb47648990e9734296e35c4622b790b6f6161b8 (patch)
tree2ceee2200d6cd43ae7c7a20fffa2cfa728193cb1
parentc31815270cd8fc9b97be6fb1b51b7c9118313b01 (diff)
* Makefile.am:
* configure.in: * dbus-qt4-1.pc.in: Add a pkg-config file for libdbus-qt4-1. Thanks to Brad Hards for providing the patch
-rw-r--r--ChangeLog7
-rw-r--r--Makefile.am3
-rw-r--r--configure.in4
-rw-r--r--dbus-qt4-1.pc.in12
4 files changed, 26 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c8fc523c..9f83f58b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-04-30 Thiago Macieira <thiago.macieira@trolltech.com>
+
+ * Makefile.am:
+ * configure.in:
+ * dbus-qt4-1.pc.in: Add a pkg-config file for libdbus-qt4-1.
+ Thanks to Brad Hards for providing the patch
+
2006-04-29 Thiago Macieira <thiago.macieira@trolltech.com>
* qt/dbusidl2cpp.cpp: There's no callAsync. Use the correct
diff --git a/Makefile.am b/Makefile.am
index 423ba3b8..48971fb6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,6 +6,7 @@ endif
if HAVE_QT
QT_SUBDIR=qt
+ QT_PC=dbus-qt4-1.pc
endif
if HAVE_QT3
@@ -41,12 +42,14 @@ pkgconfig_DATA = dbus-1.pc $(GLIB_PC) $(MONO_PC)
DISTCLEANFILES = \
dbus-1.pc \
$(GLIB_PC) \
+ $(QT_PC) \
$(MONO_PC)
EXTRA_DIST = \
HACKING \
dbus-1.pc.in \
dbus-glib-1.pc.in \
+ dbus-qt4-1.pc.in \
dbus-sharp.pc.in
all-local: Doxyfile
diff --git a/configure.in b/configure.in
index 115af0d9..7c945d97 100644
--- a/configure.in
+++ b/configure.in
@@ -1003,6 +1003,9 @@ QT_GUI=QtGui$qt_suffix
QT_TESTLIB=QtTest$qt_suffix
min_qt_version=4.1.3
+AC_SUBST(QT_CORE)
+AC_SUBST(QT_XML)
+
PKG_CHECK_MODULES([DBUS_QT],
[$QT_CORE >= $min_qt_version $QT_XML >= $min_qt_version],
have_qt=yes,
@@ -1419,6 +1422,7 @@ doc/Makefile
dbus-1.pc
dbus-glib-1.pc
dbus-sharp.pc
+dbus-qt4-1.pc
test/data/valid-config-files/debug-allow-all.conf
test/data/valid-config-files/debug-allow-all-sha1.conf
test/data/valid-service-files/debug-echo.service
diff --git a/dbus-qt4-1.pc.in b/dbus-qt4-1.pc.in
new file mode 100644
index 00000000..b5c4aaf3
--- /dev/null
+++ b/dbus-qt4-1.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: dbus-qt4-1
+Description: Qt4 integration for the free desktop message bus
+Version: @VERSION@
+Requires: dbus-1 @QT_CORE@ @QT_XML@
+Libs: -L${libdir} -ldbus-qt4-1
+
+