From: Lennart Poettering Date: Tue, 30 Aug 2005 01:20:53 +0000 (+0000) Subject: Add pkg-config files for avahi-qt X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=8d87b5886d1113ebf9eb0f7aa1012538ffb1fc68;p=catta Add pkg-config files for avahi-qt git-svn-id: file:///home/lennart/svn/public/avahi/trunk@499 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/Makefile.am b/Makefile.am index f22fa04..4460804 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 index 0000000..e44ae1d --- /dev/null +++ b/avahi-qt3.pc.in @@ -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 index 0000000..aecc160 --- /dev/null +++ b/avahi-qt4.pc.in @@ -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}