From 85e2b8751be8db316ad3df2ce2cbc7bd06e48929 Mon Sep 17 00:00:00 2001 From: Brendan McGrath Date: Thu, 18 Jul 2024 17:52:18 +1000 Subject: [PATCH] build: Add gst-plugins-bad. Enables hls, videoparsers and mpegtsdemux. CW-Bug-Id: #23810 CW-Bug-Id: #23226 CW-Bug-Id: #23425 --- Makefile.in | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index c90a301a..d3ee85ce 100644 --- a/Makefile.in +++ b/Makefile.in @@ -211,6 +211,22 @@ $(eval $(call rules-source,gst_good,$(SRCDIR)/gstreamer/subprojects/gst-plugins- $(eval $(call rules-meson,gst_good,32)) $(eval $(call rules-meson,gst_good,64)) +## +## gst-plugins-bad +## + +GST_BAD_MESON_ARGS := \ + -Dauto_features=disabled \ + -Dvideoparsers=enabled \ + -Dhls=enabled \ + -Dmpegtsdemux=enabled + +GST_BAD_DEPENDS = gst_orc gstreamer gst_base + +$(eval $(call rules-source,gst_bad,$(SRCDIR)/gstreamer/subprojects/gst-plugins-bad/)) +$(eval $(call rules-meson,gst_bad,32)) +$(eval $(call rules-meson,gst_bad,64)) + ## ## FFmpeg ## @@ -997,7 +1013,7 @@ all-dist: $(DIST_OVR32) $(DIST_OVR64) ## default_pfx ## -default_pfx: wine gst_good gst_libav gst_plugins_rs lsteamclient steamexe vrclient wineopenxr dxvk dxvk-nvapi vkd3d-proton +default_pfx: wine gst_good gst_bad gst_libav gst_plugins_rs lsteamclient steamexe vrclient wineopenxr dxvk dxvk-nvapi vkd3d-proton 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))