1 |
commit: c351794e437b8d100cf9d43372cab7aa5b340097 |
2 |
Author: Andrew Athalye <andrewathalye <AT> outlook <DOT> com> |
3 |
AuthorDate: Thu Nov 4 14:51:38 2021 +0000 |
4 |
Commit: Andrew Athalye <andrewathalye <AT> outlook <DOT> com> |
5 |
CommitDate: Thu Nov 4 14:51:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c351794e |
7 |
|
8 |
net-misc/moonlight: Introduced package. |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Athalye <andrewathalye <AT> outlook.com> |
12 |
|
13 |
net-misc/moonlight/Manifest | 1 + |
14 |
net-misc/moonlight/metadata.xml | 13 +++++++ |
15 |
net-misc/moonlight/moonlight-3.1.4.ebuild | 58 +++++++++++++++++++++++++++++++ |
16 |
3 files changed, 72 insertions(+) |
17 |
|
18 |
diff --git a/net-misc/moonlight/Manifest b/net-misc/moonlight/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000..df8201035 |
21 |
--- /dev/null |
22 |
+++ b/net-misc/moonlight/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST MoonlightSrc-3.1.4.tar.gz 55034473 BLAKE2B 1e420ea2f711f010f37e98ae2807ef7b449547d162065ea00809a07174d9e70ce78c7a2dc627ea8f2c275048277f8d45e7430c52df8b8b757c13646e831bbb2e SHA512 893b73f00fb8552f6a7c7bc8dbacac10e7280f2bb31a4813321e3c62a8071b8c6e87688ff9d60bfb27556dea6873c0a87a822e25b6cc0529f016bce7f3480ebc |
25 |
|
26 |
diff --git a/net-misc/moonlight/metadata.xml b/net-misc/moonlight/metadata.xml |
27 |
new file mode 100644 |
28 |
index 000000000..6e39cab3f |
29 |
--- /dev/null |
30 |
+++ b/net-misc/moonlight/metadata.xml |
31 |
@@ -0,0 +1,13 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+ <maintainer type="person"> |
36 |
+ <email>andrewathalye@×××××××.com</email> |
37 |
+ <description>Andrew Athalye</description> |
38 |
+ </maintainer> |
39 |
+ <use> |
40 |
+ <flag name="vaapi"> |
41 |
+ Enable support for hardware video decoding using <pkg>x11-libs/libva</pkg>. |
42 |
+ </flag> |
43 |
+ </use> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/net-misc/moonlight/moonlight-3.1.4.ebuild b/net-misc/moonlight/moonlight-3.1.4.ebuild |
47 |
new file mode 100644 |
48 |
index 000000000..c8c06d392 |
49 |
--- /dev/null |
50 |
+++ b/net-misc/moonlight/moonlight-3.1.4.ebuild |
51 |
@@ -0,0 +1,58 @@ |
52 |
+# Copyright 1999-2021 Gentoo Authors |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=8 |
56 |
+inherit qmake-utils |
57 |
+inherit xdg-utils |
58 |
+ |
59 |
+DESCRIPTION="GameStream client for PCs" |
60 |
+ |
61 |
+HOMEPAGE="https://github.com/moonlight-stream/moonlight-qt" |
62 |
+ |
63 |
+SRC_URI="https://github.com/moonlight-stream/moonlight-qt/releases/download/v3.1.4/MoonlightSrc-3.1.4.tar.gz" |
64 |
+ |
65 |
+S="${WORKDIR}" |
66 |
+ |
67 |
+LICENSE="GPL-3" |
68 |
+ |
69 |
+SLOT="0" |
70 |
+ |
71 |
+KEYWORDS="~amd64" |
72 |
+ |
73 |
+# Comprehensive list of any and all USE flags leveraged in the ebuild, |
74 |
+# with some exceptions, e.g., ARCH specific flags like "amd64" or "ppc". |
75 |
+# Not needed if the ebuild doesn't use any USE flags. |
76 |
+IUSE="vaapi" |
77 |
+ |
78 |
+RDEPEND=" |
79 |
+ >=dev-libs/openssl-1.1.1l:0/1.1 |
80 |
+ >=media-libs/libsdl2-2.0.16-r1:0 |
81 |
+ >=media-libs/sdl2-ttf-2.0.15:0 |
82 |
+ >=media-video/ffmpeg-4.4-r1:0 |
83 |
+ >=dev-qt/qtsvg-5.15.2-r10:5/5.15 |
84 |
+ >=dev-qt/qtquickcontrols2-5.15.2-r11:5 |
85 |
+ >=media-libs/opus-1.3.1-r2:0 |
86 |
+ >=media-sound/pulseaudio-15.0-r1:0 |
87 |
+ vaapi? ( |
88 |
+ >=x11-libs/libva-2.12.0:0 |
89 |
+ ) |
90 |
+" |
91 |
+ |
92 |
+DEPEND="${RDEPEND}" |
93 |
+ |
94 |
+BDEPEND=" |
95 |
+ virtual/pkgconfig |
96 |
+ dev-qt/qtcore |
97 |
+" |
98 |
+ |
99 |
+src_configure() { |
100 |
+ eqmake5 PREFIX="${D}/usr" |
101 |
+} |
102 |
+ |
103 |
+pkg_postinst() { |
104 |
+ xdg_icon_cache_update |
105 |
+} |
106 |
+ |
107 |
+pkg_postrm() { |
108 |
+ xdg_icon_cache_update |
109 |
+} |