Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mantarimay:sway
labwc
labwc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File labwc.spec of Package labwc
# # spec file for package labwc # # Copyright (c) 2024 SUSE LLC # # 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/ # %bcond_with warp %bcond_with xwayland %define sname wlroots %define sver 0.18.0 Name: labwc Version: @SERVICE@ Release: 0 Summary: A Wayland window-stacking compositor License: GPL-2.0-or-later URL: https://github.com/labwc/labwc Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source1: https://gitlab.freedesktop.org/vyivel/libsfdo/-/archive/v0.1.3/libsfdo-v0.1.3.tar.bz2 %if %{with warp} Source2: https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/%{sver}/%{sname}-%{sver}.tar.bz2 Provides: bundled(wlroots) BuildRequires: liblcms2-devel BuildRequires: glslang-devel BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(hwdata) BuildRequires: pkgconfig(libdisplay-info) BuildRequires: pkgconfig(libliftoff) BuildRequires: pkgconfig(vulkan) 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(xwaylandproto) %else BuildRequires: wlroots-devel %endif BuildRequires: hicolor-icon-theme BuildRequires: meson BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libinput) >= 1.14 BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(libseat) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(pangocairo) BuildRequires: pkgconfig(pixman-1) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(xkbcommon) BuildRequires: scdoc Recommends: xwayland Recommends: %{name}-lang Requires: foot Suggests: rofi-wayland Suggests: grim Suggests: swaybg Suggests: waybar %description Labwc is a wlroots-based window-stacking compositor for wayland, inspired by openbox. %lang_package %prep %autosetup %if %{with warp} mkdir subprojects/%{sname} tar -xf %{SOURCE2} --strip-components 1 -C subprojects/%{sname} %endif mkdir subprojects/libsfdo tar -xf %{SOURCE1} --strip-components 1 -C subprojects/libsfdo %build %meson \ -Dman-pages=enabled \ %if %{with xwayland} -Dxwayland=enabled \ %else -Dxwayland=disabled \ %endif -Dnls=enabled %meson_build %install %meson_install --skip-subprojects install -Dm 0644 docs/*.xml -t %{buildroot}%{_sysconfdir}/xdg/%{name}/ %find_lang %{name} %files %license LICENSE %doc NEWS.md README.md %{_bindir}/%{name} %dir %{_sysconfdir}/xdg/%{name} %config(noreplace) %{_sysconfdir}/xdg/%{name}/menu.xml %config(noreplace) %{_sysconfdir}/xdg/%{name}/rc.xml %dir %{_datadir}/wayland-sessions %{_datadir}/xdg-desktop-portal %{_datadir}/wayland-sessions/%{name}.desktop %{_mandir}/man?/%{name}*.?%{?ext_man} %{_datadir}/doc/%{name}/ %{_datadir}/icons %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor