Added pkgconfig file
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 8 Jan 2009 13:42:10 +0000 (14:42 +0100)
committerWim Taymans <wim@wtay.(none)>
Thu, 8 Jan 2009 13:42:10 +0000 (14:42 +0100)
Makefile.am
configure.ac
pkgconfig/Makefile.am [new file with mode: 0644]
pkgconfig/gst-rtsp-server.pc.in [new file with mode: 0644]

index 0e57eb3..28d2299 100644 (file)
@@ -4,6 +4,7 @@ SUBDIRS =               \
        gst \
        m4              \
        common \
+       pkgconfig \
        examples
 
 DIST_SUBDIRS = $(SUBDIRS)
index 8d281d3..1612636 100644 (file)
@@ -218,6 +218,11 @@ m4/Makefile
 gst/Makefile
 gst/rtsp-server/Makefile
 examples/Makefile
+bindings/Makefile
+bindings/python/Makefile
+bindings/python/codegen/Makefile
+pkgconfig/Makefile
+pkgconfig/gst-rtsp-server.pc
 ])
 AC_OUTPUT
 
diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am
new file mode 100644 (file)
index 0000000..310dc8a
--- /dev/null
@@ -0,0 +1,14 @@
+pcfiles = \
+       gst-rtsp-server-@GST_MAJORMINOR@.pc
+       
+all-local: $(pcfiles)
+
+### how to generate pc files
+%-@GST_MAJORMINOR@.pc: %.pc
+       cp $< $@
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = $(pcfiles)
+
+EXTRA_DIST = gst-rtsp-server.pc.in
+CLEANFILES = $(pcfiles)
diff --git a/pkgconfig/gst-rtsp-server.pc.in b/pkgconfig/gst-rtsp-server.pc.in
new file mode 100644 (file)
index 0000000..ada1a15
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
+
+Name: gst-rtsp-server
+Description: GStreamer based RTSP server
+Version: 0.10.1
+Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@
+Libs: -L${libdir} -lgstrtspserver-@GST_MAJORMINOR@
+Cflags: -I${includedir}