1 |
commit: 83c1a229196756c62cb6253ec335ef1aa9c0dc44 |
2 |
Author: Huang Rui <vowstar <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 7 16:35:34 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 7 16:35:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=83c1a229 |
7 |
|
8 |
games-util/chiaki: new package 2.1.1 |
9 |
|
10 |
Client for PlayStation 4 and PlayStation 5 Remote Play |
11 |
|
12 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
13 |
Signed-off-by: Huang Rui <vowstar <AT> gmail.com> |
14 |
|
15 |
games-util/chiaki/Manifest | 1 + |
16 |
games-util/chiaki/chiaki-2.1.1.ebuild | 61 +++++++++++++++++++++++++++++++++++ |
17 |
games-util/chiaki/chiaki-9999.ebuild | 61 +++++++++++++++++++++++++++++++++++ |
18 |
games-util/chiaki/metadata.xml | 17 ++++++++++ |
19 |
4 files changed, 140 insertions(+) |
20 |
|
21 |
diff --git a/games-util/chiaki/Manifest b/games-util/chiaki/Manifest |
22 |
new file mode 100644 |
23 |
index 000000000..dd0b8363a |
24 |
--- /dev/null |
25 |
+++ b/games-util/chiaki/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST chiaki-2.1.1.tar.gz 6755442 BLAKE2B 6131b15d01b6ea96eedca0e8a3989bd353142ccc0fa34d159b1bf0a15412f315934b642f5e9e576dd8155506b85054000e54500e5966a3677bd60c989b2c9303 SHA512 3e0d8afd71f6f348d5ab0e68c7c46b9ee7d249d8b6b1185a746cb8b3907ea21db24756d5ec9de8debafbfffe74698358d29a97bc213cff7944ea15e894c3da50 |
28 |
|
29 |
diff --git a/games-util/chiaki/chiaki-2.1.1.ebuild b/games-util/chiaki/chiaki-2.1.1.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000..2f9bacabc |
32 |
--- /dev/null |
33 |
+++ b/games-util/chiaki/chiaki-2.1.1.ebuild |
34 |
@@ -0,0 +1,61 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+inherit cmake xdg |
41 |
+ |
42 |
+DESCRIPTION="Client for PlayStation 4 and PlayStation 5 Remote Play" |
43 |
+HOMEPAGE="https://git.sr.ht/~thestr4ng3r/chiaki" |
44 |
+ |
45 |
+if [[ "${PV}" == "9999" ]] ; then |
46 |
+ EGIT_REPO_URI="https://git.sr.ht/~thestr4ng3r/${PN}" |
47 |
+ inherit git-r3 |
48 |
+else |
49 |
+ SRC_URI="https://git.sr.ht/~thestr4ng3r/${PN}/refs/download/v${PV}/${PN}-v${PV}-src.tar.gz -> ${P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~x86" |
51 |
+ S="${WORKDIR}/${PN}" |
52 |
+fi |
53 |
+ |
54 |
+LICENSE="GPL-3" |
55 |
+SLOT="0" |
56 |
+IUSE="+cli +gui test" |
57 |
+RESTRICT="!test? ( test )" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ dev-libs/jerasure |
61 |
+ dev-libs/openssl |
62 |
+ dev-qt/qtmultimedia |
63 |
+ dev-qt/qtsvg |
64 |
+ media-libs/libsdl2 |
65 |
+ media-libs/opus |
66 |
+ media-video/ffmpeg |
67 |
+" |
68 |
+ |
69 |
+DEPEND="${RDEPEND}" |
70 |
+ |
71 |
+BDEPEND=" |
72 |
+ dev-libs/protobuf |
73 |
+ dev-python/protobuf-python |
74 |
+ virtual/pkgconfig |
75 |
+" |
76 |
+ |
77 |
+src_configure() { |
78 |
+ local mycmakeargs=( |
79 |
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" |
80 |
+ -DCMAKE_BUILD_TYPE=Release |
81 |
+ -DCHIAKI_USE_SYSTEM_JERASURE=TRUE |
82 |
+ -DCHIAKI_ENABLE_TESTS=$(usex test) |
83 |
+ -DCHIAKI_ENABLE_CLI=$(usex cli) |
84 |
+ -DCHIAKI_ENABLE_GUI=$(usex gui) |
85 |
+ ) |
86 |
+ |
87 |
+ cmake_src_configure |
88 |
+} |
89 |
+ |
90 |
+src_install() { |
91 |
+ cmake_src_install |
92 |
+ |
93 |
+ dolib.so "${BUILD_DIR}"/lib/*.so |
94 |
+ dolib.so "${BUILD_DIR}"/setsu/*.so |
95 |
+} |
96 |
\ No newline at end of file |
97 |
|
98 |
diff --git a/games-util/chiaki/chiaki-9999.ebuild b/games-util/chiaki/chiaki-9999.ebuild |
99 |
new file mode 100644 |
100 |
index 000000000..2f9bacabc |
101 |
--- /dev/null |
102 |
+++ b/games-util/chiaki/chiaki-9999.ebuild |
103 |
@@ -0,0 +1,61 @@ |
104 |
+# Copyright 1999-2022 Gentoo Authors |
105 |
+# Distributed under the terms of the GNU General Public License v2 |
106 |
+ |
107 |
+EAPI=8 |
108 |
+ |
109 |
+inherit cmake xdg |
110 |
+ |
111 |
+DESCRIPTION="Client for PlayStation 4 and PlayStation 5 Remote Play" |
112 |
+HOMEPAGE="https://git.sr.ht/~thestr4ng3r/chiaki" |
113 |
+ |
114 |
+if [[ "${PV}" == "9999" ]] ; then |
115 |
+ EGIT_REPO_URI="https://git.sr.ht/~thestr4ng3r/${PN}" |
116 |
+ inherit git-r3 |
117 |
+else |
118 |
+ SRC_URI="https://git.sr.ht/~thestr4ng3r/${PN}/refs/download/v${PV}/${PN}-v${PV}-src.tar.gz -> ${P}.tar.gz" |
119 |
+ KEYWORDS="~amd64 ~x86" |
120 |
+ S="${WORKDIR}/${PN}" |
121 |
+fi |
122 |
+ |
123 |
+LICENSE="GPL-3" |
124 |
+SLOT="0" |
125 |
+IUSE="+cli +gui test" |
126 |
+RESTRICT="!test? ( test )" |
127 |
+ |
128 |
+RDEPEND=" |
129 |
+ dev-libs/jerasure |
130 |
+ dev-libs/openssl |
131 |
+ dev-qt/qtmultimedia |
132 |
+ dev-qt/qtsvg |
133 |
+ media-libs/libsdl2 |
134 |
+ media-libs/opus |
135 |
+ media-video/ffmpeg |
136 |
+" |
137 |
+ |
138 |
+DEPEND="${RDEPEND}" |
139 |
+ |
140 |
+BDEPEND=" |
141 |
+ dev-libs/protobuf |
142 |
+ dev-python/protobuf-python |
143 |
+ virtual/pkgconfig |
144 |
+" |
145 |
+ |
146 |
+src_configure() { |
147 |
+ local mycmakeargs=( |
148 |
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" |
149 |
+ -DCMAKE_BUILD_TYPE=Release |
150 |
+ -DCHIAKI_USE_SYSTEM_JERASURE=TRUE |
151 |
+ -DCHIAKI_ENABLE_TESTS=$(usex test) |
152 |
+ -DCHIAKI_ENABLE_CLI=$(usex cli) |
153 |
+ -DCHIAKI_ENABLE_GUI=$(usex gui) |
154 |
+ ) |
155 |
+ |
156 |
+ cmake_src_configure |
157 |
+} |
158 |
+ |
159 |
+src_install() { |
160 |
+ cmake_src_install |
161 |
+ |
162 |
+ dolib.so "${BUILD_DIR}"/lib/*.so |
163 |
+ dolib.so "${BUILD_DIR}"/setsu/*.so |
164 |
+} |
165 |
\ No newline at end of file |
166 |
|
167 |
diff --git a/games-util/chiaki/metadata.xml b/games-util/chiaki/metadata.xml |
168 |
new file mode 100644 |
169 |
index 000000000..a8ccfa81b |
170 |
--- /dev/null |
171 |
+++ b/games-util/chiaki/metadata.xml |
172 |
@@ -0,0 +1,17 @@ |
173 |
+<?xml version="1.0" encoding="UTF-8"?> |
174 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
175 |
+<pkgmetadata> |
176 |
+ <maintainer type="person"> |
177 |
+ <email>vowstar@×××××.com</email> |
178 |
+ <name>Huang Rui</name> |
179 |
+ </maintainer> |
180 |
+ <use> |
181 |
+ <flag name="cli">Build CLI interface</flag> |
182 |
+ <flag name="gui">Build GUI interface</flag> |
183 |
+ </use> |
184 |
+ <longdescription lang="en"> |
185 |
+ Chiaki is a Free and Open Source Software Client for PlayStation 4 and |
186 |
+ PlayStation 5 Remote Play for Linux, FreeBSD, OpenBSD, Android, macOS, |
187 |
+ Windows, Nintendo Switch and potentially even more platforms. |
188 |
+ </longdescription> |
189 |
+</pkgmetadata> |