commit:     582f02369b0b6ffd175a6db452c440eeef79f850
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Tue Dec 21 02:26:10 2021 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Tue Dec 21 11:45:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=582f0236

net-im/nheko: Version bump 0.9.1

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

 net-im/nheko/Manifest           |  1 +
 net-im/nheko/nheko-0.9.1.ebuild | 77 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index b96caec28..5045d28be 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.0_pre20211003.tar.gz 1378662 BLAKE2B 
84c1a0cc49b2f230e80e79bcf2681d4395d43bae521d8c5f38df06788fb93633e0a70db2a6df9cc0a72b94d0d40cea72a559a93edcc1c0f248c17ffd27d2d278
 SHA512 
be5f16ec446d1ab373bcc19afae1f2f1b90d701403c19e47ee172a716606640f8af7135f614aa6a8a913b9a864ce77af41ee5ae8270eaf40a3fc8a1797726920
+DIST nheko-0.9.1.tar.gz 1374697 BLAKE2B 
72ef8805c0fa59c4b5fa0a1c359028a19989003b61edf9e7ad714d7ee8006e4727c98b6acd3bea5ddafeaddde1ae6d323322d7dfaf146195ec084b0dfa482219
 SHA512 
a914265052e6c2e327f45ea490999ea2fd22dda3955117f7d92a13b56018bd2c6999318c730e0c03b0e62a5a692678d1655f5bc15e4947db8a3bb9c4cea90e73

diff --git a/net-im/nheko/nheko-0.9.1.ebuild b/net-im/nheko/nheko-0.9.1.ebuild
new file mode 100644
index 000000000..08c16d1b7
--- /dev/null
+++ b/net-im/nheko/nheko-0.9.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2020-2021 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 pipewire video voip"
+REQUIRED_USE="video? ( voip )"
+
+MY_GST_V="1.18"
+RDEPEND="
+       app-text/cmark
+       dev-cpp/qt-jdenticon
+       >=dev-db/lmdb++-1.0.0
+       >=dev-libs/mtxclient-0.6.1
+       >=dev-libs/qtkeychain-0.12.0
+       dev-libs/spdlog
+       dev-qt/qtconcurrent:5
+       dev-qt/qtgraphicaleffects:5
+       dev-qt/qtgui:5[gif,jpeg,png]
+       dev-qt/qtimageformats
+       dev-qt/qtmultimedia:5[gstreamer,qml]
+       dev-qt/qtquickcontrols2:5
+       dev-qt/qtsvg:5
+       pipewire? ( media-video/pipewire[gstreamer] )
+       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