1 |
commit: 37f86ec08bbfeabce2ed4720e1f7354d2a7473c8 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Sun Oct 3 20:58:37 2021 +0000 |
4 |
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> |
5 |
CommitDate: Mon Oct 4 11:43:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37f86ec0 |
7 |
|
8 |
net-im/nheko: Version bump 0.9.0_pre20211003. |
9 |
|
10 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
11 |
|
12 |
net-im/nheko/metadata.xml | 4 ++ |
13 |
net-im/nheko/nheko-0.9.0_pre20211003.ebuild | 57 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 61 insertions(+) |
15 |
|
16 |
diff --git a/net-im/nheko/metadata.xml b/net-im/nheko/metadata.xml |
17 |
index 4a3f8ed7d..3da131833 100644 |
18 |
--- a/net-im/nheko/metadata.xml |
19 |
+++ b/net-im/nheko/metadata.xml |
20 |
@@ -8,4 +8,8 @@ |
21 |
<upstream> |
22 |
<remote-id type="github">Nheko-Reborn/nheko</remote-id> |
23 |
</upstream> |
24 |
+ <use> |
25 |
+ <flag name="video">Enables video calls</flag> |
26 |
+ <flag name="voip">Enables audio calls</flag> |
27 |
+ </use> |
28 |
</pkgmetadata> |
29 |
|
30 |
diff --git a/net-im/nheko/nheko-0.9.0_pre20211003.ebuild b/net-im/nheko/nheko-0.9.0_pre20211003.ebuild |
31 |
new file mode 100644 |
32 |
index 000000000..c214fa70f |
33 |
--- /dev/null |
34 |
+++ b/net-im/nheko/nheko-0.9.0_pre20211003.ebuild |
35 |
@@ -0,0 +1,57 @@ |
36 |
+# Copyright 2020-2021 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=8 |
40 |
+ |
41 |
+inherit cmake xdg |
42 |
+ |
43 |
+MY_COMMIT="c43c2bd4b9481f761e9f1b16453f0e7f5b1beabe" |
44 |
+DESCRIPTION="Desktop client for Matrix using Qt and C++14" |
45 |
+HOMEPAGE="https://github.com/Nheko-Reborn/nheko" |
46 |
+SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" |
47 |
+S="${WORKDIR}/${PN}-${MY_COMMIT}" |
48 |
+ |
49 |
+LICENSE="GPL-3" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64" |
52 |
+IUSE="video voip" |
53 |
+REQUIRED_USE="video? ( voip )" |
54 |
+ |
55 |
+MY_GST_V="1.18" |
56 |
+RDEPEND=" |
57 |
+ app-text/cmark |
58 |
+ >=dev-db/lmdb++-1.0.0 |
59 |
+ >=dev-libs/mtxclient-0.5.2_pre20210916 |
60 |
+ >=dev-libs/qtkeychain-0.12.0 |
61 |
+ dev-libs/spdlog |
62 |
+ dev-qt/qtconcurrent:5 |
63 |
+ dev-qt/qtgraphicaleffects:5 |
64 |
+ dev-qt/qtmultimedia:5[qml] |
65 |
+ dev-qt/qtquickcontrols2:5 |
66 |
+ dev-qt/qtsvg:5 |
67 |
+ voip? ( |
68 |
+ dev-qt/qtmultimedia:5[gstreamer] |
69 |
+ >=media-plugins/gst-plugins-dtls-${MY_GST_V} |
70 |
+ >=media-plugins/gst-plugins-meta-${MY_GST_V}[opus] |
71 |
+ >=media-plugins/gst-plugins-srtp-${MY_GST_V} |
72 |
+ >=media-plugins/gst-plugins-webrtc-${MY_GST_V} |
73 |
+ video? ( |
74 |
+ >=media-libs/gst-plugins-base-${MY_GST_V}[opengl] |
75 |
+ >=media-plugins/gst-plugins-meta-${MY_GST_V}[v4l,vpx] |
76 |
+ >=media-plugins/gst-plugins-qt5-${MY_GST_V} |
77 |
+ >=media-plugins/gst-plugins-ximagesrc-${MY_GST_V} |
78 |
+ x11-libs/xcb-util-wm |
79 |
+ ) |
80 |
+ ) |
81 |
+" |
82 |
+DEPEND=" |
83 |
+ dev-cpp/nlohmann_json |
84 |
+ ${RDEPEND} |
85 |
+" |
86 |
+BDEPEND="dev-qt/linguist-tools:5" |
87 |
+ |
88 |
+src_prepare() { |
89 |
+ use voip || sed -i '/^pkg_check_modules(GSTREAMER/d' CMakeLists.txt || die |
90 |
+ |
91 |
+ cmake_src_prepare |
92 |
+} |