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