summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
-rw-r--r--polyp/Makefile.am5
-rw-r--r--polyplib-browse.pc.in11
4 files changed, 17 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 91f9740b3..43e4b58a1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,7 @@ MAINTAINERCLEANFILES=README
noinst_DATA = README
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = polyplib.pc polyplib-simple.pc polyplib-error.pc polyplib-mainloop.pc
+pkgconfig_DATA = polyplib.pc polyplib-simple.pc polyplib-error.pc polyplib-mainloop.pc polyplib-browse.pc
if HAVE_GLIB20
pkgconfig_DATA += \
diff --git a/configure.ac b/configure.ac
index 658910c63..6917921be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -185,5 +185,5 @@ AM_CONDITIONAL([USE_LYNX], [test "x$lynx" = xyes])
AM_CONDITIONAL(BUILD_LIBPOLYPCORE, false)
-AC_CONFIG_FILES([Makefile polyp/Makefile polyplib.pc polyplib-simple.pc polyplib-mainloop.pc polyplib-error.pc polyplib-glib-mainloop.pc polyplib-glib12-mainloop.pc doc/Makefile doc/README.html doc/cli.html doc/daemon.html doc/modules.html doxygen/Makefile doxygen/doxygen.conf polyp/polyplib-version.h doc/FAQ.html])
+AC_CONFIG_FILES([Makefile polyp/Makefile polyplib.pc polyplib-simple.pc polyplib-mainloop.pc polyplib-browse.pc polyplib-error.pc polyplib-glib-mainloop.pc polyplib-glib12-mainloop.pc doc/Makefile doc/README.html doc/cli.html doc/daemon.html doc/modules.html doxygen/Makefile doxygen/doxygen.conf polyp/polyplib-version.h doc/FAQ.html])
AC_OUTPUT
diff --git a/polyp/Makefile.am b/polyp/Makefile.am
index 700516717..79accfe62 100644
--- a/polyp/Makefile.am
+++ b/polyp/Makefile.am
@@ -74,7 +74,8 @@ polypinclude_HEADERS= \
mainloop.h \
mainloop-signal.h \
sample.h \
- glib-mainloop.h
+ glib-mainloop.h \
+ typeid.h
### Warning! Due to an obscure bug in libtool/automake it is required
### that the libraries in modlib_LTLIBRARIES are specified in-order,
@@ -632,6 +633,8 @@ pabrowse_SOURCES = pabrowse.c
pabrowse_LDADD = $(AM_LDADD) libpolyp-@PA_MAJORMINOR@.la libpolyp-error-@PA_MAJORMINOR@.la libpolyp-mainloop-@PA_MAJORMINOR@.la libpolyp-browse-@PA_MAJORMINOR@.la
pabrowse_CFLAGS = $(AM_CFLAGS)
+polypinclude_HEADERS+=polyplib-browser.h
+
endif
### GLIB 2.0 support
diff --git a/polyplib-browse.pc.in b/polyplib-browse.pc.in
new file mode 100644
index 000000000..b77967e00
--- /dev/null
+++ b/polyplib-browse.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: polyplib-browse
+Description: Polypaudio network browsing API
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lpolyp-browse-@PA_MAJORMINOR@
+Cflags: -D_REENTRANT -I${includedir}
+Requires: polyplib-mainloop