freebsd-ports/multimedia/gstreamer1-plugins-bad/files/patch-tests_examples_meson.build
Jason E. Hale 8c1efc578d multimedia/gstreamer1: Update to 1.24.8
Mk/Uses/gstreamer.mk:
- Sort, fix whitespace issues and typos
- Promote several common variables to improve maintainer QOL
*   There's now no need to set manually set PORTVERSION nor
    SOVERSION in several Makefiles
*   This will help to prevent not updating some components
*   A note has been added, however, to remind maintainers
    to remake distinfo for certain ports
- Improve documentation

multimedia/gstreamer1-plugins-webrtc:
- New port split from multimedia/gstreamer1-plugins-bad
- multimedia/gstreamer1-plugins-rust has been updated
  to reflect this change

net/gstreamer1-plugins-sctp:
- New port split from multimedia/gstreamer1-plugins-bad

x11-toolkits/gstreamer1-plugins-qt5:
- Moved here from graphics/gstreamer1-plugins-qt to
  align with its new Qt6 counterpart

x11-toolkits/gstreamer1-plugins-qt6:
- New port: GStreamer Qt6 QML videosink plugin

*/*:
- Improve Makefile order and formatting
- Sorry for the repo churn, but not fixing this would just lead to more
  poorly formatted gstreamer ports in the future via copypasta

https://gstreamer.freedesktop.org/releases/1.24/#1.24.8

PR:		278914
Reported by:	vvd
2024-09-22 06:35:56 -04:00

98 lines
2.1 KiB
Text

--- tests/examples/meson.build.orig 2024-09-19 10:01:21 UTC
+++ tests/examples/meson.build
@@ -1,26 +1,72 @@
-subdir('audiomixmatrix')
-subdir('avsamplesink')
-subdir('camerabin2')
-subdir('codecparsers')
-subdir('codecs')
-subdir('d3d11')
-subdir('d3d12')
-subdir('directfb')
-subdir('gtk')
-subdir('ipcpipeline')
-subdir('mediafoundation')
-subdir('mpegts')
-subdir('msdk')
-subdir('mxf')
-subdir('nvcodec')
-subdir('opencv', if_found: opencv_dep)
-subdir('qsv')
-subdir('qt6d3d11')
-subdir('uvch264')
-subdir('va')
-subdir('waylandsink')
-subdir('webrtc')
-subdir('wpe')
+if get_option('audiomixmatrix').enabled()
+ subdir('audiomixmatrix')
+endif
+if get_option('applemedia').enabled()
+ subdir('avsamplesink')
+endif
+if get_option('camerabin2').enabled()
+ subdir('camerabin2', if_found: gtk_dep)
+endif
+if get_option('codecparsers').enabled()
+ subdir('codecparsers')
+endif
+if get_option('codecs').enabled()
+ subdir('codecs')
+endif
+if get_option('d3d11').enabled()
+ subdir('d3d11')
+endif
+if get_option('d3d12').enabled()
+ subdir('d3d12')
+endif
+if get_option('directfb').enabled()
+ subdir('directfb')
+endif
+if get_option('gtk3').enabled()
+ subdir('gtk')
+endif
+if get_option('ipcpipeline').enabled()
+ subdir('ipcpipeline')
+endif
+if get_option('mediafoundation').enabled()
+ subdir('mediafoundation')
+endif
+if get_option('mpegts').enabled()
+ subdir('mpegts')
+endif
+if get_option('msdk').enabled()
+ subdir('msdk')
+endif
+if get_option('mxf').enabled()
+ subdir('mxf', if_found: gtk_dep)
+endif
+if get_option('nvcodec').enabled()
+ subdir('nvcodec')
+endif
+if get_option('opencv').enabled()
+ subdir('opencv', if_found: opencv_dep)
+endif
+if get_option('qsv').enabled()
+ subdir('qsv')
+endif
+if get_option('qt6d3d11').enabled()
+ subdir('qt6d3d11')
+endif
+if get_option('uvch264').enabled()
+ subdir('uvch264')
+endif
+if get_option('va').enabled()
+ subdir('va')
+endif
+if get_option('wayland').enabled()
+ subdir('waylandsink')
+endif
+if get_option('webrtc').enabled()
+ subdir('webrtc')
+endif
+if get_option('wpe').enabled()
+ subdir('wpe')
+endif
executable('playout',
'playout.c',