diff --git a/pkg.info b/pkg.info index 95d8983..7c11bd3 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: vlc description: Free and open source cross-platform multimedia player and framework version: 3.0.23 -revision: 7 +revision: 8 url: https://www.videolan.org/vlc/ license: GPL2-or-later,LGPL2.1-or-later maintainers: diff --git a/source-files/gstreamer-1.28-fix.patch b/source-files/gstreamer-1.28-fix.patch new file mode 100644 index 0000000..8723425 --- /dev/null +++ b/source-files/gstreamer-1.28-fix.patch @@ -0,0 +1,29 @@ +From eea0bacf625d910e37630743c864f96704047936 Mon Sep 17 00:00:00 2001 +From: Steve Lhomme +Date: Wed, 11 Feb 2026 14:26:56 +0100 +Subject: [PATCH] gstreamer: remove unneeded includes + +We don't use anything specific to these headers that is not include by gstvlcpictureplaneallocator.h. + +Fixes #29604 +--- + modules/codec/gstreamer/gstvlcvideopool.h | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/modules/codec/gstreamer/gstvlcvideopool.h b/modules/codec/gstreamer/gstvlcvideopool.h +index 996665c4a3d..495643d929d 100644 +--- a/modules/codec/gstreamer/gstvlcvideopool.h ++++ b/modules/codec/gstreamer/gstvlcvideopool.h +@@ -26,9 +26,6 @@ + #ifndef VLC_GST_VIDEO_POOL_H + #define VLC_GST_VIDEO_POOL_H + +-#include +-#include +- + #include "gstvlcpictureplaneallocator.h" + + typedef struct _GstVlcVideoPool GstVlcVideoPool; +-- +GitLab + diff --git a/source.sh b/source.sh index 9d3671f..0b1dc63 100644 --- a/source.sh +++ b/source.sh @@ -2,6 +2,13 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT +# The prepare function is executed in the root of the temp directory +# This function is used for putting downloaded files to the correct location or applying patches +prepare() { + cd "$BPM_SOURCE" + patch -Np1 -i "$BPM_WORKDIR"/gstreamer-1.28-fix.patch +} + # The build function is executed in the source directory # This function is used to compile the source code build() {