Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-02-18 01:48:19 +00:00
6 changed files with 2 additions and 149 deletions

View File

@@ -1,4 +1,4 @@
DIST mautrix-discord-0.6.3.gh.tar.gz 113655 BLAKE2B a9570c2b0cbba9f1d82efffe729cf5d50966d5b7a0fff9a233637f61f34801145de8b9ea2ea2a309035e3c5c0c803c240acb16b4b46668588b31cd51bfac966f SHA512 ff6462bae3d53331cd2fccf9037fc34d11a89e37d52d5bf1e5b10249952036fa7f8182354f2834a8051eb84a1e886872b3698fdec51f2f271946d4a8743a8870
DIST mautrix-discord-0.6.3.tar.xz 117364608 BLAKE2B 4619146a6180898a11ba396e535a8320b5a51fa70bb72a5dd16f67edd4e7240004c9186e768c3081fb4f5c18e5fdee1af94ee731501417e443c9b0137e8e969c SHA512 168d7279752bc6f4b3682e3909ff58f45b81057b421ec9635a3963d88083507f9dbfef4057fad5012bea91f283bacff201241dc7355b0cd17414774029204666
DIST mautrix-discord-0.6.4.gh.tar.gz 113804 BLAKE2B 164c5cc5d0504bf0d78df8b6926a124ef52157a5a1467ad8b4a76e6cef5285736cc223889f69c7f573018f2590394c637eaade54ff734353e8bd0cbcd0f7abad SHA512 cfcb5653d002c33f3498a65d7f6e507c1465b8ef767b672db770f44eaf59887246896e2f4149164e610a91af1418646eca77e571a85b0fdaeddc3131e589429e
DIST mautrix-discord-0.6.4.tar.xz 61805824 BLAKE2B 49b26ec6d450e8ab5e29bead54346cc94e376646f298bc8f6f45c7d6f593fbca2c65b7b019b18242521a253d577b2ab1b38a78455d1b17c2ef2d48ee823a144d SHA512 72c8cae6a7f6188b75708db8663397aa66279a1059be40a735c066ae7ac49128fdee1040847141e827875860327df429f290bd8a9ecabb40919d644e55e01ae9
DIST mautrix-discord-0.6.5.gh.tar.gz 114044 BLAKE2B 70d713da28ac80593678df357ae69540a7c6069943d369ddba749e2182b5810ce76fbc072f75f94edc9aaac70d744eac799d8b82fc58162ad5adc727941d2307 SHA512 b52bc3a963c52970a6af334e985b959efc04e3181cac6d2c1f404b06ee94d19a2ed4a7edfcbe2248eb2ee5196e19f917c9451326593fc5b95724bdc7dd6fd936
DIST mautrix-discord-0.6.5.tar.xz 61963904 BLAKE2B 5de1b7b7020c4eb42aa8a6b98519f98afeee29f9307108343a7fcdf99399cd84af4bad015f186ed21d55cb8bdac22cbd96f7fdbc935c6827f87c65021516fa31 SHA512 29b16e01fc5c0d4913be7b3263d4560be88c027b55eb7ea48b291706f6a56d8188977ff566bd674e501bd14d1271fa5cdd0d4549fac0fa6fa60eb0442bafc64d

View File

@@ -1 +0,0 @@
KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess"

View File

@@ -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

View File

@@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>adam.pimentel46@gmail.com</email>
<name>Adam Pimentel</name>
</maintainer>
<upstream>
<remote-id type="github">net-misc/sunshine</remote-id>
</upstream>
<longdescription lang="en">
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.
</longdescription>
<use>
<flag name="libdrm">Enable KMS grab</flag>
</use>
</pkgmetadata>

View File

@@ -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() {
dobin "${BUILD_DIR}/sunshine"
newicon -s 256 "${WORKDIR}"/${P}/sunshine.png sunshine.png
newicon -s scalable "${WORKDIR}"/${P}/sunshine.svg sunshine.svg
domenu "${BUILD_DIR}"/sunshine.desktop
udev_dorules "${FILESDIR}"/85-sunshine.rules
systemd_dounit "${FILESDIR}"/sunshine.service
#fcaps cap_sys_admin+p "${BUILD_DIR}/sunshine"
}
pkg_postinst() {
udev_reload
einfo "If you get \"Error: Failed to gain CAP_SYS_ADMIN\", run \`setcap cap_sys_admin+p \$(readlink -f \$(which sunshine))\` as root"
}
pkg_postrm() {
udev_reload
}