Florian
f3c83e3b53
Update to version 0.11.1beta OBS-URL: https://build.opensuse.org/request/show/998977 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/hyprland?expand=0&rev=3
94 lines
2.7 KiB
RPMSpec
94 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package hyprland
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
# Copyright (c) 2022 Florian "sp1rit" <packaging@sp1rit.anonaddy.me>
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: hyprland
|
|
Version: 0
|
|
Release: 0
|
|
Summary: Dynamic tiling Wayland compositor
|
|
License: BSD-3-Clause
|
|
URL: https://hyprland.org/
|
|
Source0: %{name}-%{version}.tar.xz
|
|
BuildRequires: gcc-c++ >= 11
|
|
BuildRequires: git
|
|
BuildRequires: glslang-devel
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(cairo)
|
|
BuildRequires: pkgconfig(egl)
|
|
BuildRequires: pkgconfig(gbm) >= 17.1.0
|
|
BuildRequires: pkgconfig(gl)
|
|
BuildRequires: pkgconfig(glesv2)
|
|
BuildRequires: pkgconfig(libdrm) >= 2.4.112
|
|
BuildRequires: pkgconfig(libinput) >= 1.14.0
|
|
BuildRequires: pkgconfig(libseat) >= 0.2.0
|
|
BuildRequires: pkgconfig(libudev)
|
|
BuildRequires: pkgconfig(pango)
|
|
BuildRequires: pkgconfig(pangocairo)
|
|
BuildRequires: pkgconfig(pixman-1)
|
|
BuildRequires: pkgconfig(vulkan) >= 1.2.182
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.26
|
|
BuildRequires: pkgconfig(wayland-scanner)
|
|
BuildRequires: pkgconfig(wayland-server) >= 1.21
|
|
BuildRequires: pkgconfig(xcb)
|
|
BuildRequires: pkgconfig(xcb-icccm)
|
|
BuildRequires: pkgconfig(xcb-renderutil)
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
BuildRequires: pkgconfig(xwayland)
|
|
%if 0%{?suse_version}
|
|
BuildRequires: Mesa-libGLESv3-devel
|
|
%bcond_without xcb_errors
|
|
%else
|
|
%bcond_with xcb_errors
|
|
%endif
|
|
%if %{with xcb_errors}
|
|
BuildRequires: pkgconfig(xcb-errors)
|
|
%endif
|
|
|
|
%description
|
|
Hyprland is a dynamic tiling Wayland compositor based on wlroots
|
|
that doesn't sacrifice on its looks.
|
|
|
|
It supports multiple layouts, fancy effects, has a very flexible IPC
|
|
model allowing for a lot of customization, and more.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson \
|
|
%{?with_xcb_errors:-Dwlroots:xcb-errors=enabled}
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install --tags runtime,man
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/Hyprland
|
|
%{_bindir}/hyprctl
|
|
%{_datadir}/%{name}/
|
|
%dir %{_datadir}/wayland-sessions/
|
|
%{_datadir}/wayland-sessions/%{name}.desktop
|
|
%{_mandir}/man1/Hyprland.*
|
|
%{_mandir}/man1/hyprctl.*
|
|
|
|
%changelog
|