Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-im/nheko/
Date: Tue, 21 Dec 2021 11:46:51
Message-Id: 1640087151.582f02369b0b6ffd175a6db452c440eeef79f850.tastytea@gentoo
1 commit: 582f02369b0b6ffd175a6db452c440eeef79f850
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Tue Dec 21 02:26:10 2021 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Tue Dec 21 11:45:51 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=582f0236
7
8 net-im/nheko: Version bump 0.9.1
9
10 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
11
12 net-im/nheko/Manifest | 1 +
13 net-im/nheko/nheko-0.9.1.ebuild | 77 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 78 insertions(+)
15
16 diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
17 index b96caec28..5045d28be 100644
18 --- a/net-im/nheko/Manifest
19 +++ b/net-im/nheko/Manifest
20 @@ -1,2 +1,3 @@
21 DIST nheko-0.9.0.tar.gz 1398941 BLAKE2B 353ac9a70282281ac9a9351df6f17e11ba06844b1116255ddf9a1135ecbfc5773ecf0e8a38944c398fb6d69db72d1819d8b86fb14ee69f4d0aed64f4b675b033 SHA512 277d322a2c5cf4631814bb57bf49e26bafdc0a048c17b821b02bbec19e9d12bff91697d307f5ebc2192e1fe0ebc394ba3342d4c3f0d4ad890d0aa9dc59c344a8
22 DIST nheko-0.9.0_pre20211003.tar.gz 1378662 BLAKE2B 84c1a0cc49b2f230e80e79bcf2681d4395d43bae521d8c5f38df06788fb93633e0a70db2a6df9cc0a72b94d0d40cea72a559a93edcc1c0f248c17ffd27d2d278 SHA512 be5f16ec446d1ab373bcc19afae1f2f1b90d701403c19e47ee172a716606640f8af7135f614aa6a8a913b9a864ce77af41ee5ae8270eaf40a3fc8a1797726920
23 +DIST nheko-0.9.1.tar.gz 1374697 BLAKE2B 72ef8805c0fa59c4b5fa0a1c359028a19989003b61edf9e7ad714d7ee8006e4727c98b6acd3bea5ddafeaddde1ae6d323322d7dfaf146195ec084b0dfa482219 SHA512 a914265052e6c2e327f45ea490999ea2fd22dda3955117f7d92a13b56018bd2c6999318c730e0c03b0e62a5a692678d1655f5bc15e4947db8a3bb9c4cea90e73
24
25 diff --git a/net-im/nheko/nheko-0.9.1.ebuild b/net-im/nheko/nheko-0.9.1.ebuild
26 new file mode 100644
27 index 000000000..08c16d1b7
28 --- /dev/null
29 +++ b/net-im/nheko/nheko-0.9.1.ebuild
30 @@ -0,0 +1,77 @@
31 +# Copyright 2020-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit cmake optfeature xdg
37 +
38 +DESCRIPTION="Native desktop client for Matrix using Qt"
39 +HOMEPAGE="https://github.com/Nheko-Reborn/nheko"
40 +SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="GPL-3"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +IUSE="X pipewire video voip"
46 +REQUIRED_USE="video? ( voip )"
47 +
48 +MY_GST_V="1.18"
49 +RDEPEND="
50 + app-text/cmark
51 + dev-cpp/qt-jdenticon
52 + >=dev-db/lmdb++-1.0.0
53 + >=dev-libs/mtxclient-0.6.1
54 + >=dev-libs/qtkeychain-0.12.0
55 + dev-libs/spdlog
56 + dev-qt/qtconcurrent:5
57 + dev-qt/qtgraphicaleffects:5
58 + dev-qt/qtgui:5[gif,jpeg,png]
59 + dev-qt/qtimageformats
60 + dev-qt/qtmultimedia:5[gstreamer,qml]
61 + dev-qt/qtquickcontrols2:5
62 + dev-qt/qtsvg:5
63 + pipewire? ( media-video/pipewire[gstreamer] )
64 + voip? (
65 + >=media-plugins/gst-plugins-dtls-${MY_GST_V}
66 + media-plugins/gst-plugins-libnice
67 + >=media-plugins/gst-plugins-meta-${MY_GST_V}[opus]
68 + >=media-plugins/gst-plugins-srtp-${MY_GST_V}
69 + >=media-plugins/gst-plugins-webrtc-${MY_GST_V}
70 + video? (
71 + >=media-libs/gst-plugins-base-${MY_GST_V}[opengl]
72 + >=media-plugins/gst-plugins-meta-${MY_GST_V}[v4l,vpx]
73 + >=media-plugins/gst-plugins-qt5-${MY_GST_V}
74 + X? (
75 + >=media-plugins/gst-plugins-ximagesrc-${MY_GST_V}
76 + x11-libs/xcb-util-wm
77 + )
78 + )
79 + )
80 +"
81 +DEPEND="
82 + dev-cpp/nlohmann_json
83 + ${RDEPEND}
84 +"
85 +BDEPEND="dev-qt/linguist-tools:5"
86 +
87 +src_configure() {
88 + local -a mycmakeargs=(
89 + "-DVOIP=$(usex voip)"
90 + )
91 + if use video && use X; then
92 + mycmakeargs+=("-DSCREENSHARE_X11=yes")
93 + else
94 + mycmakeargs+=("-DSCREENSHARE_X11=no")
95 + fi
96 +
97 + cmake_src_configure
98 +}
99 +
100 +pkg_postinst() {
101 + optfeature "audio & video file playback support" \
102 + "media-plugins/gst-plugins-meta[ffmpeg]"
103 + optfeature "secrets storage support other than kwallet (gnome-keyring or keepassxc)" \
104 + "dev-libs/qtkeychain[gnome-keyring]"
105 +
106 + xdg_pkg_postinst
107 +}