From 638a7020b74b19e330da314b35344afb66dc11b7 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Mon, 8 Jul 2024 20:47:08 -0400 Subject: [PATCH] build(linux): drop support for AUR (#2819) --- docker/archlinux.dockerfile | 10 ++++ docs/source/about/setup.rst | 57 ++++++++++++++++------ docs/source/about/third_party_packages.rst | 7 --- 3 files changed, 51 insertions(+), 23 deletions(-) diff --git a/docker/archlinux.dockerfile b/docker/archlinux.dockerfile index 26c1b186d7d..e383d5b69d4 100644 --- a/docker/archlinux.dockerfile +++ b/docker/archlinux.dockerfile @@ -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 diff --git a/docs/source/about/setup.rst b/docs/source/about/setup.rst index f2e0d8bad54..a900df057b7 100644 --- a/docs/source/about/setup.rst +++ b/docs/source/about/setup.rst @@ -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 + + 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 + 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 diff --git a/docs/source/about/third_party_packages.rst b/docs/source/about/third_party_packages.rst index 607f8da4245..3eac2426e1d 100644 --- a/docs/source/about/third_party_packages.rst +++ b/docs/source/about/third_party_packages.rst @@ -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 ----------