From 96ae670ae2c7013b4f3ddf5b3bc172eeb600550ef1ab11b52ad1f816e59f8f17 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Sat, 19 Nov 2022 01:27:12 +0000 Subject: [PATCH] - Vulkan requires recent libplacebo; disable on Leap <= 15.3 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=281 --- mpv.changes | 1 + mpv.spec | 3 +++ 2 files changed, 4 insertions(+) diff --git a/mpv.changes b/mpv.changes index 6fc41a5..3817e3f 100644 --- a/mpv.changes +++ b/mpv.changes @@ -5,6 +5,7 @@ Sat Nov 19 00:49:40 UTC 2022 - mia@0x0.st - _service: obs_scm -> obs_tar - Do not require libsixel and mujs where no appropriate versions are packaged +- Vulkan requires recent libplacebo; disable on Leap <= 15.3 - Update to version 0.35+git.20221118.d3a61cfe: * wayland: also log refresh rate on surface entrance * drm: remove legacy API diff --git a/mpv.spec b/mpv.spec index 53e0213..2cd43be 100644 --- a/mpv.spec +++ b/mpv.spec @@ -39,6 +39,7 @@ BuildRequires: libjpeg-devel BuildRequires: linux-kernel-headers # Needed any lua to convert the bash-completion BuildRequires: lua +BuildRequires: meson>=0.60.3 BuildRequires: perl BuildRequires: pkgconfig BuildRequires: python3-docutils @@ -228,7 +229,9 @@ python3 ./waf configure \ --enable-openal \ --enable-wayland \ --enable-gl-wayland \ +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 --enable-vulkan \ +%endif --enable-gl-x11 \ --enable-egl-x11 \ --enable-egl-drm \