mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
Add pkgconfig files.
This commit is contained in:
parent
ad54bcf903
commit
f15f5f6e98
5 changed files with 49 additions and 1 deletions
|
@ -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 = \
|
||||
|
|
|
@ -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
18
pkgconfig/Makefile.am
Normal 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
|
12
pkgconfig/gstreamer-vaapi-x11.pc.in
Normal file
12
pkgconfig/gstreamer-vaapi-x11.pc.in
Normal 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}
|
12
pkgconfig/gstreamer-vaapi.pc.in
Normal file
12
pkgconfig/gstreamer-vaapi.pc.in
Normal 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}
|
Loading…
Reference in a new issue