mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
b024e6940b
It turns out it is more convenient to have only pkgconfig files named after the installed GStreamer API version (1.0) instead of using all possible subsequent names from that (1.0, 1.2, 1.4). i.e. they conflict altogether anyway, so align pkgconfig file names to that.
33 lines
841 B
Makefile
33 lines
841 B
Makefile
pcfiles_in = gstreamer-vaapi.pc.in
|
|
if USE_DRM
|
|
pcfiles_in += gstreamer-vaapi-drm.pc.in
|
|
endif
|
|
if USE_X11
|
|
pcfiles_in += gstreamer-vaapi-x11.pc.in
|
|
endif
|
|
if USE_GLX
|
|
pcfiles_in += gstreamer-vaapi-glx.pc.in
|
|
endif
|
|
if USE_WAYLAND
|
|
pcfiles_in += gstreamer-vaapi-wayland.pc.in
|
|
endif
|
|
|
|
pcfiles = $(pcfiles_in:%.pc.in=%-$(GST_PKG_VERSION).pc)
|
|
|
|
all_pcfiles_in = gstreamer-vaapi.pc.in
|
|
all_pcfiles_in += gstreamer-vaapi-drm.pc.in
|
|
all_pcfiles_in += gstreamer-vaapi-x11.pc.in
|
|
all_pcfiles_in += gstreamer-vaapi-glx.pc.in
|
|
all_pcfiles_in += gstreamer-vaapi-wayland.pc.in
|
|
|
|
all_pcfiles = $(all_pcfiles_in:%.pc.in=%-$(GST_PKG_VERSION).pc)
|
|
|
|
pkgconfigdir = @pkgconfigdir@
|
|
pkgconfig_DATA = $(pcfiles)
|
|
|
|
EXTRA_DIST = $(all_pcfiles_in)
|
|
|
|
DISTCLEANFILES = $(all_pcfiles)
|
|
|
|
# Extra clean files so that maintainer-clean removes *everything*
|
|
MAINTAINERCLEANFILES = Makefile.in
|