Compare commits

...

3 Commits

Author SHA1 Message Date
Cappy Ishihara fb551fdce9 damn 2024-04-15 18:59:33 +07:00
Cappy Ishihara 4d0120f0e7 capitalize the project name 2024-04-15 18:54:26 +07:00
Cappy Ishihara ac73072e61 add: sunshine 2024-04-15 18:35:44 +07:00
3 changed files with 84 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "sunshine.spec"
}
}
+78
View File
@@ -0,0 +1,78 @@
%global forgeurl https://github.com/LizardByte/Sunshine
Name: sunshine
Version: 0.23.0
Release: 1%{?dist}
Summary: Self-hosted game stream host for Moonlight.
License: GPL-3.0-or-later
URL: http://app.lizardbyte.dev/Sunshine
Source0: %{forgeurl}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: pkgconfig
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: make
%ifarch x86_64
BuildRequires: intel-mediasdk-devel
%endif
BuildRequires: libcap-devel
BuildRequires: libcurl-devel
BuildRequires: libdrm-devel
BuildRequires: libevdev-devel
BuildRequires: libnotify-devel
BuildRequires: libva-devel
BuildRequires: libvdpau-devel
BuildRequires: libX11-devel
BuildRequires: libxcb-devel
BuildRequires: libXcursor-devel
BuildRequires: libXfixes-devel
BuildRequires: libXi-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrandr-devel
BuildRequires: libXtst-devel
BuildRequires: mesa-libGL-devel
BuildRequires: miniupnpc-devel
BuildRequires: npm
BuildRequires: numactl-devel
BuildRequires: openssl-devel
BuildRequires: opus-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: wayland-devel
# TODO: Add CUDA support before merging PR
# blocker: nvidia-driver
%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
%autosetup -n Sunshine-%{version}
%build
%cmake .
%cmake_build
%install
%cmake_install
%files
%license add-license-file-here
%doc add-docs-here
%changelog
* Mon Apr 15 2024 Cappy Ishihara <cappy@cappuchino.xyz>
- Initial re-packaging for Terra
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("LizardByte/Sunshine"));