* xwm: Fix double-close * xwayland: fix assertion failure in wlr_xwayland_shell_v1 * backend, output: send commit events after applying all in wlr_backend_commit() * backend/session: fix crash on udev device remove event * linux_drm_syncobj_v1: fix use-after-free in surface_commit_destroy() * ci: fix VKMS lookup after faux bus migration * util/box.c: use 1/256 instead of 1/65536 in wlr_box_closest_point() OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wlroots?expand=0&rev=84
133 lines
4.2 KiB
RPMSpec
133 lines
4.2 KiB
RPMSpec
#
|
|
# spec file for package wlroots
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%global ver_suffix 0.19
|
|
%global sover 0_19
|
|
%global patch_ver 2
|
|
%global libname libwlroots-%{sover}
|
|
%bcond_without drm_backend
|
|
%bcond_without libinput_backend
|
|
%bcond_without x11_backend
|
|
%bcond_without xwayland
|
|
%bcond_without xcb_errors
|
|
|
|
Name: wlroots
|
|
Version: %{ver_suffix}.%{patch_ver}
|
|
Release: 0
|
|
Summary: Modular Wayland compositor library
|
|
License: MIT
|
|
Group: System/GUI/Other
|
|
URL: https://gitlab.freedesktop.org/wlroots/wlroots
|
|
Source0: https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/%{version}/downloads/%{name}-%{version}.tar.gz
|
|
Source1: https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/%{version}/downloads/%{name}-%{version}.tar.gz.sig
|
|
Source2: https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19#/%{name}.keyring
|
|
BuildRequires: glslang-devel
|
|
BuildRequires: meson >= 0.59.0
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(egl)
|
|
BuildRequires: pkgconfig(gbm) >= 17.1.0
|
|
BuildRequires: pkgconfig(glesv2)
|
|
BuildRequires: pkgconfig(hwdata)
|
|
BuildRequires: pkgconfig(lcms2)
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
BuildRequires: pkgconfig(libavformat)
|
|
BuildRequires: pkgconfig(libavutil)
|
|
BuildRequires: pkgconfig(libdisplay-info)
|
|
BuildRequires: pkgconfig(libdrm) >= 2.4.113
|
|
BuildRequires: pkgconfig(libliftoff)
|
|
%if %{with libinput_backend}
|
|
BuildRequires: pkgconfig(libinput) >= 1.14.0
|
|
%endif
|
|
BuildRequires: pkgconfig(libpng)
|
|
BuildRequires: pkgconfig(libseat)
|
|
BuildRequires: pkgconfig(libudev)
|
|
BuildRequires: pkgconfig(pixman-1)
|
|
BuildRequires: pkgconfig(vulkan) >= 1.2.182
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
BuildRequires: pkgconfig(wayland-egl)
|
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.25
|
|
BuildRequires: pkgconfig(wayland-server) >= 1.21
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
%if %{with x11_backend} || %{with xwayland}
|
|
BuildRequires: xorg-x11-server-wayland
|
|
BuildRequires: pkgconfig(x11-xcb)
|
|
BuildRequires: pkgconfig(xcb)
|
|
BuildRequires: pkgconfig(xcb-composite)
|
|
BuildRequires: pkgconfig(xcb-icccm)
|
|
BuildRequires: pkgconfig(xcb-image)
|
|
BuildRequires: pkgconfig(xcb-render)
|
|
BuildRequires: pkgconfig(xcb-renderutil)
|
|
BuildRequires: pkgconfig(xcb-xfixes)
|
|
BuildRequires: pkgconfig(xcb-xkb)
|
|
BuildRequires: pkgconfig(xwayland)
|
|
BuildRequires: pkgconfig(xwaylandproto)
|
|
%if %{with xcb_errors}
|
|
BuildRequires: pkgconfig(xcb-errors)
|
|
%endif
|
|
%endif
|
|
|
|
%description
|
|
Pluggable, composable modules for building a Wayland compositor.
|
|
|
|
%package devel
|
|
Summary: Modular Wayland compositor library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{libname} = %{version}
|
|
|
|
%description devel
|
|
Pluggable, composable modules for building a Wayland compositor.
|
|
|
|
%package -n %{libname}
|
|
Summary: Modular Wayland compositor library
|
|
Group: System/Libraries
|
|
|
|
%description -n %{libname}
|
|
Pluggable, composable modules for building a Wayland compositor.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
export CFLAGS="%{optflags} -I/usr/include/wayland -Wno-redundant-decls"
|
|
%meson \
|
|
"-Dbackends=[
|
|
%{?with_drm_backend:'drm',}
|
|
%{?with_libinput_backend:'libinput',}
|
|
%{?with_x11_backend:'x11',}
|
|
]" \
|
|
%{?with_xwayland:-Dxwayland=enabled} \
|
|
%{?with_xcb_errors:-Dxcb-errors=enabled}
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
%files devel
|
|
%license LICENSE
|
|
%doc README.md CONTRIBUTING.md
|
|
%{_includedir}/%{name}-%{ver_suffix}/
|
|
%{_libdir}/pkgconfig/%{name}-%{ver_suffix}.pc
|
|
|
|
%files -n %{libname}
|
|
%{_libdir}/libwlroots-%{ver_suffix}.so
|
|
|
|
%changelog
|