mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-14 10:21:09 +00:00
chore(specs): Package OpenGamepadUI gamescope session
Excludes opengamepadui-session-select in favor of Bazzite's session selection implementation.
This commit is contained in:
parent
923eeebcf4
commit
3bdcef4efb
@ -0,0 +1,34 @@
|
||||
Name: gamescope-session-opengamepadui
|
||||
Version: {{{ git_dir_version }}}
|
||||
Release: 1%{?dist}
|
||||
Summary: Gamescope session for OpenGamepadUI
|
||||
|
||||
URL: https://github.com/ublue-os/bazzite
|
||||
|
||||
License: GPLv3
|
||||
Source: https://github.com/ShadowBlip/OpenGamepadUI-session/archive/refs/heads/main.tar.gz
|
||||
Patch0: session-select.patch
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: gamescope-session-plus
|
||||
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
||||
%description
|
||||
Gamescope session for OpenGamepadUI
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-main
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_datadir}/
|
||||
cp -rv usr/share/* %{buildroot}%{_datadir}
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%{_datadir}/gamescope-session-plus/sessions.d/opengamepadui
|
||||
%{_datadir}/polkit-1/actions/org.shadowblip.opengamepadui-session.policy
|
||||
%{_datadir}/wayland-sessions/gamescope-session-opengamepadui.desktop
|
||||
|
||||
%changelog
|
||||
{{{ git_dir_changelog }}}
|
@ -0,0 +1,12 @@
|
||||
diff --git a/usr/share/polkit-1/actions/org.shadowblip.opengamepadui-session.policy b/usr/share/polkit-1/actions/org.shadowblip.opengamepadui-session.policy
|
||||
index 98308cc..f85ab15 100644
|
||||
--- a/usr/share/polkit-1/actions/org.shadowblip.opengamepadui-session.policy
|
||||
+++ b/usr/share/polkit-1/actions/org.shadowblip.opengamepadui-session.policy
|
||||
@@ -11,6 +11,6 @@
|
||||
<allow_inactive>yes</allow_inactive>
|
||||
<allow_active>yes</allow_active>
|
||||
</defaults>
|
||||
- <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/opengamepadui-session-select</annotate>
|
||||
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/steamos-session-select</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
Loading…
x
Reference in New Issue
Block a user