mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
Added pkg-config file to use gst-rtsp-server uninstalled
This commit is contained in:
parent
297b6a755a
commit
7d38b37ae6
4 changed files with 24 additions and 5 deletions
|
@ -277,6 +277,7 @@ bindings/python/codegen/Makefile
|
||||||
bindings/vala/Makefile
|
bindings/vala/Makefile
|
||||||
pkgconfig/Makefile
|
pkgconfig/Makefile
|
||||||
pkgconfig/gst-rtsp-server.pc
|
pkgconfig/gst-rtsp-server.pc
|
||||||
|
pkgconfig/gst-rtsp-server-uninstalled.pc
|
||||||
])
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
|
3
pkgconfig/.gitignore
vendored
3
pkgconfig/.gitignore
vendored
|
@ -1,2 +1 @@
|
||||||
gst-rtsp-server-0.10.pc
|
*.pc
|
||||||
gst-rtsp-server.pc
|
|
||||||
|
|
|
@ -1,14 +1,21 @@
|
||||||
pcfiles = \
|
pcfiles = \
|
||||||
gst-rtsp-server-@GST_MAJORMINOR@.pc
|
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
|
### how to generate pc files
|
||||||
%-@GST_MAJORMINOR@.pc: %.pc
|
%-@GST_MAJORMINOR@.pc: %.pc
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
%-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
|
||||||
|
cp $< $@
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = $(pcfiles)
|
pkgconfig_DATA = $(pcfiles)
|
||||||
|
|
||||||
EXTRA_DIST = gst-rtsp-server.pc.in
|
EXTRA_DIST = \
|
||||||
CLEANFILES = $(pcfiles)
|
gst-rtsp-server.pc.in \
|
||||||
|
gst-rtsp-server-uninstalled.pc.in
|
||||||
|
CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)
|
||||||
|
|
12
pkgconfig/gst-rtsp-server-uninstalled.pc.in
Normal file
12
pkgconfig/gst-rtsp-server-uninstalled.pc.in
Normal file
|
@ -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@/..
|
Loading…
Reference in a new issue