repository Drops 12509c0f.patch OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=87
107 lines
3.5 KiB
RPMSpec
107 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package libplacebo
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define sover 351
|
|
Name: libplacebo
|
|
Version: 7.351.0
|
|
Release: 0
|
|
Summary: Library for GPU-accelerated video/image rendering primitives
|
|
License: LGPL-2.1-or-later
|
|
URL: https://code.videolan.org/videolan/libplacebo
|
|
Source0: https://code.videolan.org/videolan/libplacebo/-/archive/v%{version}/libplacebo-v%{version}.tar.bz2
|
|
Source1: https://github.com/Immediate-Mode-UI/Nuklear/raw/c512ac886425f6b6b6c816d67f4cb1385cd4cc53/nuklear.h
|
|
Source9: baselibs.conf
|
|
Patch0: https://code.videolan.org/videolan/libplacebo/-/commit/12509c0f1ee8c22ae163017f0a5e7b8a9d983a17.patch
|
|
BuildRequires: c++_compiler
|
|
BuildRequires: c_compiler
|
|
BuildRequires: meson >= 0.63.0
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python3-Jinja2
|
|
BuildRequires: python3-glad2
|
|
BuildRequires: pkgconfig(dav1d)
|
|
BuildRequires: pkgconfig(dovi)
|
|
BuildRequires: pkgconfig(glfw3)
|
|
BuildRequires: pkgconfig(lcms2)
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
BuildRequires: pkgconfig(libavformat)
|
|
BuildRequires: pkgconfig(libavutil)
|
|
BuildRequires: pkgconfig(libunwind)
|
|
BuildRequires: pkgconfig(libxxhash)
|
|
BuildRequires: pkgconfig(sdl2)
|
|
BuildRequires: pkgconfig(shaderc)
|
|
BuildRequires: pkgconfig(vulkan)
|
|
BuildSystem: meson
|
|
BuildOption: -Dglslang=disabled
|
|
BuildOption: -Dd3d11=disabled
|
|
BuildOption: -Dtests=true
|
|
BuildOption: -Ddemos=true
|
|
|
|
%description
|
|
This library contains GPU-accelerated video/image rendering
|
|
primitives, as well as a standalone vulkan-based image/video
|
|
renderer. It is based on the core rendering algorithms and ideas
|
|
of mpv.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{sover} = %{version}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%package -n %{name}%{sover}
|
|
Summary: Library for GPU-accelerated video/image rendering primitives
|
|
|
|
%description -n %{name}%{sover}
|
|
This library contains GPU-accelerated video/image rendering
|
|
primitives, as well as a standalone vulkan-based image/video
|
|
renderer. It is based on the core rendering algorithms and ideas
|
|
of mpv.
|
|
|
|
%package -n plplay
|
|
Summary: Example video player based on %{name}
|
|
|
|
%description -n plplay
|
|
A small example video player based on %{name} and FFmpeg. This provides little
|
|
more than the ability to display video files, and rather serves as a tool to
|
|
help understand and demonstrate the various options provided by %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{name}-v%{version}
|
|
cp %{SOURCE1} ./demos/3rdparty/nuklear/
|
|
|
|
%ldconfig_scriptlets -n %{name}%{sover}
|
|
|
|
%files -n %{name}%{sover}
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_libdir}/%{name}.so.%{sover}
|
|
|
|
%files devel
|
|
%doc README.md demos
|
|
%license LICENSE
|
|
%{_includedir}/%{name}
|
|
%{_libdir}/%{name}.so
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%files -n plplay
|
|
%{_bindir}/plplay
|
|
|
|
%changelog
|