* Makefile.am:
authorThiago Macieira <thiago@kde.org>
Sun, 30 Apr 2006 10:47:47 +0000 (10:47 +0000)
committerThiago Macieira <thiago@kde.org>
Sun, 30 Apr 2006 10:47:47 +0000 (10:47 +0000)
        * configure.in:
        * dbus-qt4-1.pc.in: Add a pkg-config file for libdbus-qt4-1.
Thanks to Brad Hards for providing the patch

ChangeLog
Makefile.am
configure.in
dbus-qt4-1.pc.in [new file with mode: 0644]

index c8fc523..9f83f58 100644 (file)
--- 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
index 423ba3b..48971fb 100644 (file)
@@ -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
index 115af0d..7c945d9 100644 (file)
@@ -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 (file)
index 0000000..b5c4aaf
--- /dev/null
@@ -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
+
+