commit:     108264e99c859f6e2dde16e4fa4e747c1c462914
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Mar 10 07:51:07 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Thu Mar 10 13:43:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=108264e9

net-im/nheko: Version bump 0.9.2

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 net-im/nheko/Manifest           |  1 +
 net-im/nheko/nheko-0.9.2.ebuild | 81 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 7ed0af0d5..4f9cc63f5 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,2 +1,3 @@
 DIST nheko-0.9.0.tar.gz 1398941 BLAKE2B 
353ac9a70282281ac9a9351df6f17e11ba06844b1116255ddf9a1135ecbfc5773ecf0e8a38944c398fb6d69db72d1819d8b86fb14ee69f4d0aed64f4b675b033
 SHA512 
277d322a2c5cf4631814bb57bf49e26bafdc0a048c17b821b02bbec19e9d12bff91697d307f5ebc2192e1fe0ebc394ba3342d4c3f0d4ad890d0aa9dc59c344a8
 DIST nheko-0.9.1.tar.gz 1374697 BLAKE2B 
72ef8805c0fa59c4b5fa0a1c359028a19989003b61edf9e7ad714d7ee8006e4727c98b6acd3bea5ddafeaddde1ae6d323322d7dfaf146195ec084b0dfa482219
 SHA512 
a914265052e6c2e327f45ea490999ea2fd22dda3955117f7d92a13b56018bd2c6999318c730e0c03b0e62a5a692678d1655f5bc15e4947db8a3bb9c4cea90e73
+DIST nheko-0.9.2.tar.gz 1418814 BLAKE2B 
e3f2f9358dd39d648c219eddea93f48ff7574cd954189f6c08bc7ace0429602acd1b859bb4987b1a34c93e17f8e547f6b0fb3c2a113a3a8a060dec5e25adbcc5
 SHA512 
86c0b5bf8e767125cc9e78c3a898df35fae5b34277253c8c98777f1814fcab36ff558576fa5b71de05df63223a866671473674fb8250eeee905a979dd0c978a9

diff --git a/net-im/nheko/nheko-0.9.2.ebuild b/net-im/nheko/nheko-0.9.2.ebuild
new file mode 100644
index 000000000..764dc346c
--- /dev/null
+++ b/net-im/nheko/nheko-0.9.2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake optfeature xdg
+
+DESCRIPTION="Native desktop client for Matrix using Qt"
+HOMEPAGE="https://github.com/Nheko-Reborn/nheko";
+SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="X video voip"
+REQUIRED_USE="video? ( voip )"
+
+MY_GST_V="1.18"
+RDEPEND="
+       || (
+               app-text/asciidoc
+               dev-ruby/asciidoctor
+       )
+       app-text/cmark
+       dev-cpp/qt-jdenticon
+       >=dev-db/lmdb++-1.0.0
+       >=dev-libs/mtxclient-0.7.0:=
+       >=dev-libs/qtkeychain-0.12.0
+       dev-libs/spdlog
+       dev-qt/qtconcurrent:5
+       dev-qt/qtdeclarative:5[widgets]
+       dev-qt/qtgraphicaleffects:5
+       dev-qt/qtgui:5[gif,jpeg,png]
+       dev-qt/qtimageformats
+       dev-qt/qtmultimedia:5[gstreamer,qml,widgets]
+       dev-qt/qtquickcontrols2:5[widgets]
+       dev-qt/qtsvg:5
+       voip? (
+               >=media-plugins/gst-plugins-dtls-${MY_GST_V}
+               media-plugins/gst-plugins-libnice
+               >=media-plugins/gst-plugins-meta-${MY_GST_V}[opus]
+               >=media-plugins/gst-plugins-srtp-${MY_GST_V}
+               >=media-plugins/gst-plugins-webrtc-${MY_GST_V}
+               video? (
+                       >=media-libs/gst-plugins-base-${MY_GST_V}[opengl]
+                       >=media-plugins/gst-plugins-meta-${MY_GST_V}[v4l,vpx]
+                       >=media-plugins/gst-plugins-qt5-${MY_GST_V}
+                       X? (
+                               
>=media-plugins/gst-plugins-ximagesrc-${MY_GST_V}
+                               x11-libs/xcb-util-wm
+                       )
+               )
+       )
+"
+DEPEND="
+       dev-cpp/nlohmann_json
+       ${RDEPEND}
+"
+BDEPEND="dev-qt/linguist-tools:5"
+
+src_configure() {
+       local -a mycmakeargs=(
+               "-DVOIP=$(usex voip)"
+       )
+       if use video && use X; then
+               mycmakeargs+=("-DSCREENSHARE_X11=yes")
+       else
+               mycmakeargs+=("-DSCREENSHARE_X11=no")
+       fi
+
+       cmake_src_configure
+}
+
+pkg_postinst() {
+       optfeature "audio & video file playback support" \
+                          "media-plugins/gst-plugins-meta[ffmpeg]"
+       optfeature "secrets storage support other than kwallet (gnome-keyring 
or keepassxc)" \
+                          "dev-libs/qtkeychain[gnome-keyring]"
+
+       xdg_pkg_postinst
+}

Reply via email to