2021-06-21 20:02:58 +00:00
|
|
|
name : sunshine
|
|
|
|
version : 1
|
|
|
|
release : 1
|
|
|
|
source :
|
|
|
|
- git|https://github.com/loki-47-6F-64/sunshine.git : master
|
|
|
|
license : GPL-2.0-or-later
|
|
|
|
summary : Insert summary here
|
|
|
|
description: Insert description here
|
|
|
|
builddeps :
|
|
|
|
- libboost-devel
|
|
|
|
- libevdev-devel
|
|
|
|
- libxfixes-devel
|
|
|
|
- libxrandr-devel
|
|
|
|
- libxtst-devel
|
|
|
|
- ffmpeg-devel
|
|
|
|
- opus-devel
|
|
|
|
- pulseaudio-devel
|
|
|
|
setup : |
|
|
|
|
mkdir build
|
|
|
|
pushd build
|
2021-06-22 16:46:57 +00:00
|
|
|
%cmake -D SUNSHINE_ASSETS_DIR=/usr/share/sunshine ..
|
2021-06-21 20:02:58 +00:00
|
|
|
build : |
|
|
|
|
pushd build
|
|
|
|
%make
|
|
|
|
install : |
|
2021-06-22 16:46:57 +00:00
|
|
|
install -Dm755 build/sunshine.service "$installdir/usr/lib/systemd/user/sunshine.service"
|
2021-06-21 20:02:58 +00:00
|
|
|
pushd build
|
|
|
|
./gen-deb
|
|
|
|
pushd package-deb/sunshine
|
2021-06-22 16:46:57 +00:00
|
|
|
mkdir usr/lib
|
|
|
|
mv etc/udev usr/lib
|
|
|
|
mv etc usr/share
|
|
|
|
cp -r usr $installdir
|