diff options
author | Sebastian Pölsterl <sebp@k-d-w.org> | 2009-10-09 16:26:30 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-10-13 10:56:22 +0200 |
commit | 7d38b37ae6fec20fdc441aaea0920089c0497e47 (patch) | |
tree | 699a8fcdf9cf732fc3168ed239aadeb59c7b8c20 | |
parent | 297b6a755aa2a1574d4a5e1049077a963b270566 (diff) |
Added pkg-config file to use gst-rtsp-server uninstalled
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | pkgconfig/.gitignore | 3 | ||||
-rw-r--r-- | pkgconfig/Makefile.am | 13 | ||||
-rw-r--r-- | pkgconfig/gst-rtsp-server-uninstalled.pc.in | 12 |
4 files changed, 24 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 86d1e38..47b611c 100644 --- a/configure.ac +++ b/configure.ac @@ -277,6 +277,7 @@ bindings/python/codegen/Makefile bindings/vala/Makefile pkgconfig/Makefile pkgconfig/gst-rtsp-server.pc +pkgconfig/gst-rtsp-server-uninstalled.pc ]) AC_OUTPUT diff --git a/pkgconfig/.gitignore b/pkgconfig/.gitignore index bee7f7a..6fd0ef0 100644 --- a/pkgconfig/.gitignore +++ b/pkgconfig/.gitignore @@ -1,2 +1 @@ -gst-rtsp-server-0.10.pc -gst-rtsp-server.pc +*.pc diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am index 310dc8a..8d38e35 100644 --- a/pkgconfig/Makefile.am +++ b/pkgconfig/Makefile.am @@ -1,14 +1,21 @@ pcfiles = \ gst-rtsp-server-@GST_MAJORMINOR@.pc -all-local: $(pcfiles) +pcfiles_uninstalled = \ + gst-rtsp-server-@GST_MAJORMINOR@-uninstalled.pc + +all-local: $(pcfiles) $(pcfiles_uninstalled) ### how to generate pc files %-@GST_MAJORMINOR@.pc: %.pc cp $< $@ +%-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc + cp $< $@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = $(pcfiles) -EXTRA_DIST = gst-rtsp-server.pc.in -CLEANFILES = $(pcfiles) +EXTRA_DIST = \ + gst-rtsp-server.pc.in \ + gst-rtsp-server-uninstalled.pc.in +CLEANFILES = $(pcfiles) $(pcfiles_uninstalled) diff --git a/pkgconfig/gst-rtsp-server-uninstalled.pc.in b/pkgconfig/gst-rtsp-server-uninstalled.pc.in new file mode 100644 index 0000000..cd591be --- /dev/null +++ b/pkgconfig/gst-rtsp-server-uninstalled.pc.in @@ -0,0 +1,12 @@ +# the standard variables don't make sense for an uninstalled copy +prefix= +exec_prefix= +libdir=${pcfiledir}/../gst/rtsp-server +includedir=${pcfiledir}/.. + +Name: gst-rtsp-server +Description: GStreamer based RTSP server +Version: @VERSION@ +Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-plugins-base-@GST_MAJORMINOR@ +Libs: ${libdir}/libgstrtspserver-@GST_MAJORMINOR@.la +Cflags: -I${includedir} -I@srcdir@/.. |