diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-11 22:34:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-11 22:34:01 +0000 |
commit | 55d85b00f95c52ff327d35d9cc5bf240ab37f11f (patch) | |
tree | 20c24154d7233e2953d7f71952d15d62f6761e55 /net-misc | |
parent | 9990da9e2db6d5094701a2f4035e781826eff014 (diff) |
gentoo auto-resync : 11:11:2023 - 22:34:00
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/Manifest.gz | bin | 54345 -> 54336 bytes | |||
-rw-r--r-- | net-misc/moonlight/Manifest | 7 | ||||
-rw-r--r-- | net-misc/moonlight/files/moonlight-4.3.1-automagic.patch | 136 | ||||
-rw-r--r-- | net-misc/moonlight/moonlight-4.3.1.ebuild | 83 | ||||
-rw-r--r-- | net-misc/moonlight/moonlight-5.0.1.ebuild (renamed from net-misc/moonlight/moonlight-5.0.0.ebuild) | 0 |
5 files changed, 2 insertions, 224 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz Binary files differindex 20a3661382e1..ec2df462f2b4 100644 --- a/net-misc/Manifest.gz +++ b/net-misc/Manifest.gz diff --git a/net-misc/moonlight/Manifest b/net-misc/moonlight/Manifest index 36c651dafe5f..550464f58f7f 100644 --- a/net-misc/moonlight/Manifest +++ b/net-misc/moonlight/Manifest @@ -1,7 +1,4 @@ -AUX moonlight-4.3.1-automagic.patch 4101 BLAKE2B fcba8951d179d350b2898bb7c124eb615c308d1b1e7435d971dafab9466f71f55e2e8a4e3897bfedf69e5e6ae7e0d50f105b4556de3da627220915096ec9c2dd SHA512 1b8485e60a8b93505a77b6937b060992046003a2cce16f8b3f32aa3dd9c7b4c8a49c500d1167ac821c80a621237fb66efa273b0e7ce270c1337a1cd87d23459f -DIST MoonlightSrc-4.3.1.tar.gz 71454450 BLAKE2B cd6d8d95c3d53dbf73850cd30f86bdb9837806a642472454d70f6abee20ae91bc79c0671c4da0a74fb5f43086841a8318718c4f2f4e4768b395fb4b38d1dde9e SHA512 f5f7b23929aadb87716470522a315cba40d8155be6b76297eab4107e0fef71b48f9f4c9a4cc2b58bd48579db052a8ca8ecda9b49c78c3d229863a30886cf1847 -DIST MoonlightSrc-5.0.0.tar.gz 79821343 BLAKE2B 91a57f70863cd9c8a8a0cb28cc0475468485d449747fb3425dce41c046af992f9b636036cf735799042d895e69c2c88fbc48d1b1b874bd03a3b1eef97d6c98ad SHA512 067f862d2f33a7b2d47b6465951a5618a81f027219b9dcbe976154abaa7e0ba3913e59096584bbb8f86170d677804bb5e1412f7bd71727d9f8ac519adde097d3 -EBUILD moonlight-4.3.1.ebuild 1823 BLAKE2B df9ab934ba25025c13eb47babef1661b2c705c41b1db212cc007885bd3061365a3959357308562b3f7401e5dd057ec78458c140de2a995704ef26a7aae194051 SHA512 e1ccf4673243fae8ce35f5274221241f7b906c8936f24c20042cde1452b4122af6255bcc6aec703df1a016426fd2367df9a1bd85ebcc730fc398c867d9fa8dd2 -EBUILD moonlight-5.0.0.ebuild 1800 BLAKE2B 895be9ffee1cd497c3ef1a0ed1512d0ff889716ec72ba56272fc1227cfd0ff0429159a0c00086d1401633f85db439299ec67d0fff697f4a89b6c8057960cc767 SHA512 5fd13cf57cc8f704d2260c86a0b254839b32ace9f23b4f9947d5237429d2960869ac53d9163b56a8bcbba84a2093bd89226ec61ec5ffda604acec7cc4dd81567 +DIST MoonlightSrc-5.0.1.tar.gz 79820559 BLAKE2B ae67db6aab9e2104021e35b5bc4822a57a3b82a03f6b2bd1cc95e356833f163e9f6f30afc082dc8d1e4b120ef9ef7aeca2f30eec88502773020e0a6b48cbf0b1 SHA512 618d67afd4638e6c051850fc68b68fd313c9334300e35370b0b3741ec51e30da212633954b7ea47cc1f0644f5005cc06ecf861349418512919453d576f9acd60 +EBUILD moonlight-5.0.1.ebuild 1800 BLAKE2B 895be9ffee1cd497c3ef1a0ed1512d0ff889716ec72ba56272fc1227cfd0ff0429159a0c00086d1401633f85db439299ec67d0fff697f4a89b6c8057960cc767 SHA512 5fd13cf57cc8f704d2260c86a0b254839b32ace9f23b4f9947d5237429d2960869ac53d9163b56a8bcbba84a2093bd89226ec61ec5ffda604acec7cc4dd81567 EBUILD moonlight-9999.ebuild 1800 BLAKE2B 895be9ffee1cd497c3ef1a0ed1512d0ff889716ec72ba56272fc1227cfd0ff0429159a0c00086d1401633f85db439299ec67d0fff697f4a89b6c8057960cc767 SHA512 5fd13cf57cc8f704d2260c86a0b254839b32ace9f23b4f9947d5237429d2960869ac53d9163b56a8bcbba84a2093bd89226ec61ec5ffda604acec7cc4dd81567 MISC metadata.xml 935 BLAKE2B 525c806cd109602b0d6490ae197effa56727c2fffad4778b3d44bddba8d1844057a21fb989dd8eedd90a676529886e8a82cddbe3b79b9ad418d7ae4fa863c274 SHA512 9416ed7a90d96f2ecbe3eb246cd114e56f1919d2d07ccac0f1a45331c6ece33f900b8df4e56d0c85ef2c578ddca6acbb9ecedd9b9ff90254de0cd9abdad68d4c diff --git a/net-misc/moonlight/files/moonlight-4.3.1-automagic.patch b/net-misc/moonlight/files/moonlight-4.3.1-automagic.patch deleted file mode 100644 index 10a6914f4dea..000000000000 --- a/net-misc/moonlight/files/moonlight-4.3.1-automagic.patch +++ /dev/null @@ -1,136 +0,0 @@ -From ff49dcfa47f673bcd27314b03ba68f99f7619c39 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot <chewi@gentoo.org> -Date: Sat, 3 Jun 2023 17:51:00 +0100 -Subject: [PATCH] Allow forced disabling of features instead of relying on - pkg-config - -So-called "automagic" behaviour is considered unhelpful by -distributions. A user may unintentionally build Moonlight with VDPAU -support simply because they had that library installed, only for the -whole application to break when they uninstall the library later. This -could happen on any distribution, but it should especially be avoided on -source-based distributions, where the user would not expect the package -manager to encounter such issues. - -This commit is best viewed without whitespace changes. ---- - app/app.pro | 92 +++++++++++++++++++++++++++++++++-------------------- - 1 file changed, 57 insertions(+), 35 deletions(-) - -diff --git a/app/app.pro b/app/app.pro -index dc21b854..45ee1f89 100644 ---- a/app/app.pro -+++ b/app/app.pro -@@ -65,52 +65,74 @@ unix:!macx { - CONFIG += link_pkgconfig - PKGCONFIG += openssl sdl2 SDL2_ttf opus - -- packagesExist(libavcodec) { -- PKGCONFIG += libavcodec libavutil -- CONFIG += ffmpeg -- -- packagesExist(libva) { -- packagesExist(libva-x11) { -- CONFIG += libva-x11 -+ !disable-ffmpeg { -+ packagesExist(libavcodec) { -+ PKGCONFIG += libavcodec libavutil -+ CONFIG += ffmpeg -+ -+ !disable-libva { -+ packagesExist(libva) { -+ !disable-x11 { -+ packagesExist(libva-x11) { -+ CONFIG += libva-x11 -+ } -+ } -+ !disable-wayland { -+ packagesExist(libva-wayland) { -+ CONFIG += libva-wayland -+ } -+ } -+ !disable-libdrm { -+ packagesExist(libva-drm) { -+ CONFIG += libva-drm -+ } -+ } -+ CONFIG += libva -+ } - } -- packagesExist(libva-wayland) { -- CONFIG += libva-wayland -+ -+ !disable-libvdpau { -+ packagesExist(vdpau) { -+ CONFIG += libvdpau -+ } - } -- packagesExist(libva-drm) { -- CONFIG += libva-drm -+ -+ !disable-mmal { -+ packagesExist(mmal) { -+ PKGCONFIG += mmal -+ CONFIG += mmal -+ } - } -- CONFIG += libva -- } - -- packagesExist(vdpau) { -- CONFIG += libvdpau -- } -+ !disable-libdrm { -+ packagesExist(libdrm) { -+ PKGCONFIG += libdrm -+ CONFIG += libdrm -+ } -+ } - -- packagesExist(mmal) { -- PKGCONFIG += mmal -- CONFIG += mmal -+ !disable-cuda { -+ packagesExist(ffnvcodec) { -+ PKGCONFIG += ffnvcodec -+ CONFIG += cuda -+ } -+ } - } - -- packagesExist(libdrm) { -- PKGCONFIG += libdrm -- CONFIG += libdrm -+ !disable-wayland { -+ packagesExist(wayland-client) { -+ DEFINES += HAS_WAYLAND -+ PKGCONFIG += wayland-client -+ } - } - -- packagesExist(ffnvcodec) { -- PKGCONFIG += ffnvcodec -- CONFIG += cuda -+ !disable-x11 { -+ packagesExist(x11) { -+ DEFINES += HAS_X11 -+ PKGCONFIG += x11 -+ } - } - } -- -- packagesExist(wayland-client) { -- DEFINES += HAS_WAYLAND -- PKGCONFIG += wayland-client -- } -- -- packagesExist(x11) { -- DEFINES += HAS_X11 -- PKGCONFIG += x11 -- } - } - win32 { - LIBS += -llibssl -llibcrypto -lSDL2 -lSDL2_ttf -lavcodec -lavutil -lopus -ldxgi -ld3d11 --- -2.40.1 - diff --git a/net-misc/moonlight/moonlight-4.3.1.ebuild b/net-misc/moonlight/moonlight-4.3.1.ebuild deleted file mode 100644 index 382261a3d519..000000000000 --- a/net-misc/moonlight/moonlight-4.3.1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="https://github.com/moonlight-stream/moonlight-qt.git" - EGIT_SUBMODULES=( '*' -libs -soundio ) - inherit git-r3 -else - SRC_URI="https://github.com/moonlight-stream/moonlight-qt/releases/download/v${PV}/MoonlightSrc-${PV}.tar.gz" - KEYWORDS="~amd64 ~arm64" - S="${WORKDIR}" -fi - -inherit qmake-utils xdg - -DESCRIPTION="NVIDIA GameStream (and Sunshine) client" -HOMEPAGE="https://github.com/moonlight-stream/moonlight-qt" -LICENSE="GPL-3" -SLOT="0" -IUSE="cuda +libdrm embedded mmal soundio +vaapi vdpau wayland X" - -RDEPEND=" - dev-libs/openssl:= - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtquickcontrols2:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - media-libs/libglvnd - media-libs/libpulse - media-libs/libsdl2[haptic,kms,joystick,sound,video] - media-libs/opus - media-libs/sdl2-ttf - media-video/ffmpeg:=[cuda?,libdrm?,mmal?] - libdrm? ( x11-libs/libdrm ) - soundio? ( media-libs/libsoundio:= ) - vaapi? ( media-libs/libva:=[wayland?,X?] ) - vdpau? ( x11-libs/libvdpau ) - wayland? ( dev-libs/wayland ) - X? ( x11-libs/libX11 ) -" - -DEPEND=" - ${RDEPEND} -" - -BDEPEND=" - dev-qt/qtcore - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}/${P}-automagic.patch" -) - -src_prepare() { - default - - # Force system libsoundio over bundled version. - rm -r soundio/ || die -} - -src_configure() { - eqmake5 PREFIX="${EPREFIX}/usr" CONFIG+=" \ - $(usex cuda "" disable-cuda) \ - $(usex libdrm "" disable-libdrm) \ - $(usex mmal "" disable-mmal) \ - $(usex vaapi "" disable-libva) \ - $(usex vdpau "" disable-libvdpau) \ - $(usex wayland "" disable-wayland) \ - $(usex X "" disable-x11) \ - $(usev embedded) \ - $(usev soundio) \ - " -} - -src_install() { - emake install INSTALL_ROOT="${D}" - einstalldocs -} diff --git a/net-misc/moonlight/moonlight-5.0.0.ebuild b/net-misc/moonlight/moonlight-5.0.1.ebuild index 8b57b5053b13..8b57b5053b13 100644 --- a/net-misc/moonlight/moonlight-5.0.0.ebuild +++ b/net-misc/moonlight/moonlight-5.0.1.ebuild |