Add pkgconfig files.

This commit is contained in:
gb 2010-03-16 09:57:25 +00:00
parent ad54bcf903
commit f15f5f6e98
5 changed files with 49 additions and 1 deletions

View file

@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = gst-libs sys tests
SUBDIRS = gst-libs pkgconfig sys tests
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = \

View file

@ -148,11 +148,17 @@ else
AC_MSG_ERROR([Your VA-API SDK does not include SDS extensions])
fi
pkgconfigdir=${libdir}/pkgconfig
AC_SUBST(pkgconfigdir)
AC_OUTPUT([
Makefile
gst-libs/Makefile
gst-libs/gst/Makefile
gst-libs/gst/vaapi/Makefile
pkgconfig/Makefile
pkgconfig/gstreamer-vaapi.pc
pkgconfig/gstreamer-vaapi-x11.pc
sys/Makefile
sys/vaapiconvert/Makefile
sys/vaapisink/Makefile

18
pkgconfig/Makefile.am Normal file
View file

@ -0,0 +1,18 @@
pcfiles = gstreamer-vaapi-@GST_MAJORMINOR@.pc
pcfiles += gstreamer-vaapi-x11-@GST_MAJORMINOR@.pc
pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = $(pcfiles)
EXTRA_DIST = \
gstreamer-vaapi.pc.in \
gstreamer-vaapi-x11.pc.in \
$(NULL)
CLEANFILES = $(pcfiles)
%-@GST_MAJORMINOR@.pc: %.pc
cp $< $@
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = Makefile.in

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
pluginsdir=@libdir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer VA-API (x11) Plugins Libraries
Description: Streaming media framework, VA-API (x11) plugins libraries
Requires: gstreamer-vaapi-@GST_MAJORMINOR@ libva-x11
Version: @VERSION@
Libs: -L${libdir} -lgstvaapi-x11-@GST_MAJORMINOR@
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
pluginsdir=@libdir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer VA-API Plugins Libraries
Description: Streaming media framework, VA-API plugins libraries
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@ libva
Version: @VERSION@
Libs: -L${libdir} -lgstvaapi-@GST_MAJORMINOR@
Cflags: -I${includedir}