]> git.meshlink.io Git - catta/commitdiff
Add pkg-config files for avahi-qt
authorLennart Poettering <lennart@poettering.net>
Tue, 30 Aug 2005 01:20:53 +0000 (01:20 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 30 Aug 2005 01:20:53 +0000 (01:20 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@499 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

Makefile.am
avahi-qt3.pc.in [new file with mode: 0644]
avahi-qt4.pc.in [new file with mode: 0644]

index f22fa04d45406f8d4a8b7702545d787edb7ca1c6..44608044c8b878dfa139c463388243affe51a994 100644 (file)
@@ -76,7 +76,8 @@ DX_INPUT = \
        $(srcdir)/avahi-glib/glib-watch.h \
        $(srcdir)/avahi-glib/glib-malloc.h \
        $(srcdir)/avahi-common/timeval.h \
-       $(srcdir)/avahi-common/dbus.h
+       $(srcdir)/avahi-common/dbus.h \
+       $(srcdir)/avahi-qt/qt-watch.h
 
 DX_EXAMPLE_PATH = $(srcdir)/examples
 
@@ -115,6 +116,31 @@ CLEANFILES += avahi-glib.pc
 
 endif
 
+if HAVE_QT3
+
+pkgconfig_DATA += avahi-qt3.pc
+
+avahi-qt3.pc: avahi-qt3.pc.in
+       sed -e 's,@prefix\@,$(prefix),g' \
+           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+
+CLEANFILES += avahi-qt3.pc
+
+endif
+
+if HAVE_QT4
+
+pkgconfig_DATA += avahi-qt4.pc
+
+avahi-qt4.pc: avahi-qt4.pc.in
+       sed -e 's,@prefix\@,$(prefix),g' \
+           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+
+CLEANFILES += avahi-qt4.pc
+
+endif
+
+
 MOSTLYCLEANFILES = $(DX_CLEANFILES)
 
 homepage:
diff --git a/avahi-qt3.pc.in b/avahi-qt3.pc.in
new file mode 100644 (file)
index 0000000..e44ae1d
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: avahi-qt3
+Description: Avahi Multicast DNS Responder (QT3 Support)
+Version: @PACKAGE_VERSION@
+Requires: qt-mt >= 3.0.0
+Libs: -L${libdir} -lavahi-common -lavahi-qt3
+Cflags: -D_REENTRANT -I${includedir}
diff --git a/avahi-qt4.pc.in b/avahi-qt4.pc.in
new file mode 100644 (file)
index 0000000..aecc160
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: avahi-qt4
+Description: Avahi Multicast DNS Responder (QT4 Support)
+Version: @PACKAGE_VERSION@
+Requires: QtCore >= 4.0.0
+Libs: -L${libdir} -lavahi-common -lavahi-qt4
+Cflags: -D_REENTRANT -I${includedir}