From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 80994158099 for ; Mon, 27 Nov 2023 18:50:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6893B2BC04D; Mon, 27 Nov 2023 18:50:30 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 269582BC04D for ; Mon, 27 Nov 2023 18:50:30 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E96D9340CCD for ; Mon, 27 Nov 2023 18:50:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22703136A for ; Mon, 27 Nov 2023 18:50:27 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1701110978.353bc49002fef5ec439571abfa69ef0605f39d01.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-im/nheko/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-im/nheko/Manifest net-im/nheko/metadata.xml net-im/nheko/nheko-0.11.3-r1.ebuild X-VCS-Directories: net-im/nheko/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 353bc49002fef5ec439571abfa69ef0605f39d01 X-VCS-Branch: dev Date: Mon, 27 Nov 2023 18:50:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 97e730d7-cc03-446f-8040-1d8967a61e83 X-Archives-Hash: 5dda8b89f19ec3664641124cc5207b3f commit: 353bc49002fef5ec439571abfa69ef0605f39d01 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Mon Nov 27 18:46:55 2023 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Mon Nov 27 18:49:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=353bc490 net-im/nheko: sort out dependencies Other changes: * Add MIT license for bundled SingleApplication * Sort out optfeatures Cosmetic changes: * Add an actual homapage * Download from GitLab for better compression * Match description to upstream * Use one-liner for '-DSCREENSHARE_X11' option Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> net-im/nheko/Manifest | 1 + net-im/nheko/metadata.xml | 4 +- net-im/nheko/nheko-0.11.3-r1.ebuild | 109 ++++++++++++++++++++++++++++++++++++ 3 files changed, 112 insertions(+), 2 deletions(-) diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest index a644560ad6..211658a5f3 100644 --- a/net-im/nheko/Manifest +++ b/net-im/nheko/Manifest @@ -1 +1,2 @@ DIST nheko-0.11.3.tar.gz 1780179 BLAKE2B 095314ea420bd78cff71fe9e8bd48c1319248fa5c31bfc3741aa72cfa7585660f74f7eb3b9848b53ccfbc979283db8ca2e52e8e4f2749280ee1c867a35baf075 SHA512 bd5b94def3c56bb2c91c40c3ef967ee3b14cb71a7e5b01028743a849932c918620c2b1a1b822705e49dacc80dae6c48712f63bf9a68698858b0faaf1a816c9cd +DIST nheko-v0.11.3.tar.bz2 1222761 BLAKE2B 218246824512b13fc3448142e5e127b207952e3f66c2b308ca281d7f9e6b0198760d9408b467bf9442a0df306d2b23ffc5034cba5c675299aac85ac4ebe23280 SHA512 bd051144a16cd628d6259a7ce4acf10fd7b7ef3d8b0036cbf1f2a80c550062a04062a61c66e7a060f853d53c1eaa50fadb0223641e98283001aabf037c0e4de1 diff --git a/net-im/nheko/metadata.xml b/net-im/nheko/metadata.xml index b37af0362f..94b37ec974 100644 --- a/net-im/nheko/metadata.xml +++ b/net-im/nheko/metadata.xml @@ -9,7 +9,7 @@ Nheko-Reborn/nheko - Enables video calls - Enables audio calls + Enable video calls + Enable audio calls diff --git a/net-im/nheko/nheko-0.11.3-r1.ebuild b/net-im/nheko/nheko-0.11.3-r1.ebuild new file mode 100644 index 0000000000..d6a349281b --- /dev/null +++ b/net-im/nheko/nheko-0.11.3-r1.ebuild @@ -0,0 +1,109 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature xdg + +MY_P="${PN}-v${PV}" +DESCRIPTION="Desktop client for the Matrix protocol" +HOMEPAGE="https://nheko-reborn.github.io/" +SRC_URI="https://nheko.im/nheko-reborn/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3 MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="X tiff video voip webp" +REQUIRED_USE="video? ( voip )" + +MY_GST_V="1.18" +COMMON_DEPEND=" + app-text/cmark:= + >=dev-cpp/blurhash-0.2.0:= + dev-cpp/cpp-httplib:=[ssl] + dev-db/lmdb:= + dev-libs/libfmt:= + >=dev-libs/mtxclient-0.9.0:= + dev-libs/olm + >=dev-libs/qtkeychain-0.12.0:=[qt5] + dev-libs/spdlog:= + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtdeclarative:5[widgets] + dev-qt/qtgui:5[png] + dev-qt/qtmultimedia:5[qml] + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + voip? ( + dev-libs/glib:2 + >=media-libs/gst-plugins-bad-${MY_GST_V}:1.0 + >=media-libs/gst-plugins-base-${MY_GST_V}:1.0 + >=media-libs/gstreamer-${MY_GST_V}:1.0 + video? ( + X? ( + x11-libs/libxcb:= + x11-libs/xcb-util-wm + ) + ) + ) +" +# 'dev-qt/qtconcurrent' is linked but never used +DEPEND="${COMMON_DEPEND} + dev-cpp/nlohmann_json + >=dev-db/lmdb++-1.0.0 + dev-qt/qtconcurrent:5 +" +RDEPEND="${COMMON_DEPEND} + dev-qt/qtgraphicaleffects:5 + dev-qt/qtquickcontrols2:5 + tiff? ( dev-qt/qtimageformats:5 ) + voip? ( + >=media-plugins/gst-plugins-dtls-${MY_GST_V}:1.0 + media-plugins/gst-plugins-libnice:1.0 + >=media-plugins/gst-plugins-meta-${MY_GST_V}:1.0[opus] + >=media-plugins/gst-plugins-srtp-${MY_GST_V}:1.0 + >=media-plugins/gst-plugins-webrtc-${MY_GST_V}:1.0 + video? ( + >=media-libs/gst-plugins-base-${MY_GST_V}:1.0[opengl] + >=media-plugins/gst-plugins-meta-${MY_GST_V}:1.0[vpx] + >=media-plugins/gst-plugins-qt5-${MY_GST_V}:1.0 + X? ( + >=media-plugins/gst-plugins-ximagesrc-${MY_GST_V}:1.0 + ) + ) + ) + webp? ( dev-qt/qtimageformats:5 ) +" +BDEPEND=" + dev-qt/linguist-tools:5 + || ( + app-text/asciidoc + dev-ruby/asciidoctor + ) +" + +PATCHES=( + "${FILESDIR}"/${P}-fix-explicit-optional-construction.patch + "${FILESDIR}"/${P}-fix-build-against-fmt10.patch +) + +src_configure() { + local -a mycmakeargs=( + -DSCREENSHARE_X11=$(if use video && use X; then echo ON; else echo OFF; fi) + -DVOIP=$(usex voip) + -DUSE_BUNDLED_CPPHTTPLIB=OFF + -DUSE_BUNDLED_BLURHASH=OFF + ) + + cmake_src_configure +} + +pkg_postinst() { + optfeature "additional image formats support" kde-frameworks/kimageformats:5 + optfeature "audio & video file playback support" media-plugins/gst-plugins-meta[ffmpeg] + optfeature "identicons support" dev-cpp/qt-jdenticon + + xdg_pkg_postinst +}