Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ecsos:server
sunshine
sunshine.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sunshine.spec of Package sunshine
# # spec file for package sunshine # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?sle15_python_module_pythons} Name: sunshine Version: 0.23.1 Release: 0 Summary: Streaming server for moonlight License: GPL-3.0 Group: Productivity/Networking/Other URL: https://github.com/LizardByte/Sunshine Source: Sunshine-%{version}.tar.gz Source2: sunshine-rpmlintrc # Generate package-lock.json with: npm install --package-lock-only --legacy-peer-deps Source98: package-lock.json Source99: node_modules.spec.inc # openSUSE-Fix: Provided device doesn't support required NVENC features #1849 #Patch1: 1849.patch %include %{_sourcedir}/node_modules.spec.inc BuildRequires: cmake BuildRequires: gcc13 BuildRequires: gcc13-c++ ##BuildRequires: boost-devel >= 1.81.0 BuildRequires: libboost_headers-devel-impl >= 1.81.0 BuildRequires: libboost_system-devel-impl BuildRequires: libboost_thread-devel-impl BuildRequires: libboost_locale-devel-impl BuildRequires: libboost_log-devel-impl BuildRequires: libboost_program_options-devel-impl BuildRequires: libappindicator3-devel BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libcap) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libevdev) BuildRequires: pkgconfig(libopusenc) BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(miniupnpc) BuildRequires: %{python_module base >= 3.11} BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(vdpau) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xtst) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(numa) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(libmfx) BuildRequires: pulseaudio-libs >= 10.0 BuildRequires: pulseaudio-devel >= 10.0 BuildRequires: npm BuildRequires: local-npm-registry %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} -p1 rm -f package-lock.json local-npm-registry %{_sourcedir} install --include=dev --legacy-peer-deps %build export CC="gcc-13" export CXX="g++-13" %cmake -DSUNSHINE_ASSETS_DIR="share/sunshine" -DSUNSHINE_EXECUTABLE_PATH=%{_bindir}/sunshine %cmake_build %install %cmake_install mv %{buildroot}%{_bindir}/sunshine-%{version} %{buildroot}%{_bindir}/sunshine %files %license LICENSE %doc README.rst %{_datadir}/sunshine %{_bindir}/sunshine %{_udevrulesdir}/60-sunshine.rules %{_userunitdir}/sunshine.service %{_datadir}/applications/sunshine.desktop %{_datadir}/applications/sunshine_terminal.desktop %{_datadir}/icons/hicolor/scalable/apps/sunshine.svg %{_datadir}/icons/hicolor/scalable/status/sunshine-locked.svg %{_datadir}/icons/hicolor/scalable/status/sunshine-pausing.svg %{_datadir}/icons/hicolor/scalable/status/sunshine-playing.svg %{_datadir}/icons/hicolor/scalable/status/sunshine-tray.svg %{_datadir}/metainfo/sunshine.appdata.xml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor