Add .pc files

This commit is contained in:
Edward Hervey 2010-12-15 15:51:41 +01:00
parent 61d3b51e18
commit 73001edacf
5 changed files with 48 additions and 1 deletions

View file

@ -1,6 +1,6 @@
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
SUBDIRS = ges tests tools common m4 docs SUBDIRS = ges tests tools common m4 pkgconfig docs
DIST_SUBDIRS = $(SUBDIRS) DIST_SUBDIRS = $(SUBDIRS)

View file

@ -289,5 +289,8 @@ tools/Makefile
docs/Makefile docs/Makefile
docs/version.entities docs/version.entities
docs/libs/Makefile docs/libs/Makefile
pkgconfig/Makefile
pkgconfig/gst-editing-services.pc
pkgconfig/gst-editing-services-uninstalled.pc
) )
AC_OUTPUT AC_OUTPUT

21
pkgconfig/Makefile.am Normal file
View 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)

View 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@/..

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