[gentoo-commits] repo/proj/guru:dev commit in: net-misc/sunshine/, net-misc/sunshine/files/
commit: f349cd25bf978562bad0a206dab08f8585a90645 Author: Julien Roy jroy ca> AuthorDate: Sun Feb 18 01:39:35 2024 + Commit: Julien Roy jroy ca> CommitDate: Sun Feb 18 01:39:39 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f349cd25 net-misc/sunshine: treeclean Moved to ::gentoo Signed-off-by: Julien Roy jroy.ca> net-misc/sunshine/files/85-sunshine.rules | 1 - net-misc/sunshine/files/sunshine.service | 12 net-misc/sunshine/metadata.xml| 21 -- net-misc/sunshine/sunshine-.ebuild| 113 -- 4 files changed, 147 deletions(-) diff --git a/net-misc/sunshine/files/85-sunshine.rules b/net-misc/sunshine/files/85-sunshine.rules deleted file mode 100644 index b6ccddd283..00 --- a/net-misc/sunshine/files/85-sunshine.rules +++ /dev/null @@ -1 +0,0 @@ -KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess" diff --git a/net-misc/sunshine/files/sunshine.service b/net-misc/sunshine/files/sunshine.service deleted file mode 100644 index f10fb6ed4d..00 --- a/net-misc/sunshine/files/sunshine.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Sunshine self-hosted game stream host for Moonlight. -StartLimitIntervalSec=500 -StartLimitBurst=5 - -[Service] -ExecStart=/usr/bin/sunshine -Restart=on-failure -RestartSec=5s - -[Install] -WantedBy=graphical-session.target diff --git a/net-misc/sunshine/metadata.xml b/net-misc/sunshine/metadata.xml deleted file mode 100644 index 917d345270..00 --- a/net-misc/sunshine/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ - -https://www.gentoo.org/dtd/metadata.dtd;> - - - adam.pimente...@gmail.com - Adam Pimentel - - - net-misc/sunshine - - - Sunshine is a self-hosted game stream host for Moonlight. - Offering low latency, cloud gaming server capabilities with support for AMD, Intel, and Nvidia GPUs for hardware encoding. - Software encoding is also available. You can connect to Sunshine from any Moonlight client on a variety of devices. - A web UI is provided to allow configuration, and client pairing, from your favorite web browser. - Pair from the local server or any mobile device. - - - Enable KMS grab - - diff --git a/net-misc/sunshine/sunshine-.ebuild b/net-misc/sunshine/sunshine-.ebuild deleted file mode 100644 index 868ce09bb8..00 --- a/net-misc/sunshine/sunshine-.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake git-r3 desktop udev systemd #fcaps - -DESCRIPTION="Self-hosted game stream host for Moonlight" -HOMEPAGE="https://app.lizardbyte.dev/Sunshine/; -SRC_URI="" -EGIT_REPO_URI="https://github.com/LizardByte/Sunshine.git; -EGIT_BRANCH="nightly" - -# Licenses (may be incomplete) -#- -# Sunshine: GPL3 -# Simple Web Server: MIT -# TPCircularBuffer: BSD 3-Clause -# ViGEmClient: unlicensed? -# ffmpeg: LGPL2.1+ -# miniupnp: BSD 3-Clause -# moonlight-common-c: GPL3 -# enet: MIT -# nanors: MIT -# tray: MIT -# wayland-protocols: MIT -# wlr-protocols: unlicensed? -LICENSE="GPL-3 MIT LGPL-2.1+ BSD" -SLOT="0" -KEYWORDS="" -IUSE="nvenc cuda wayland X libdrm systemd" -REQUIRED_USE=" - nvenc? ( cuda ) - || ( wayland X ) -" - -DEPEND=" - net-dns/avahi - dev-libs/libinput - dev-libs/boost - net-misc/curl - dev-libs/libayatana-appindicator - dev-libs/libevdev - media-libs/intel-mediasdk - x11-libs/libnotify - media-libs/libpulse - media-libs/libva - x11-libs/libvdpau - X? ( - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXtst - ) - sys-process/numactl - dev-libs/openssl - media-libs/opus - virtual/udev - sys-libs/libcap - libdrm? ( - x11-libs/libdrm - ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - virtual/pkgconfig - net-libs/nodejs -" - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_PREFIX=/usr - -DSUNSHINE_EXECUTABLE_PATH=/usr/bin/sunshine - -DSUNSHINE_ASSETS_DIR="share/sunshine" - ) - if use cuda; then - mycmakeargs+=(-DSUNSHINE_ENABLE_CUDA=ON) - fi - if use libdrm; then - mycmakeargs+=(-DSUNSHINE_ENABLE_DRM=ON) - fi - if use wayland; then - mycmakeargs+=(-DSUNSHINE_ENABLE_WAYLAND=ON) - fi - if use X; then - mycmakeargs+=(-DSUNSHINE_ENABLE_X11=ON) - fi - cmake_src_configure -} - -src_install() { -
[gentoo-commits] repo/proj/guru:dev commit in: net-misc/sunshine/
commit: 23ecc16996c0b3edd2135a61bf565adb8e7be467 Author: Takuya Wakazono gmail com> AuthorDate: Sun Jan 7 07:10:04 2024 + Commit: Takuya Wakazono gmail com> CommitDate: Sun Jan 7 07:10:04 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23ecc169 net-misc/sunshine: describe USE=libdrm Signed-off-by: Takuya Wakazono gmail.com> net-misc/sunshine/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-misc/sunshine/metadata.xml b/net-misc/sunshine/metadata.xml index 9fe6bf2ed7..917d345270 100644 --- a/net-misc/sunshine/metadata.xml +++ b/net-misc/sunshine/metadata.xml @@ -15,4 +15,7 @@ A web UI is provided to allow configuration, and client pairing, from your favorite web browser. Pair from the local server or any mobile device. + + Enable KMS grab +
[gentoo-commits] repo/proj/guru:dev commit in: net-misc/sunshine/, net-misc/sunshine/files/
commit: 391db8900873ee0b64a67d01b8cdb7efade28633 Author: Adam Pimentel protonmail com> AuthorDate: Thu Oct 12 20:22:46 2023 + Commit: Adam Pimentel protonmail com> CommitDate: Thu Oct 12 20:22:46 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=391db890 net-misc/sunshine: new ebuild Signed-off-by: Adam Pimentel protonmail.com> net-misc/sunshine/files/85-sunshine.rules | 1 + net-misc/sunshine/files/sunshine.service | 12 net-misc/sunshine/metadata.xml| 18 + net-misc/sunshine/sunshine-.ebuild| 113 ++ 4 files changed, 144 insertions(+) diff --git a/net-misc/sunshine/files/85-sunshine.rules b/net-misc/sunshine/files/85-sunshine.rules new file mode 100644 index 00..b6ccddd283 --- /dev/null +++ b/net-misc/sunshine/files/85-sunshine.rules @@ -0,0 +1 @@ +KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess" diff --git a/net-misc/sunshine/files/sunshine.service b/net-misc/sunshine/files/sunshine.service new file mode 100644 index 00..f10fb6ed4d --- /dev/null +++ b/net-misc/sunshine/files/sunshine.service @@ -0,0 +1,12 @@ +[Unit] +Description=Sunshine self-hosted game stream host for Moonlight. +StartLimitIntervalSec=500 +StartLimitBurst=5 + +[Service] +ExecStart=/usr/bin/sunshine +Restart=on-failure +RestartSec=5s + +[Install] +WantedBy=graphical-session.target diff --git a/net-misc/sunshine/metadata.xml b/net-misc/sunshine/metadata.xml new file mode 100644 index 00..9fe6bf2ed7 --- /dev/null +++ b/net-misc/sunshine/metadata.xml @@ -0,0 +1,18 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + adam.pimente...@gmail.com + Adam Pimentel + + + net-misc/sunshine + + + Sunshine is a self-hosted game stream host for Moonlight. + Offering low latency, cloud gaming server capabilities with support for AMD, Intel, and Nvidia GPUs for hardware encoding. + Software encoding is also available. You can connect to Sunshine from any Moonlight client on a variety of devices. + A web UI is provided to allow configuration, and client pairing, from your favorite web browser. + Pair from the local server or any mobile device. + + diff --git a/net-misc/sunshine/sunshine-.ebuild b/net-misc/sunshine/sunshine-.ebuild new file mode 100644 index 00..868ce09bb8 --- /dev/null +++ b/net-misc/sunshine/sunshine-.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake git-r3 desktop udev systemd #fcaps + +DESCRIPTION="Self-hosted game stream host for Moonlight" +HOMEPAGE="https://app.lizardbyte.dev/Sunshine/; +SRC_URI="" +EGIT_REPO_URI="https://github.com/LizardByte/Sunshine.git; +EGIT_BRANCH="nightly" + +# Licenses (may be incomplete) +#- +# Sunshine: GPL3 +# Simple Web Server: MIT +# TPCircularBuffer: BSD 3-Clause +# ViGEmClient: unlicensed? +# ffmpeg: LGPL2.1+ +# miniupnp: BSD 3-Clause +# moonlight-common-c: GPL3 +# enet: MIT +# nanors: MIT +# tray: MIT +# wayland-protocols: MIT +# wlr-protocols: unlicensed? +LICENSE="GPL-3 MIT LGPL-2.1+ BSD" +SLOT="0" +KEYWORDS="" +IUSE="nvenc cuda wayland X libdrm systemd" +REQUIRED_USE=" + nvenc? ( cuda ) + || ( wayland X ) +" + +DEPEND=" + net-dns/avahi + dev-libs/libinput + dev-libs/boost + net-misc/curl + dev-libs/libayatana-appindicator + dev-libs/libevdev + media-libs/intel-mediasdk + x11-libs/libnotify + media-libs/libpulse + media-libs/libva + x11-libs/libvdpau + X? ( + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXtst + ) + sys-process/numactl + dev-libs/openssl + media-libs/opus + virtual/udev + sys-libs/libcap + libdrm? ( + x11-libs/libdrm + ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + net-libs/nodejs +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX=/usr + -DSUNSHINE_EXECUTABLE_PATH=/usr/bin/sunshine + -DSUNSHINE_ASSETS_DIR="share/sunshine" + ) + if use cuda; then + mycmakeargs+=(-DSUNSHINE_ENABLE_CUDA=ON) + fi + if use libdrm; then + mycmakeargs+=(-DSUNSHINE_ENABLE_DRM=ON) + fi + if use wayland; then + mycmakeargs+=(-DSUNSHINE_ENABLE_WAYLAND=ON) + fi + if use X; then + mycmakeargs+=(-DSUNSHINE_ENABLE_X11=ON) + fi + cmake_src_configure +} + +src_install() { + dobin "${BUILD_DIR}/sunshine" + newicon -s 256