Added pkgconfig file

This commit is contained in:
Wim Taymans 2009-01-08 14:42:10 +01:00 committed by Wim Taymans
parent eb68a892a6
commit 26745cdbf5
4 changed files with 31 additions and 0 deletions

View file

@ -4,6 +4,7 @@ SUBDIRS = \
gst \ gst \
m4 \ m4 \
common \ common \
pkgconfig \
examples examples
DIST_SUBDIRS = $(SUBDIRS) DIST_SUBDIRS = $(SUBDIRS)

View file

@ -218,6 +218,11 @@ m4/Makefile
gst/Makefile gst/Makefile
gst/rtsp-server/Makefile gst/rtsp-server/Makefile
examples/Makefile examples/Makefile
bindings/Makefile
bindings/python/Makefile
bindings/python/codegen/Makefile
pkgconfig/Makefile
pkgconfig/gst-rtsp-server.pc
]) ])
AC_OUTPUT AC_OUTPUT

14
pkgconfig/Makefile.am Normal file
View file

@ -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)

View file

@ -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}