mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-29 23:08:28 +00:00
add: sunshine
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "sunshine.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
|
||||
index 9a570fd3..676334d1 100644
|
||||
--- a/tests/CMakeLists.txt
|
||||
+++ b/tests/CMakeLists.txt
|
||||
@@ -16,8 +16,8 @@ include_directories("${GTEST_SOURCE_DIR}/googletest/include" "${GTEST_SOURCE_DIR
|
||||
|
||||
# coverage
|
||||
# https://gcovr.com/en/stable/guide/compiling.html#compiler-options
|
||||
-set(CMAKE_CXX_FLAGS "-fprofile-arcs -ftest-coverage -ggdb -O0")
|
||||
-set(CMAKE_C_FLAGS "-fprofile-arcs -ftest-coverage -ggdb -O0")
|
||||
+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
|
||||
@@ -0,0 +1,62 @@
|
||||
Name: sunshine
|
||||
Version: 2025.924.154138
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-Only
|
||||
URL: http://app.lizardbyte.dev/Sunshine/
|
||||
Patch0: fix-test-cxxflags.patch
|
||||
Summary: Self-hosted game stream host for Moonlight
|
||||
Packager: metcya <metcya@gmail.com>
|
||||
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pkgconfig(libcap)
|
||||
BuildRequires: pkgconfig(libdrm)
|
||||
BuildRequires: pkgconfig(libva)
|
||||
BuildRequires: pkgconfig(libva-drm)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-server)
|
||||
BuildRequires: pkgconfig(wayland-egl)
|
||||
BuildRequires: pkgconfig(wayland-cursor)
|
||||
BuildRequires: pkgconfig(nlohmann_json)
|
||||
BuildRequires: pkgconfig(pkg-config)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(miniupnpc)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(ayatana-appindicator3-0.1)
|
||||
BuildRequires: pkgconfig(appindicator3-0.1)
|
||||
BuildRequires: pkgconfig(libnotify)
|
||||
BuildRequires: pkgconfig(opus)
|
||||
BuildRequires: pkgconfig(gbm)
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(numa)
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: nodejs-npm
|
||||
|
||||
%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
|
||||
for hardware encoding. Software encoding is also available. You can connect to
|
||||
Sunshine from any Moonlight client on a variety of devices. A web UI is
|
||||
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
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
|
||||
%changelog
|
||||
* Sun Jan 04 2026 metcya <metcya@gmail.com> - {version}
|
||||
- Initial package
|
||||
|
||||
Reference in New Issue
Block a user