mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
validate: Add .pc files so applications can link against us
This commit is contained in:
parent
acbd02014c
commit
f85983a043
5 changed files with 48 additions and 0 deletions
|
@ -5,6 +5,7 @@ SUBDIRS = \
|
||||||
data \
|
data \
|
||||||
gst \
|
gst \
|
||||||
tools \
|
tools \
|
||||||
|
pkgconfig \
|
||||||
po
|
po
|
||||||
|
|
||||||
DIST_SUBDIRS = $(SUBDIRS)
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
|
|
|
@ -246,6 +246,9 @@ gst/Makefile
|
||||||
gst/validate/Makefile
|
gst/validate/Makefile
|
||||||
tools/Makefile
|
tools/Makefile
|
||||||
data/Makefile
|
data/Makefile
|
||||||
|
pkgconfig/Makefile
|
||||||
|
pkgconfig/gst-validate-uninstalled.pc
|
||||||
|
pkgconfig/gst-validate.pc
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
])
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
21
validate/pkgconfig/Makefile.am
Normal file
21
validate/pkgconfig/Makefile.am
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
pcfiles = \
|
||||||
|
gst-validate-@GST_API_VERSION@.pc
|
||||||
|
|
||||||
|
pcfiles_uninstalled = \
|
||||||
|
gst-validate-@GST_API_VERSION@-uninstalled.pc
|
||||||
|
|
||||||
|
all-local: $(pcfiles) $(pcfiles_uninstalled)
|
||||||
|
|
||||||
|
### how to generate pc files
|
||||||
|
%-@GST_API_VERSION@.pc: %.pc
|
||||||
|
cp $< $@
|
||||||
|
%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
|
||||||
|
cp $< $@
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = $(pcfiles)
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
gst-validate.pc.in \
|
||||||
|
gst-validate-uninstalled.pc.in
|
||||||
|
CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)
|
12
validate/pkgconfig/gst-validate-uninstalled.pc.in
Normal file
12
validate/pkgconfig/gst-validate-uninstalled.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# the standard variables don't make sense for an uninstalled copy
|
||||||
|
prefix=
|
||||||
|
exec_prefix=
|
||||||
|
libdir=@abs_top_builddir@/ges
|
||||||
|
includedir=@abs_top_builddir@
|
||||||
|
|
||||||
|
Name: gst-validate
|
||||||
|
Description: GStreamer Validate
|
||||||
|
Version: @VERSION@
|
||||||
|
Requires: gstreamer-@GST_API_VERSION@
|
||||||
|
Libs: @abs_top_builddir@/gst/validate/libgstvalidate-@GST_API_VERSION@.la
|
||||||
|
Cflags: -I@abs_top_srcdir@ -I@abs_top_builddir@
|
11
validate/pkgconfig/gst-validate.pc.in
Normal file
11
validate/pkgconfig/gst-validate.pc.in
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||||
|
|
||||||
|
Name: gst-validate
|
||||||
|
Description: Gstreamer Validate
|
||||||
|
Version: @VERSION@
|
||||||
|
Requires: gstreamer-@GST_API_VERSION@
|
||||||
|
Libs: -L${libdir} -lgstvalidate@GST_API_VERSION@
|
||||||
|
Cflags: -I${includedir}
|
Loading…
Reference in a new issue