From 3c670b665862d4939df439756262a3a5e6d227df Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Mon, 29 Nov 2021 10:20:10 -0600 Subject: [PATCH] build: Build gst-plugins-bad CW-Bug-Id: #19516 --- build/makefile_base.mak | 27 ++++++++++++++++++++++++++- dist.LICENSE | 2 +- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/build/makefile_base.mak b/build/makefile_base.mak index cf5ec451..9c21a573 100644 --- a/build/makefile_base.mak +++ b/build/makefile_base.mak @@ -356,7 +356,7 @@ $(DIST_FONTS): fonts ALL_TARGETS += dist GOAL_TARGETS += dist -dist_prefix: wine gst_good +dist_prefix: wine gst_good gst_bad find $(DST_LIBDIR32)/wine -type f -execdir chmod a-w '{}' '+' find $(DST_LIBDIR64)/wine -type f -execdir chmod a-w '{}' '+' rm -rf $(abspath $(DIST_PREFIX)) @@ -505,6 +505,31 @@ $(eval $(call rules-meson,gst_good,32)) $(eval $(call rules-meson,gst_good,64)) +## +## gst-plugins-bad +## + +GST_BAD_MESON_ARGS := \ + -Dauto_features=disabled \ + -Daom=enabled \ + $(GST_COMMON_MESON_ARGS) + +GST_BAD_DEPENDS = gst_orc gstreamer gst_base aom + +$(eval $(call rules-source,gst_bad,$(SRCDIR)/gst-plugins-bad)) +$(eval $(call rules-meson,gst_bad,32)) +$(eval $(call rules-meson,gst_bad,64)) + +$(OBJ)/.gst_bad-post-build32: + #remove unwanted gst libs + rm $(GST_BAD_DST32)/lib/*.so* + touch $@ + +$(OBJ)/.gst_bad-post-build64: + #remove unwanted gst libs + rm $(GST_BAD_DST64)/lib64/*.so* + touch $@ + ## ## aom ## diff --git a/dist.LICENSE b/dist.LICENSE index d7201fa0..0c8ea10c 100644 --- a/dist.LICENSE +++ b/dist.LICENSE @@ -79,7 +79,7 @@ Visit glib at ---- ---- ---- ---- -This software contains gstreamer, gst-plugins-base, and gst-plugins-good licensed under the LGPL 2. +This software contains gstreamer, gst-plugins-base, gst-plugins-good, and gst-plugins-bad licensed under the LGPL 2. Visit gstreamer at