This commit is contained in:
metcya
2026-01-04 23:04:04 -06:00
parent 88713ed5a4
commit 8240051f4d
3 changed files with 14 additions and 6 deletions
+1
View File
@@ -1,5 +1,6 @@
project pkg {
rpm {
spec = "sunshine.spec"
extra_repos = ["https://repos.fyralabs.com/terrarawhide-nvidia"]
}
}
+3 -3
View File
@@ -1,5 +1,5 @@
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 9a570fd3..676334d1 100644
index 5a4ecd7f..b78a436f 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -16,8 +16,8 @@ include_directories("${GTEST_SOURCE_DIR}/googletest/include" "${GTEST_SOURCE_DIR
@@ -11,5 +11,5 @@ index 9a570fd3..676334d1 100644
+set(CMAKE_CXX_FLAGS "-fprofile-arcs -ftest-coverage -ggdb -O0 -fPIE")
+set(CMAKE_C_FLAGS "-fprofile-arcs -ftest-coverage -ggdb -O0 -fPIE")
# Find the correct libgcov library path matching the gcc compiler version
# This ensures the test executable links against the same libgcov version used during compilation
# if windows
if (WIN32)
+10 -3
View File
@@ -1,3 +1,5 @@
%bcond_without cuda
Name: sunshine
Version: 2025.924.154138
Release: 1%{?dist}
@@ -36,6 +38,10 @@ BuildRequires: pkgconfig(numa)
BuildRequires: doxygen
BuildRequires: nodejs-npm
%if %{with cuda}
BuildRequires: cuda
%endif
%description
Sunshine is a self-hosted game stream host for Moonlight. Offering low-latency,
cloud gaming server capabilities with support for AMD, Intel, and Nvidia GPUs
@@ -45,10 +51,11 @@ provided to allow configuration, and client pairing, from your favorite web
browser. Pair from the local server or any mobile device.
%prep
%git_clone https://github.com/LizardByte/Sunshine.git
%git_clone https://github.com/LizardByte/Sunshine.git v%{version}
%autopatch -p1
%build
%cmake
%cmake -DSUNSHINE_ENABLE_CUDA=%{?with_cuda:ON:OFF}
%cmake_build
%install
@@ -57,6 +64,6 @@ browser. Pair from the local server or any mobile device.
%files
%changelog
* Sun Jan 04 2026 metcya <metcya@gmail.com> - {version}
* Sun Jan 04 2026 metcya <metcya@gmail.com> - 2025.924.154138-1
- Initial package