mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-20 02:20:42 +00:00
* fix: give terra extras gamescope
* fix: rename
(cherry picked from commit aafb3880c4)
Co-authored-by: lea <lleyton@fyralabs.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
project pkg {
|
||||
arches = ["x86_64", "aarch64", "i386"]
|
||||
rpm {
|
||||
spec = "gamescope.spec"
|
||||
spec = "terra-gamescope.spec"
|
||||
}
|
||||
labels {
|
||||
mock = 1
|
||||
+8
-5
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user