From 7acd484da192a2cd51902dd51f0cdfcc80ef0c12 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Mon, 2 Feb 2026 17:49:20 -0800 Subject: [PATCH] gamescope-session: move sources to opengamingcollective instead of bazzite-org (#9588) (#9601) * gamescope-session: move sources to opengamingcollective instead of bazzite-org This is should be the new canonical source for this session code, Kyle mentioned himself we should move and most patches included on the bazzite-org repository should be on the OGC one instead now * fix(gamescope-session): anda config and noarch + git format as well https://github.com/terrapkg/packages/pull/9591#issuecomment-3837796158 --------- (cherry picked from commit 1a18091de8757418a726e638f12bb21436adce63) Signed-off-by: Tulip Blossom Co-authored-by: Tulip Blossom --- anda/games/gamescope-session/anda.hcl | 1 + .../gamescope-session/gamescope-session.spec | 21 ++++++++++++------- anda/games/gamescope-session/update.rhai | 2 +- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/anda/games/gamescope-session/anda.hcl b/anda/games/gamescope-session/anda.hcl index e2d33a48b1..8fba0756b1 100644 --- a/anda/games/gamescope-session/anda.hcl +++ b/anda/games/gamescope-session/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "gamescope-session.spec" } diff --git a/anda/games/gamescope-session/gamescope-session.spec b/anda/games/gamescope-session/gamescope-session.spec index bfb605c1a2..f6bd8ace06 100644 --- a/anda/games/gamescope-session/gamescope-session.spec +++ b/anda/games/gamescope-session/gamescope-session.spec @@ -1,17 +1,19 @@ %define debug_package %nil -%global commit df099b31451531a2bb5a1dc29c93f76bbbab79d0 +%global commit b5c2d0d3ebcefa7450d9d4336dd5802aa96d8513 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20251109 +%global commit_date 20260202 Name: gamescope-session -Version: %commit_date.%shortcommit +Version: 0~%{commit_date}git.%{shortcommit} Release: 1%?dist Summary: Gamescope session based on Valve's gamescope License: MIT -URL: https://github.com/bazzite-org/gamescope-session +URL: https://github.com/OpenGamingCollective/gamescope-session Source0: %url/archive/%commit.tar.gz BuildRequires: systemd-rpm-macros +Packager: Tulip Blossom +BuildArch: noarch %description Gamescope session plus based on Valve's gamescope. @@ -22,8 +24,13 @@ Gamescope session plus based on Valve's gamescope. %build %install -mkdir -p %buildroot -cp -r usr %buildroot/ +install -Dpm0755 -t "%buildroot%_bindir/" ".%_bindir/export-gpu" +install -Dpm0755 -t "%buildroot%_bindir/" ".%_bindir/gamescope-session-plus" +install -Dpm0644 -t "%buildroot%_userunitdir/" ".%_userunitdir/gamescope-session-plus@.service" +install -Dpm0644 -t "%buildroot%_userunitdir/" ".%_userunitdir/gamescope-session.target" +install -Dpm0644 -t "%buildroot%_datadir/gamescope-session-plus/" ".%_datadir/gamescope-session-plus/device-quirks" +install -Dpm0644 -t "%buildroot%_datadir/gamescope-session-plus/" ".%_datadir/gamescope-session-plus/gamescope-session-plus" +install -Dpm0644 -t "%buildroot%_datadir/gamescope/scripts/50-custom/50-disable-explicit-sync.lua" ".%_datadir/gamescope/scripts/50-custom/50-disable-explicit-sync.lua" %files %doc README.md @@ -32,9 +39,9 @@ cp -r usr %buildroot/ %{_bindir}/gamescope-session-plus %{_datadir}/gamescope-session-plus/device-quirks %{_datadir}/gamescope-session-plus/gamescope-session-plus +%{_datadir}/gamescope/scripts/50-custom/50-disable-explicit-sync.lua %{_userunitdir}/gamescope-session-plus@.service %{_userunitdir}/gamescope-session.target - %changelog %autochangelog diff --git a/anda/games/gamescope-session/update.rhai b/anda/games/gamescope-session/update.rhai index 08c489e27a..e7a36decec 100644 --- a/anda/games/gamescope-session/update.rhai +++ b/anda/games/gamescope-session/update.rhai @@ -1,5 +1,5 @@ if filters.contains("nightly") { - rpm.global("commit", gh_commit("bazzite-org/gamescope-session")); + rpm.global("commit", gh_commit("OpenGamingCollective/gamescope-session")); if rpm.changed() { rpm.release(); rpm.global("commit_date", date());