-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
project pkg { | ||
rpm { | ||
spec = "gamescope-session.spec" | ||
} | ||
labels { | ||
nightly = 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
%define debug_package %nil | ||
|
||
%global commit 4aa204e6ef332457d277488ffa61959f2dcde470 | ||
%global shortcommit %(c=%{commit}; echo ${c:0:7}) | ||
%global commit_date 20240719 | ||
|
||
Name: gamescope-session | ||
Version: %commit_date.%shortcommit | ||
Release: 1%?dist | ||
Summary: ChimeraOS session on Gamescope | ||
License: MIT | ||
URL: https://github.com/ChimeraOS/gamescope-session | ||
Source0: %url/archive/%commit.tar.gz | ||
BuildRequires: systemd-rpm-macros | ||
|
||
%description | ||
Gamescope session plus based on Valve's gamescope. | ||
|
||
%prep | ||
%autosetup -n gamescope-session-%commit | ||
|
||
%build | ||
|
||
%install | ||
mkdir -p %buildroot | ||
cp -r usr %buildroot/ | ||
|
||
%files | ||
%doc README.md | ||
%license LICENSE | ||
%_bindir/export-gpu | ||
%_bindir/gamescope-session-plus | ||
%_userunitdir/[email protected] | ||
%_datadir/gamescope-session-plus/device-quirks | ||
%_datadir/gamescope-session-plus/gamescope-session-plus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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")); | ||
if rpm.changed() { | ||
rpm.release(); | ||
rpm.global("commit_date", date()); | ||
} | ||
} |