Skip to content

Commit

Permalink
fix: give terra extras gamescope unique name (#3225)
Browse files Browse the repository at this point in the history
* fix: give terra extras gamescope

* fix: rename
  • Loading branch information
lleyton authored Feb 12, 2025
1 parent c3b6a8e commit aafb388
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "gamescope.spec"
spec = "terra-gamescope.spec"
}
labels {
mock = 1
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
%global _default_patch_fuzz 2
%global build_timestamp %(date +"%Y%m%d")
#global gamescope_tag 3.15.11
%global gamescope_commit d3174928d47f7e353e7daca63cf882d65660cc7c
%global gamescope_commit d3174928d47f7e353e7daca63cf882d65660cc7c
%define short_commit %(echo %{gamescope_commit} | cut -c1-8)

Name: gamescope
Name: terra-gamescope
#Version: 100.%{gamescope_tag}
Version: 104.%{short_commit}
Release: 1%?dist
Expand All @@ -15,6 +15,9 @@ Summary: Micro-compositor for video games on Wayland
License: BSD
URL: https://github.com/ValveSoftware/gamescope

Provides: gamescope = %{version}-%{release}
Conflicts: gamescope

# Create stb.pc to satisfy dependency('stb')
Source0: stb.pc

Expand Down Expand Up @@ -82,8 +85,8 @@ BuildRequires: git
# libliftoff hasn't bumped soname, but API/ABI has changed for 0.2.0 release
Requires: libliftoff%{?_isa} >= %{libliftoff_minver}
Requires: xorg-x11-server-Xwayland
Requires: gamescope-libs = %{version}-%{release}
Requires: gamescope-libs(x86-32) = %{version}-%{release}
Requires: terra-gamescope-libs = %{version}-%{release}
Requires: terra-gamescope-libs(x86-32) = %{version}-%{release}
Recommends: mesa-dri-drivers
Recommends: mesa-vulkan-drivers

Expand All @@ -99,7 +102,7 @@ Summary: libs for %{name}
# git clone --depth 1 --branch %%{gamescope_tag} %%{url}.git
git clone %{url}.git
cd gamescope
git checkout %{gamescope_commit}
git checkout %{gamescope_commit}
git submodule update --init --recursive
mkdir -p pkgconfig
cp %{SOURCE0} pkgconfig/stb.pc
Expand Down

0 comments on commit aafb388

Please sign in to comment.