From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-im/nheko/
Date: Wed, 29 Nov 2023 08:54:31 +0000 (UTC) [thread overview]
Message-ID: <1701248017.de646981446a02dd22039d7fe56fb88e4a6f8014.cybertailor@gentoo> (raw)
commit: de646981446a02dd22039d7fe56fb88e4a6f8014
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Nov 28 13:56:39 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Nov 29 08:53:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=de646981
net-im/nheko: sort out dependencies (2nd try)
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 <cyber+gentoo <AT> 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 @@
<remote-id type="github">Nheko-Reborn/nheko</remote-id>
</upstream>
<use>
- <flag name="video">Enables video calls</flag>
- <flag name="voip">Enables audio calls</flag>
+ <flag name="video">Enable video calls</flag>
+ <flag name="voip">Enable audio calls</flag>
</use>
</pkgmetadata>
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
+}
next reply other threads:[~2023-11-29 8:54 UTC|newest]
Thread overview: 77+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 8:54 Anna Vyalkova [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-13 10:19 [gentoo-commits] repo/proj/guru:dev commit in: net-im/nheko/ David Roman
2024-09-13 7:21 Ronny Gutbrod
2024-09-12 17:35 David Roman
2024-07-31 2:30 Amano Kenji
2024-07-26 4:00 Joe Kappus
2024-07-26 3:19 Joe Kappus
2024-07-05 16:59 Ronny Gutbrod
2024-06-16 14:55 Ronny Gutbrod
2024-06-13 13:35 Ronny Gutbrod
2024-06-13 13:35 Ronny Gutbrod
2024-06-13 12:55 Ronny Gutbrod
2024-03-24 15:17 Ronny Gutbrod
2024-03-12 9:08 Ronny Gutbrod
2024-02-06 15:14 Anna Vyalkova
2024-02-06 15:14 Anna Vyalkova
2024-02-02 0:38 Ronny Gutbrod
2023-11-29 8:54 Anna Vyalkova
2023-11-27 21:11 Ronny Gutbrod
2023-11-27 18:50 Anna Vyalkova
2023-07-01 17:16 Anna Vyalkova
2023-06-14 11:55 Ronny Gutbrod
2023-06-10 23:39 Joe Kappus
2023-05-01 8:47 Ronny Gutbrod
2023-02-23 9:53 Ronny Gutbrod
2023-02-23 9:53 Ronny Gutbrod
2023-02-21 15:00 Ronny Gutbrod
2023-02-21 15:00 Ronny Gutbrod
2023-02-21 15:00 Ronny Gutbrod
2023-02-03 9:47 Ronny Gutbrod
2023-01-23 15:56 Ronny Gutbrod
2023-01-17 1:02 Ronny Gutbrod
2023-01-17 1:02 Ronny Gutbrod
2023-01-13 16:50 Ronny Gutbrod
2022-12-06 8:15 Sam James
2022-12-04 12:13 Ronny Gutbrod
2022-10-02 10:02 Ronny Gutbrod
2022-09-28 16:04 Ronny Gutbrod
2022-09-28 16:04 Ronny Gutbrod
2022-09-08 1:46 [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-09-08 0:09 ` [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-09-08 0:09 Ronny Gutbrod
2022-07-23 16:15 Ronny Gutbrod
2022-07-23 16:15 Ronny Gutbrod
2022-03-29 0:23 [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-03-29 0:22 ` [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-03-25 15:17 [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-03-25 9:42 ` [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-03-25 9:42 Ronny Gutbrod
2022-03-10 13:53 Ronny Gutbrod
2022-03-07 16:22 Ronny Gutbrod
2022-01-18 14:41 Ronny Gutbrod
2021-12-21 11:46 Ronny Gutbrod
2021-12-21 11:46 Ronny Gutbrod
2021-12-06 7:19 Ronny Gutbrod
2021-11-21 18:49 Ronny Gutbrod
2021-11-21 18:49 Ronny Gutbrod
2021-11-20 3:01 Ronny Gutbrod
2021-11-19 18:38 Ronny Gutbrod
2021-11-19 1:15 Ronny Gutbrod
2021-11-19 1:15 Ronny Gutbrod
2021-10-16 18:31 Ronny Gutbrod
2021-10-16 16:27 Ronny Gutbrod
2021-10-16 16:27 Ronny Gutbrod
2021-10-04 11:45 Ronny Gutbrod
2021-10-04 11:45 Ronny Gutbrod
2021-06-24 9:27 Ronny Gutbrod
2021-04-23 10:56 Ronny Gutbrod
2021-04-23 10:56 Ronny Gutbrod
2021-04-21 6:21 Ronny Gutbrod
2021-04-09 16:46 Ronny Gutbrod
2021-01-28 1:44 Ronny Gutbrod
2021-01-28 1:44 Ronny Gutbrod
2021-01-20 3:39 Ronny Gutbrod
2021-01-20 3:39 Ronny Gutbrod
2020-08-15 12:18 Ronny Gutbrod
2020-08-15 12:18 Ronny Gutbrod
2020-07-19 22:07 Ronny Gutbrod
2020-06-13 1:28 Ronny Gutbrod
2020-05-25 1:03 Ronny Gutbrod
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1701248017.de646981446a02dd22039d7fe56fb88e4a6f8014.cybertailor@gentoo \
--to=cyber+gentoo@sysrq.in \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox