Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(linux): drop support for AUR #2819

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading