From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1440434-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8A53B158095
	for <garchives@archives.gentoo.org>; Wed, 28 Sep 2022 16:05:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7B13BE08FC;
	Wed, 28 Sep 2022 16:05:05 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 60690E08FC
	for <gentoo-commits@lists.gentoo.org>; Wed, 28 Sep 2022 16:05:05 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EF56C340FA3
	for <gentoo-commits@lists.gentoo.org>; Wed, 28 Sep 2022 16:05:03 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 948E05FE
	for <gentoo-commits@lists.gentoo.org>; Wed, 28 Sep 2022 16:05:01 +0000 (UTC)
From: "Ronny Gutbrod" <gentoo@tastytea.de>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" <gentoo@tastytea.de>
Message-ID: <1664380172.0fbfa0c18d5707d49fac4838101c2feec1648cca.tastytea@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: net-im/nheko/Manifest net-im/nheko/nheko-0.10.2.ebuild
X-VCS-Directories: net-im/nheko/
X-VCS-Committer: tastytea
X-VCS-Committer-Name: Ronny Gutbrod
X-VCS-Revision: 0fbfa0c18d5707d49fac4838101c2feec1648cca
X-VCS-Branch: master
Date: Wed, 28 Sep 2022 16:05:01 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 6f1886aa-002b-48c0-9cee-3d60b8aad821
X-Archives-Hash: 5a61b463f81c3e78f4d546940fa33684
Message-ID: <20220928160501.EzjAMnIVrW4V8iC70URHcsoB2HQqwYrEdtUxpW6wJjs@z>

commit:     0fbfa0c18d5707d49fac4838101c2feec1648cca
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Wed Sep 28 15:40:10 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Wed Sep 28 15:49:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0fbfa0c1

net-im/nheko: add 0.10.2

fixes a security issue:
<https://github.com/Nheko-Reborn/nheko/commit/67bee15>

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

 net-im/nheko/Manifest            |  1 +
 net-im/nheko/nheko-0.10.2.ebuild | 88 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 5734fb832..5e1165ff7 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,2 +1,3 @@
 DIST nheko-0.10.0.tar.gz 1587008 BLAKE2B 207622bcc0fcbf4f1760481d3bdf35d5c025d9aa7d553c2dc4649841426481c88292966c35d44944434c1628c34017bb76f84136b6bcc8f8c3f32478156ac713 SHA512 c0aaf0f9ea657c43867fbb6857db45cac30f0cbaeaf8ad6a20a1a3e1ab9e6cf15266444eada060666db5b94be5a72b95b371a4da62e6705eed49f9907c576954
 DIST nheko-0.10.1.tar.gz 1608578 BLAKE2B 328255d6ea8ce3fd0d1bbe9f20bb9608eba4c479b6969db7bebc67f3406ae8c6e9d69432d304b28e49b8547cf293e4f103d3f8257df4fbc676db9e6ca037ff48 SHA512 898582c1a09ad9cfac3285f0bc5e80bb5e69b1d744118822167bbe09e9aa44c2b28438db2d3b6e1fa88835de2b0e2f58726d3876661f28c5eb46475e2f54bc20
+DIST nheko-0.10.2.tar.gz 1608905 BLAKE2B 10b7b7d1f3e7525ae5ec4b78af228382440c5c64a3716b530506346372856035435d6e2d4e1724f2580ee384852ab0dd4e4b728eed92df827dc5cb3f2853b30b SHA512 b00c45115ab52f9cce5958aa594f6d316bdb917004e284d28ba3003c815bdc532ff1e7bbd5e542bb89a43fd552af3fa44b70ce66eb26b0bcff65beaea1f6b3cd

diff --git a/net-im/nheko/nheko-0.10.2.ebuild b/net-im/nheko/nheko-0.10.2.ebuild
new file mode 100644
index 000000000..5e4e00a92
--- /dev/null
+++ b/net-im/nheko/nheko-0.10.2.ebuild
@@ -0,0 +1,88 @@
+# 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/cmark:=
+	dev-cpp/qt-jdenticon
+	dev-db/lmdb:=
+	>=dev-db/lmdb++-1.0.0
+	dev-libs/libfmt:=
+	>=dev-libs/mtxclient-0.8.1:=
+	>=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[dbus,gif,jpeg,png]
+	dev-qt/qtimageformats
+	dev-qt/qtmultimedia:5[gstreamer,qml,widgets]
+	dev-qt/qtquickcontrols2:5[widgets]
+	dev-qt/qtsvg:5
+	virtual/notification-daemon
+	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
+	|| (
+		app-text/asciidoc
+		dev-ruby/asciidoctor
+	)
+"
+
+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 (for example gnome-keyring or keepassxc)" \
+		"dev-libs/qtkeychain[gnome-keyring]"
+	optfeature "additional, less common, image format support" \
+		"kde-frameworks/kimageformats"
+
+	xdg_pkg_postinst
+}