Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/
Date: Thu, 08 Sep 2022 01:46:52
Message-Id: 1662595690.61cd00b40223f6ffe8e4168a4f6c15a83770def2.tastytea@gentoo
1 commit: 61cd00b40223f6ffe8e4168a4f6c15a83770def2
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Thu Sep 8 00:08:10 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Thu Sep 8 00:08:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=61cd00b4
7
8 net-im/nheko: add 0.10.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.10.1.ebuild | 88 ++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 89 insertions(+)
15
16 diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
17 index e27ef876c..be5f241a4 100644
18 --- a/net-im/nheko/Manifest
19 +++ b/net-im/nheko/Manifest
20 @@ -1,2 +1,3 @@
21 DIST nheko-0.10.0.tar.gz 1587008 BLAKE2B 207622bcc0fcbf4f1760481d3bdf35d5c025d9aa7d553c2dc4649841426481c88292966c35d44944434c1628c34017bb76f84136b6bcc8f8c3f32478156ac713 SHA512 c0aaf0f9ea657c43867fbb6857db45cac30f0cbaeaf8ad6a20a1a3e1ab9e6cf15266444eada060666db5b94be5a72b95b371a4da62e6705eed49f9907c576954
22 +DIST nheko-0.10.1.tar.gz 1608578 BLAKE2B 328255d6ea8ce3fd0d1bbe9f20bb9608eba4c479b6969db7bebc67f3406ae8c6e9d69432d304b28e49b8547cf293e4f103d3f8257df4fbc676db9e6ca037ff48 SHA512 898582c1a09ad9cfac3285f0bc5e80bb5e69b1d744118822167bbe09e9aa44c2b28438db2d3b6e1fa88835de2b0e2f58726d3876661f28c5eb46475e2f54bc20
23 DIST nheko-0.9.3.tar.gz 1455446 BLAKE2B da68617e8cd2a74a41b9a14e107fdbc58a667ef2187e9680bb4514d2542ad99176aaed9bcc1184ec3cbd10b258b3910da99a0e63dfe82ccfc1c7e4f7715d4d95 SHA512 187348e8e274f727a638ca3cb3ed015b9f7cbb50eea2e33bc519cd216a74763cab265466001a82c584dcf91f950c41c3f7a4f3c1ac1f1564a8d5f7711eb37d5a
24
25 diff --git a/net-im/nheko/nheko-0.10.1.ebuild b/net-im/nheko/nheko-0.10.1.ebuild
26 new file mode 100644
27 index 000000000..5e4e00a92
28 --- /dev/null
29 +++ b/net-im/nheko/nheko-0.10.1.ebuild
30 @@ -0,0 +1,88 @@
31 +# Copyright 2020-2022 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 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:=
53 + >=dev-db/lmdb++-1.0.0
54 + dev-libs/libfmt:=
55 + >=dev-libs/mtxclient-0.8.1:=
56 + >=dev-libs/qtkeychain-0.12.0:=
57 + dev-libs/spdlog:=
58 + dev-qt/qtconcurrent:5
59 + dev-qt/qtdeclarative:5[widgets]
60 + dev-qt/qtgraphicaleffects:5
61 + dev-qt/qtgui:5[dbus,gif,jpeg,png]
62 + dev-qt/qtimageformats
63 + dev-qt/qtmultimedia:5[gstreamer,qml,widgets]
64 + dev-qt/qtquickcontrols2:5[widgets]
65 + dev-qt/qtsvg:5
66 + virtual/notification-daemon
67 + voip? (
68 + >=media-plugins/gst-plugins-dtls-${MY_GST_V}
69 + media-plugins/gst-plugins-libnice
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 + X? (
78 + >=media-plugins/gst-plugins-ximagesrc-${MY_GST_V}
79 + x11-libs/xcb-util-wm
80 + )
81 + )
82 + )
83 +"
84 +DEPEND="
85 + dev-cpp/nlohmann_json
86 + ${RDEPEND}
87 +"
88 +BDEPEND="
89 + dev-qt/linguist-tools:5
90 + || (
91 + app-text/asciidoc
92 + dev-ruby/asciidoctor
93 + )
94 +"
95 +
96 +src_configure() {
97 + local -a mycmakeargs=(
98 + "-DVOIP=$(usex voip)"
99 + )
100 + if use video && use X; then
101 + mycmakeargs+=("-DSCREENSHARE_X11=yes")
102 + else
103 + mycmakeargs+=("-DSCREENSHARE_X11=no")
104 + fi
105 +
106 + cmake_src_configure
107 +}
108 +
109 +pkg_postinst() {
110 + optfeature "audio & video file playback support" \
111 + "media-plugins/gst-plugins-meta[ffmpeg]"
112 + optfeature "secrets storage support other than kwallet (for example gnome-keyring or keepassxc)" \
113 + "dev-libs/qtkeychain[gnome-keyring]"
114 + optfeature "additional, less common, image format support" \
115 + "kde-frameworks/kimageformats"
116 +
117 + xdg_pkg_postinst
118 +}