mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
Add .pc files
This commit is contained in:
parent
61d3b51e18
commit
73001edacf
5 changed files with 48 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
|
||||
|
||||
SUBDIRS = ges tests tools common m4 docs
|
||||
SUBDIRS = ges tests tools common m4 pkgconfig docs
|
||||
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
|
||||
|
|
|
@ -289,5 +289,8 @@ tools/Makefile
|
|||
docs/Makefile
|
||||
docs/version.entities
|
||||
docs/libs/Makefile
|
||||
pkgconfig/Makefile
|
||||
pkgconfig/gst-editing-services.pc
|
||||
pkgconfig/gst-editing-services-uninstalled.pc
|
||||
)
|
||||
AC_OUTPUT
|
||||
|
|
21
pkgconfig/Makefile.am
Normal file
21
pkgconfig/Makefile.am
Normal file
|
@ -0,0 +1,21 @@
|
|||
pcfiles = \
|
||||
gst-editing-services-@GST_MAJORMINOR@.pc
|
||||
|
||||
pcfiles_uninstalled = \
|
||||
gst-editing-services-@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-editing-services.pc.in \
|
||||
gst-editing-services-uninstalled.pc.in
|
||||
CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)
|
12
pkgconfig/gst-editing-services-uninstalled.pc.in
Normal file
12
pkgconfig/gst-editing-services-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}/../ges
|
||||
includedir=${pcfiledir}/..
|
||||
|
||||
Name: gst-editing-services
|
||||
Description: GStreamer Editing Services
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-plugins-base-@GST_MAJORMINOR@
|
||||
Libs: ${libdir}/libges-@GST_MAJORMINOR@
|
||||
Cflags: -I${includedir} -I@srcdir@/..
|
11
pkgconfig/gst-editing-services.pc.in
Normal file
11
pkgconfig/gst-editing-services.pc.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
|
||||
|
||||
Name: gst-editing-services
|
||||
Description: GStreamer Editing Services
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@
|
||||
Libs: -L${libdir} -lges-@GST_MAJORMINOR@
|
||||
Cflags: -I${includedir}
|
Loading…
Reference in a new issue