mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-12 14:40:39 +00:00
fixness
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "sunshine.spec"
|
||||
extra_repos = ["https://repos.fyralabs.com/terrarawhide-nvidia"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user