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