Accepting request 1345195 from home:jangaza

Added echo in `%post`, removed suppression of devel-file-in-non-devel-package and made some edits

OBS-URL: https://build.opensuse.org/request/show/1345195
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/waywall?expand=0&rev=1
This commit is contained in:
2026-04-09 09:51:39 +00:00
committed by Git OBS Bridge
commit 86121b065a
8 changed files with 164 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Mar 27 15:18:09 UTC 2026 - jan gaza <jangaza@proton.me>
- initial wayland package version 0.2026.02.06
+119
View File
@@ -0,0 +1,119 @@
#
# spec file for package waywall
#
# Copyright (c) 2026 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/
#
%global __provides_exclude_from ^%{_libdir}/waywall-glfw/.*$
Name: waywall
Version: 0.2026.02.06
Release: 0
Summary: Wayland compositor for Minecraft speedrunning
License: GPL-3.0-only AND Zlib
Group: Amusements/Games/Other
URL: https://github.com/tesselslate/waywall
Source0: %{URL}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: https://github.com/glfw/glfw/archive/refs/tags/3.4.tar.gz#/glfw-3.4.tar.gz
Source2: README.SUSE
BuildRequires: meson >= 1.3.0
BuildRequires: ninja
BuildRequires: c_compiler
BuildRequires: pkgconfig
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(luajit)
BuildRequires: pkgconfig(spng)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-server)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-composite)
BuildRequires: pkgconfig(xcb-res)
BuildRequires: pkgconfig(xcb-xtest)
BuildRequires: pkgconfig(xwayland)
BuildRequires: pkgconfig(xkbcommon)
# only in waywall meson.build:
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-scanner)
# glfw specific
BuildRequires: cmake
# for x11 support (not needed with -DGLFW_BUILD_X11=OFF)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xi)
# only in waywall RPM build script, check if needed
BuildRequires: pkgconfig(x11)
# Runtime dependencies:
Requires: xwayland
# waywall is a Minecraft desktop gaming tool, only 64-bit PC and ARM make sense
ExclusiveArch: x86_64 aarch64
%description
Waywall is a Wayland compositor that provides various convenient features for Minecraft speedrunning.
%prep
%setup -q -a 1
cp %{SOURCE2} .
# apply waywall patch to GLFW
pushd glfw-3.4
patch -p1 < ../contrib/glfw.patch
popd
%build
# build waywall
%meson
%meson_build
# build patched GLFW (create .so with wayland support)
pushd glfw-3.4
%cmake -DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_WAYLAND=ON
%cmake_build
popd
%install
install -d -m 0755 %{buildroot}%{_bindir}
install -m 0755 %{_vpath_builddir}/waywall/waywall %{buildroot}%{_bindir}/waywall
install -d -m 0755 %{buildroot}%{_libdir}/waywall-glfw
# cp -a to preserve symlinks
cp -a glfw-3.4/build/src/libglfw.so.3* %{buildroot}%{_libdir}/waywall-glfw/
%check
%meson_test
%post
echo "======================================================================="
cat %{_defaultdocdir}/%{name}/README.SUSE
echo "======================================================================="
%files
%license LICENSE
%doc README.md README.SUSE
%{_bindir}/waywall
%license glfw-3.4/LICENSE.md
%dir %{_libdir}/waywall-glfw
%{_libdir}/waywall-glfw/libglfw.so*
%changelog
+4
View File
@@ -0,0 +1,4 @@
<services>
<!-- downloads glfw and waywall (using Version) -->
<service name="download_files" mode="manual" />
</services>
+24
View File
@@ -0,0 +1,24 @@
*.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
+4
View File
@@ -0,0 +1,4 @@
*.obscpio
*.osc
_build.*
.pbuild
+3
View File
@@ -0,0 +1,3 @@
Important Warning Regarding GLFW Path:
-----------------------------------
Please use this path in Prism/MultiMC "GLFW library path" settings: `/usr/lib64/waywall-glfw/libglfw.so.3`, do not use path from offical waywall documentation.
BIN
View File
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:059b07aa187dafd0e62f88776f372bb17c9aabd3d46200a1a0bd07393174aceb
size 450908