head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.6 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.4 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.2 pkgsrc-2025Q3-base:1.4; locks; strict; comment @# @; 1.4 date 2025.08.23.12.45.41; author adam; state Exp; branches; next 1.3; commitid inKOsEAuNcIYYQ7G; 1.3 date 2022.04.19.16.27.43; author nia; state dead; branches; next 1.2; commitid C9Az8DYZlEJnuPAD; 1.2 date 2022.04.19.13.00.27; author tnn; state Exp; branches; next 1.1; commitid rLnlwmEiseaklOAD; 1.1 date 2022.04.18.12.36.08; author nia; state Exp; branches; next ; commitid D8FVt2OaMpiKeGAD; desc @@ 1.4 log @gst-plugins1-base: allow building of gl extension @ text @$NetBSD$ To build stand-alone gl. --- gst-libs/gst/gl/meson.build.orig 2025-08-23 09:55:31.084095801 +0000 +++ gst-libs/gst/gl/meson.build @@@@ -1140,7 +1140,7 @@@@ if build_gstgl library_def = {'lib': gstgl} pkg_name = 'gstreamer-gl-1.0' pkgconfig.generate(gstgl, - libraries : [gstvideo, gst_base_dep, gst_dep], + libraries : [gst_base_dep, gst_dep], variables : pkgconfig_variables + pkgconfig_gl_variables, uninstalled_variables : pkgconfig_gl_variables, subdirs : pkgconfig_subdirs, @ 1.3 log @gst-plugins1-base: remove broken unfinished patch (it was the wrong approach, and isn't necessary anyway) @ text @d1 1 a1 1 $NetBSD: patch-gst-libs_gst_gl_meson.build,v 1.2 2022/04/19 13:00:27 tnn Exp $ d3 1 a3 2 build_gstgl must be defined in the root meson.build so it's available when we are building plugins independently. d5 1 a5 1 --- gst-libs/gst/gl/meson.build.orig 2022-03-14 11:33:40.000000000 +0000 d7 9 a15 36 @@@@ -1,5 +1,5 @@@@ -if get_option('gl').disabled() - message('GStreamer OpenGL integration disabled via options.') +if 1 == 1 + message('GStreamer OpenGL integration disabled via pkgsrc kludge') gstgl_dep = dependency('', required: false) build_gstgl = false subdir_done() @@@@ -952,18 +952,22 @@@@ if egl_dep.found() endif endif -build_gstgl = true if enabled_gl_apis.length() == 0 message('No OpenGL API libraries found or requested') build_gstgl = false -endif -if enabled_gl_platforms.length() == 0 +elif enabled_gl_platforms.length() == 0 message('No OpenGL Platforms found or requested') build_gstgl = false -endif -if enabled_gl_winsys.length() == 0 +elif enabled_gl_winsys.length() == 0 message('No OpenGL Window systems found or requested') build_gstgl = false +elif not get_option('gl').disabled() + build_gstgl = true +else + message('GStreamer OpenGL integration disabled via options.') + gstgl_dep = dependency('', required: false) + build_gstgl = false + subdir_done() endif gstgl_dep = dependency('', required : false) @ 1.2 log @gst-plugins1-base: mend broken meson pkgsrc patch for gst-gl The patch has syntax errors and I think it is only needed for wip/gst-plugins1-gl? This might need to be done differently but should hopefully unbreak the base package which is more urgent until a proper fix can be made. @ text @d1 1 a1 1 $NetBSD: patch-gst-libs_gst_gl_meson.build,v 1.1 2022/04/18 12:36:08 nia Exp $ @ 1.1 log @gst-plugins1: Update to 1.20.1 Release notes: https://gstreamer.freedesktop.org/releases/1.20/ @ text @d1 1 a1 1 $NetBSD$ d8 1 a8 1 @@@@ -1,10 +1,3 @@@@ d11 6 a16 9 - gstgl_dep = dependency('', required: false) - build_gstgl = false - subdir_done() -endif - gl_sources = files([ 'gstglapi.c', 'gstglbasefilter.c', @@@@ -952,18 +945,24 @@@@ if egl_dep.found() d24 1 a24 1 endif d29 1 a29 1 endif @