Sunshine/scripts
h a6921fffad
Add initial support for RPM packaging (#121)
- Add gen-rpm
- Package rpm in CI testing and releases
- Remove fedora 33 from testing (end of life)
- Update arguments for `build_private.sh` and `build_sunshine.sh`

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2022-04-12 23:29:08 -04:00
..
_locale.py Fix .po file extension 2022-03-13 16:39:33 -04:00
build-container.sh set -e 2022-01-11 00:46:47 -05:00
build-private.sh Add initial support for RPM packaging (#121) 2022-04-12 23:29:08 -04:00
build-sunshine.sh Add initial support for RPM packaging (#121) 2022-04-12 23:29:08 -04:00
Dockerfile-debian Add initial support for RPM packaging (#121) 2022-04-12 23:29:08 -04:00
Dockerfile-fedora_33 Add initial support for RPM packaging (#121) 2022-04-12 23:29:08 -04:00
Dockerfile-fedora_35 Add initial support for RPM packaging (#121) 2022-04-12 23:29:08 -04:00
Dockerfile-ubuntu_18_04 Add initial support for RPM packaging (#121) 2022-04-12 23:29:08 -04:00
Dockerfile-ubuntu_20_04 Add initial support for RPM packaging (#121) 2022-04-12 23:29:08 -04:00
Dockerfile-ubuntu_21_04 Add initial support for RPM packaging (#121) 2022-04-12 23:29:08 -04:00
Dockerfile-ubuntu_21_10 Add initial support for RPM packaging (#121) 2022-04-12 23:29:08 -04:00
README.md Fix typo in docker build readme 2021-12-17 22:25:22 -05:00
requirements.txt Move _locale.py and requirements 2022-03-11 13:46:18 -05:00

Introduction

Sunshine is a Gamestream host for Moonlight

AppVeyor Build Status Downloads

You may wish to simply build sunshine from source, without bloating your OS with development files. These scripts will create a docker images that have the necessary packages. As a result, removing the development files after you're done is a single command away. These scripts use docker under the hood, as such, they can only be used to compile the Linux version

Requirements

sudo apt install docker

instructions

You'll require one of the following Dockerfiles:

  • Dockerfile-2004 --> Ubuntu 20.04
  • Dockerfile-2104 --> Ubuntu 21.04
  • Dockerfile-debian --> Debian Bullseye

Depending on your system, the build-* scripts may need root privilleges

First, the docker container needs to be created:

cd scripts
./build-container.sh -f Dockerfile-<name>

Then, the sources will be compiled and the debian package generated:

./build-sunshine.sh -p -s ..

You can run build-sunshine -p -s .. again as long as the docker container exists.

git pull
./build-sunshine.sh -p -s ..

Optionally, the docker container can be removed after you're finished:

./build-container.sh -c delete

Finally install the resulting package:

sudo apt install -f sunshine-build/sunshine.deb