build(linux): drop support for AUR (#2819)

This commit is contained in:
ReenigneArcher 2024-07-08 20:47:08 -04:00 committed by GitHub
parent 49495a8da3
commit 638a7020b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 51 additions and 23 deletions

View File

@ -81,7 +81,16 @@ WORKDIR /build/sunshine/pkg
RUN mv /build/sunshine/build/PKGBUILD .
RUN mv /build/sunshine/build/sunshine.install .
# create a PKGBUILD archive
USER root
RUN <<_REPO
#!/bin/bash
set -e
tar -czf /build/sunshine/sunshine.pkg.tar.gz .
_REPO
# namcap and build PKGBUILD file
USER builder
RUN <<_PKGBUILD
#!/bin/bash
set -e
@ -96,6 +105,7 @@ _PKGBUILD
FROM scratch as artifacts
COPY --link --from=sunshine-build /build/sunshine/pkg/sunshine*.pkg.tar.zst /sunshine.pkg.tar.zst
COPY --link --from=sunshine-build /build/sunshine/sunshine.pkg.tar.gz /sunshine.pkg.tar.gz
FROM sunshine-base as sunshine

View File

@ -93,17 +93,42 @@ Install
.. tab:: Arch Linux Package
#. Open terminal and run the following code.
.. warning:: We do not provide support for any AUR packages.
.. code-block:: bash
.. tab:: Prebuilt Package
wget https://github.com/LizardByte/Sunshine/releases/latest/download/sunshine.pkg.tar.zst
pacman -U --noconfirm sunshine.pkg.tar.zst
#. Open terminal and run the following code.
Uninstall:
.. code-block:: bash
.. code-block:: bash
pacman -R sunshine
wget https://github.com/LizardByte/Sunshine/releases/latest/download/sunshine.pkg.tar.zst
pacman -U --noconfirm sunshine.pkg.tar.zst
Uninstall:
.. code-block:: bash
pacman -R sunshine
.. tab:: PKGBUILD Archive
#. Open terminal and run the following code.
.. code-block:: bash
wget https://github.com/LizardByte/Sunshine/releases/latest/download/sunshine.pkg.tar.gz
tar -xvf sunshine.pkg.tar.gz
cd sunshine
# install optional dependencies
pacman -S cuda # Nvidia GPU encoding support
pacman -S libva-mesa-driver # AMD GPU encoding support
makepkg -si
Uninstall:
.. code-block:: bash
pacman -R sunshine
.. tab:: Debian/Ubuntu Package
@ -261,15 +286,15 @@ Install
.. table::
:widths: auto
======== ============================================== ===============
package ExecStart Auto Configured
======== ============================================== ===============
aur /usr/bin/sunshine ✔
deb /usr/bin/sunshine ✔
rpm /usr/bin/sunshine ✔
AppImage ~/sunshine.AppImage ✔
Flatpak flatpak run dev.lizardbyte.app.Sunshine ✔
======== ============================================== ===============
========= ============================================== ===============
package ExecStart Auto Configured
========= ============================================== ===============
ArchLinux /usr/bin/sunshine ✔
deb /usr/bin/sunshine ✔
rpm /usr/bin/sunshine ✔
AppImage ~/sunshine.AppImage ✔
Flatpak flatpak run dev.lizardbyte.app.Sunshine ✔
========= ============================================== ===============
**Start once**
.. code-block:: bash

View File

@ -3,13 +3,6 @@ Third Party Packages
.. danger:: These packages are not maintained by LizardByte. Use at your own risk.
AUR
---
.. image:: https://img.shields.io/badge/dynamic/json.svg?color=blue&label=AUR&style=for-the-badge&query=$.results.0.Version&url=https%3A%2F%2Fapp.lizardbyte.dev%2Funo%2Faur%2Fsunshine.json&logo=archlinux
:alt: AUR
:target: https://aur.archlinux.org/packages/sunshine
Chocolatey
----------