From 13d83153bdae3e269beb98d98268acb6a76bbf88 Mon Sep 17 00:00:00 2001
From: Jan Beich <jbeich@FreeBSD.org>
Date: Wed, 19 Jun 2024 17:54:41 +0200
Subject: [PATCH] graphics/libplacebo: update to 7.349.0

Changes:	https://code.videolan.org/videolan/libplacebo/-/tags/v7.349.0
Reported by:	GitHub (watch releases)
---
 graphics/libplacebo/Makefile                         |  2 +-
 graphics/libplacebo/distinfo                         |  6 +++---
 graphics/libplacebo/files/patch-src_glsl_meson.build | 12 ------------
 graphics/libplacebo/pkg-plist                        |  2 +-
 multimedia/dav1d/Makefile                            |  1 +
 multimedia/ffmpeg/Makefile                           |  2 +-
 multimedia/mpv/Makefile                              |  1 +
 7 files changed, 8 insertions(+), 18 deletions(-)
 delete mode 100644 graphics/libplacebo/files/patch-src_glsl_meson.build

diff --git a/graphics/libplacebo/Makefile b/graphics/libplacebo/Makefile
index caa05ab5818d..c7377dc81152 100644
--- a/graphics/libplacebo/Makefile
+++ b/graphics/libplacebo/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libplacebo
 DISTVERSIONPREFIX=	v
-DISTVERSION=	6.338.2
+DISTVERSION=	7.349.0
 CATEGORIES=	graphics
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/graphics/libplacebo/distinfo b/graphics/libplacebo/distinfo
index 12237bbc75a0..0ade4752dad3 100644
--- a/graphics/libplacebo/distinfo
+++ b/graphics/libplacebo/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1705945731
+TIMESTAMP = 1718812481
 SHA256 (fastfloat-fast_float-v5.2.0_GH0.tar.gz) = 72bbfd1914e414c920e39abdc81378adf910a622b62c45b4c61d344039425d18
 SIZE (fastfloat-fast_float-v5.2.0_GH0.tar.gz) = 84800
 SHA256 (Dav1dde-glad-v2.0.4_GH0.tar.gz) = 02629644c242dcc27c58222bd2c001d5e2f3765dbbcfd796542308bddebab401
 SIZE (Dav1dde-glad-v2.0.4_GH0.tar.gz) = 599932
-SHA256 (libplacebo-v6.338.2.tar.bz2) = 1c02d21720f972cae02111a1286337e9d0e70d623b311a1e4245bac5ce987f28
-SIZE (libplacebo-v6.338.2.tar.bz2) = 697450
+SHA256 (libplacebo-v7.349.0.tar.bz2) = 38c9c75d9c1bb412baf34845d1ca58c41a9804d1d0798091d7a8602a0d7c9aa6
+SIZE (libplacebo-v7.349.0.tar.bz2) = 701309
diff --git a/graphics/libplacebo/files/patch-src_glsl_meson.build b/graphics/libplacebo/files/patch-src_glsl_meson.build
deleted file mode 100644
index 9ab49e40f678..000000000000
--- a/graphics/libplacebo/files/patch-src_glsl_meson.build
+++ /dev/null
@@ -1,12 +0,0 @@
-src/glsl/meson.build:47:12: ERROR: C++ static library 'OGLCompiler' not found
-
---- src/glsl/meson.build.orig	2023-10-17 12:24:39 UTC
-+++ src/glsl/meson.build
-@@ -44,7 +44,6 @@ elif not glslang_req.disabled()
-         # Always required for static linking
-         cxx.find_library('MachineIndependent', required: true, static: true),
-         cxx.find_library('OSDependent',        required: true, static: true),
--        cxx.find_library('OGLCompiler',        required: true, static: true),
-         cxx.find_library('GenericCodeGen',     required: true, static: true),
-         # SPIRV-Tools are required only if optimizer is enabled in glslang build
-         cxx.find_library('SPIRV-Tools',        required: false, static: true),
diff --git a/graphics/libplacebo/pkg-plist b/graphics/libplacebo/pkg-plist
index e2dc8f84eee4..0303533a3bbc 100644
--- a/graphics/libplacebo/pkg-plist
+++ b/graphics/libplacebo/pkg-plist
@@ -33,5 +33,5 @@ include/libplacebo/utils/libav_internal.h
 include/libplacebo/utils/upload.h
 include/libplacebo/vulkan.h
 lib/libplacebo.so
-lib/libplacebo.so.338
+lib/libplacebo.so.349
 libdata/pkgconfig/libplacebo.pc
diff --git a/multimedia/dav1d/Makefile b/multimedia/dav1d/Makefile
index 5aa9b40cb47c..bd7fc8118b31 100644
--- a/multimedia/dav1d/Makefile
+++ b/multimedia/dav1d/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	dav1d
 DISTVERSION=	1.4.3
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index f42ba1780310..8acca3244f6d 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ffmpeg
 PORTVERSION=	6.1.1
-PORTREVISION=	5
+PORTREVISION=	6
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio net
 MASTER_SITES=	https://ffmpeg.org/releases/
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index ebcfdfa6408b..9d981469a494 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	mpv
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.38.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio