Skip to content

Commit

Permalink
add: gamescope-session-steam (#1554) (#1558)
Browse files Browse the repository at this point in the history
(cherry picked from commit 28f53f3)

Co-authored-by: madomado <[email protected]>
  • Loading branch information
raboneko and madonuko authored Jul 18, 2024
1 parent f26ec95 commit 57d9398
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
8 changes: 8 additions & 0 deletions anda/games/gamescope-session-steam/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "gamescope-session-steam.spec"
}
labels {
nightly = 1
}
}
40 changes: 40 additions & 0 deletions anda/games/gamescope-session-steam/gamescope-session-steam.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
%define debug_package %nil

%global commit 015e09825d4f9a2dfdbc20fc2711e2dcee2af68a
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20240719

Name: gamescope-session-steam
Version: %commit_date.%shortcommit
Release: 1%?dist
Summary: gamescope-session-steam
License: MIT
URL: https://github.com/ChimeraOS/gamescope-session-steam
Source0: %url/archive/%commit.tar.gz

%description
%summary.

%prep
%autosetup -n %name-%commit

%build

%install
mkdir -p %buildroot
cp -r usr %buildroot/

%files
%license LICENSE
%_bindir/steamos-polkit-helpers/
%_bindir/jupiter-biosupdate
%_bindir/steam-http-loader
%_bindir/steamos-select-branch
%_bindir/steamos-session-select
%_bindir/steamos-update
%_datadir/applications/gamescope-mimeapps.list
%_datadir/applications/steam_http_loader.desktop
%_datadir/gamescope-session-plus/sessions.d/steam
%_datadir/polkit-1/actions/org.chimeraos.update.policy
%_datadir/wayland-sessions/gamescope-session-steam.desktop
%_datadir/wayland-sessions/gamescope-session.desktop
7 changes: 7 additions & 0 deletions anda/games/gamescope-session-steam/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if filters.contains("nightly") {
rpm.global("commit", gh_commit("ChimeraOS/gamescope-session-steam"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}
}

0 comments on commit 57d9398

Please sign in to comment.