diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-19 03:53:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-19 03:53:34 +0100 |
commit | a643f0010255d34e6b8045aba39aef5174921a7d (patch) | |
tree | 0531d8d403536c7aaac699a54873e5111d7f4035 /net-misc/moonlight | |
parent | 99c41a033e7745ed8aa9ffbf0f9e1e414e80da4a (diff) |
gentoo auto-resync : 19:10:2023 - 03:53:34
Diffstat (limited to 'net-misc/moonlight')
-rw-r--r-- | net-misc/moonlight/Manifest | 2 | ||||
-rw-r--r-- | net-misc/moonlight/moonlight-5.0.0.ebuild | 80 |
2 files changed, 82 insertions, 0 deletions
diff --git a/net-misc/moonlight/Manifest b/net-misc/moonlight/Manifest index de5405748e51..36c651dafe5f 100644 --- a/net-misc/moonlight/Manifest +++ b/net-misc/moonlight/Manifest @@ -1,5 +1,7 @@ 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 EBUILD moonlight-9999.ebuild 1800 BLAKE2B 895be9ffee1cd497c3ef1a0ed1512d0ff889716ec72ba56272fc1227cfd0ff0429159a0c00086d1401633f85db439299ec67d0fff697f4a89b6c8057960cc767 SHA512 5fd13cf57cc8f704d2260c86a0b254839b32ace9f23b4f9947d5237429d2960869ac53d9163b56a8bcbba84a2093bd89226ec61ec5ffda604acec7cc4dd81567 MISC metadata.xml 935 BLAKE2B 525c806cd109602b0d6490ae197effa56727c2fffad4778b3d44bddba8d1844057a21fb989dd8eedd90a676529886e8a82cddbe3b79b9ad418d7ae4fa863c274 SHA512 9416ed7a90d96f2ecbe3eb246cd114e56f1919d2d07ccac0f1a45331c6ece33f900b8df4e56d0c85ef2c578ddca6acbb9ecedd9b9ff90254de0cd9abdad68d4c diff --git a/net-misc/moonlight/moonlight-5.0.0.ebuild b/net-misc/moonlight/moonlight-5.0.0.ebuild new file mode 100644 index 000000000000..8b57b5053b13 --- /dev/null +++ b/net-misc/moonlight/moonlight-5.0.0.ebuild @@ -0,0 +1,80 @@ +# 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 glslow 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 +" + +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 glslow) \ + $(usev soundio) \ + " +} + +src_install() { + emake install INSTALL_ROOT="${D}" + einstalldocs +} |