Skip to content

Commit

Permalink
build(linux): drop support for AUR (#2819)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Jul 9, 2024
1 parent 49495a8 commit 638a702
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 23 deletions.
10 changes: 10 additions & 0 deletions docker/archlinux.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
57 changes: 41 additions & 16 deletions docs/source/about/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions docs/source/about/third_party_packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------

Expand Down

0 comments on commit 638a702

Please sign in to comment.