]> git.pld-linux.org Git - packages/wlroots.git/blame - wlroots.spec
BR: xorg-xserver-Xwayland-devel; explicitly enable xwayland; rel 2
[packages/wlroots.git] / wlroots.spec
CommitLineData
ed3567b5
JP
1Summary: A modular Wayland compositor library
2Name: wlroots
20723c1a 3Version: 0.13.0
0fe6cd47 4Release: 2
ed3567b5
JP
5License: MIT
6Group: Libraries
7Source0: https://github.com/swaywm/wlroots/releases/download/%{version}/%{name}-%{version}.tar.gz
20723c1a 8# Source0-md5: 614bfd6dfb47e86699d0215646519ad6
378d42d3 9Patch0: x32.patch
ed3567b5
JP
10URL: https://github.com/swaywm/wlroots
11BuildRequires: EGL-devel
12BuildRequires: Mesa-libgbm-devel >= 17.1.0
13BuildRequires: OpenGLESv2-devel
14BuildRequires: libdrm-devel >= 2.4.95
20723c1a
JP
15BuildRequires: libinput-devel >= 1.14.0
16BuildRequires: libuuid-devel
ed3567b5 17BuildRequires: libxcb-devel
20723c1a 18BuildRequires: meson >= 0.56.0
ed3567b5
JP
19BuildRequires: ninja
20BuildRequires: pixman-devel
21BuildRequires: pkgconfig
22BuildRequires: rpmbuild(macros) >= 1.736
23BuildRequires: systemd-devel >= 237
24BuildRequires: udev-devel
20723c1a 25BuildRequires: wayland-devel >= 1.19
ed3567b5
JP
26BuildRequires: wayland-protocols >= 1.17
27BuildRequires: xcb-util-wm-devel
28BuildRequires: xorg-lib-libxkbcommon-devel
0fe6cd47 29BuildRequires: xorg-xserver-Xwayland-devel
ed3567b5
JP
30Requires: Mesa-libgbm >= 17.1.0
31Requires: libdrm >= 2.4.95
20723c1a 32Requires: libinput >= 1.14.0
ed3567b5
JP
33Requires: wayland >= 1.18
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37Pluggable, composable, unopinionated modules for building a Wayland
38compositor; or about 50,000 lines of code you were going to write
39anyway.
40- wlroots provides backends that abstract the underlying display and
41 input hardware, including KMS/DRM, libinput, Wayland, X11, and
42 headless backends, plus any custom backends you choose to write, which
43 can all be created or destroyed at runtime and used in concert with
44 each other.
45- wlroots provides unopinionated, mostly standalone implementations of
46 many Wayland interfaces, both from wayland.xml and various protocol
47 extensions. We also promote the standardization of portable extensions
48 across many compositors.
49- wlroots provides several powerful, standalone, and optional tools
50 that implement components common to many compositors, such as the
51 arrangement of outputs in physical space.
52- wlroots provides an Xwayland abstraction that allows you to have
53 excellent Xwayland support without worrying about writing your own X11
54 window manager on top of writing your compositor.
55- wlroots provides a renderer abstraction that simple compositors can
56 use to avoid writing GL code directly, but which steps out of the way
57 when your needs demand custom rendering code.
58
59%package devel
60Summary: Header files for wlroots library
61Group: Development/Libraries
62Requires: %{name} = %{version}-%{release}
63Requires: EGL-devel
64Requires: Mesa-libgbm-devel >= 17.1.0
65Requires: OpenGLESv2-devel
66Requires: libdrm-devel >= 2.4.95
20723c1a 67Requires: libinput-devel >= 1.14.0
ed3567b5
JP
68Requires: libxcb-devel
69Requires: pixman-devel
70Requires: systemd-devel >= 237
71Requires: udev-devel
20723c1a 72Requires: wayland-devel >= 1.19
ed3567b5
JP
73Requires: wayland-protocols >= 1.17
74Requires: xcb-util-wm-devel
75Requires: xorg-lib-libxkbcommon-devel
76
77%description devel
78Header files for wlroots library.
79
80%package static
81Summary: Static wlroots library
82Group: Development/Libraries
83Requires: %{name}-devel = %{version}-%{release}
84
85%description static
86Static wlroots library.
87
88%prep
89%setup -q
378d42d3 90%patch0 -p1
ed3567b5
JP
91
92%build
0fe6cd47
JP
93%meson build \
94 -Dxwayland=enabled
ed3567b5
JP
95%ninja_build -C build
96
97%install
98rm -rf $RPM_BUILD_ROOT
99%ninja_install -C build
100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
104%post -p /sbin/ldconfig
105%postun -p /sbin/ldconfig
106
107%files
108%defattr(644,root,root,755)
109%doc CONTRIBUTING.md README.md
20723c1a 110%attr(755,root,root) %{_libdir}/libwlroots.so.8
ed3567b5
JP
111
112%files devel
113%defattr(644,root,root,755)
114%attr(755,root,root) %{_libdir}/libwlroots.so
115%{_includedir}/wlr
116%{_pkgconfigdir}/wlroots.pc
117
118%files static
119%defattr(644,root,root,755)
120%{_libdir}/libwlroots.a
This page took 0.146713 seconds and 4 git commands to generate.