net-misc/moonlight: Introduced package.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Athalye <andrewathalye@outlook.com>
This commit is contained in:
Andrew Athalye
2021-11-04 14:51:38 +00:00
parent 01fae8bd3e
commit c351794e43
3 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST MoonlightSrc-3.1.4.tar.gz 55034473 BLAKE2B 1e420ea2f711f010f37e98ae2807ef7b449547d162065ea00809a07174d9e70ce78c7a2dc627ea8f2c275048277f8d45e7430c52df8b8b757c13646e831bbb2e SHA512 893b73f00fb8552f6a7c7bc8dbacac10e7280f2bb31a4813321e3c62a8071b8c6e87688ff9d60bfb27556dea6873c0a87a822e25b6cc0529f016bce7f3480ebc

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewathalye@outlook.com</email>
<description>Andrew Athalye</description>
</maintainer>
<use>
<flag name="vaapi">
Enable support for hardware video decoding using <pkg>x11-libs/libva</pkg>.
</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,58 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qmake-utils
inherit xdg-utils
DESCRIPTION="GameStream client for PCs"
HOMEPAGE="https://github.com/moonlight-stream/moonlight-qt"
SRC_URI="https://github.com/moonlight-stream/moonlight-qt/releases/download/v3.1.4/MoonlightSrc-3.1.4.tar.gz"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
# Comprehensive list of any and all USE flags leveraged in the ebuild,
# with some exceptions, e.g., ARCH specific flags like "amd64" or "ppc".
# Not needed if the ebuild doesn't use any USE flags.
IUSE="vaapi"
RDEPEND="
>=dev-libs/openssl-1.1.1l:0/1.1
>=media-libs/libsdl2-2.0.16-r1:0
>=media-libs/sdl2-ttf-2.0.15:0
>=media-video/ffmpeg-4.4-r1:0
>=dev-qt/qtsvg-5.15.2-r10:5/5.15
>=dev-qt/qtquickcontrols2-5.15.2-r11:5
>=media-libs/opus-1.3.1-r2:0
>=media-sound/pulseaudio-15.0-r1:0
vaapi? (
>=x11-libs/libva-2.12.0:0
)
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
dev-qt/qtcore
"
src_configure() {
eqmake5 PREFIX="${D}/usr"
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}