Create wayback.spec
This commit is contained in:
53
wayback/wayback.spec
Normal file
53
wayback/wayback.spec
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
# SPDX-FileCopyrightText: (C) 2025 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
||||||
|
# SPDX-FileCopyrightText: (C) 2025 openRuyi Project Contributors
|
||||||
|
# SPDX-FileContributor: jingyupu <pujingyu@iscas.ac.cn>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MulanPSL-2.0
|
||||||
|
|
||||||
|
Name: wayback
|
||||||
|
Version: 0.1
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: Experimental X11 compatibility layer for Wayland
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
URL: https://gitlab.freedesktop.org/wayback/wayback
|
||||||
|
Source: https://gitlab.freedesktop.org/wayback/wayback/-/archive/%version/wayback-%version.tar.gz
|
||||||
|
BuildRequires: c++_compiler
|
||||||
|
BuildRequires: meson
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: pkgconfig(wayland-client)
|
||||||
|
BuildRequires: pkgconfig(wayland-server)
|
||||||
|
BuildRequires: pkgconfig(wayland-egl)
|
||||||
|
BuildRequires: pkgconfig(wayland-cursor)
|
||||||
|
BuildRequires: pkgconfig(xkbcommon)
|
||||||
|
BuildRequires: pkgconfig(xwayland)
|
||||||
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.14
|
||||||
|
BuildRequires: wlroots-devel >= 0.19
|
||||||
|
Requires: xwayland
|
||||||
|
|
||||||
|
%description
|
||||||
|
Wayback is an experimental X compatibility layer which allows for
|
||||||
|
running full X desktop environments using Wayland components. It is
|
||||||
|
essentially a stub compositor which provides just enough Wayland
|
||||||
|
capabilities to host a rootful Xwayland server.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
# includedir intentional, cf. bugzilla.opensuse.org/795968
|
||||||
|
%meson \
|
||||||
|
--includedir="%_includedir/%name" -Dgenerate_manpages=disabled
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%_bindir/Xwayback
|
||||||
|
%_bindir/wayback-session
|
||||||
|
%_libexecdir/wayback*
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
%{?autochangelog}
|
||||||
Reference in New Issue
Block a user