diff --git a/info.yml b/info.yml index 365ecef..c3af2cf 100644 --- a/info.yml +++ b/info.yml @@ -1,7 +1,7 @@ name: sunshine description: Self-hosted game stream host for Moonlight version: 2026.516.143833 -revision: 1 +revision: 2 url: https://app.lizardbyte.dev/Sunshine license: GPL-3.0-only maintainers: diff --git a/recipe.sh b/recipe.sh index 6c88685..76a4972 100644 --- a/recipe.sh +++ b/recipe.sh @@ -48,6 +48,9 @@ build() { package() { DESTDIR="$BPM_OUTPUT" cmake --install build + # Install desktop file + install -Dm644 "$BPM_WORKDIR"/dev.lizardbyte.app.Sunshine.desktop "$BPM_OUTPUT"/usr/share/applications/dev.lizardbyte.app.Sunshine.desktop + # Install package license install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/sunshine/LICENSE } diff --git a/source-files/dev.lizardbyte.app.Sunshine.desktop b/source-files/dev.lizardbyte.app.Sunshine.desktop new file mode 100644 index 0000000..2c4588a --- /dev/null +++ b/source-files/dev.lizardbyte.app.Sunshine.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Actions=RunInTerminal; +Categories=RemoteAccess;Network; +Comment=Self-hosted game stream host for Moonlight +Exec=sunshine +Icon=dev.lizardbyte.app.Sunshine +StartupWMClass=dev.lizardbyte.app.Sunshine +Keywords=gamestream;stream;moonlight;remote play; +Name=Sunshine +Type=Application +Version=1.0 + +[Desktop Action RunInTerminal] +Exec=gio launch /usr/share/applications/dev.lizardbyte.app.Sunshine.terminal.desktop +Icon=application-x-executable +Name=Run in Terminal