[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2024-09-13 Thread David Roman
commit: 5ea850281267fe4ecb3df002e91f3d47c26950b4
Author: tea  tastytea  de>
AuthorDate: Fri Sep 13 07:20:38 2024 +
Commit: David Roman  gmail  com>
CommitDate: Fri Sep 13 07:20:38 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5ea85028

net-im/nheko: drop 0.11.3-r2

Closes: https://bugs.gentoo.org/939564
Signed-off-by: tea  tastytea.de>

 net-im/nheko/Manifest   |   1 -
 net-im/nheko/nheko-0.11.3-r2.ebuild | 133 
 2 files changed, 134 deletions(-)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index c923ee692..c4d1091f3 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,2 +1 @@
-DIST nheko-v0.11.3.tar.bz2 1222761 BLAKE2B 
218246824512b13fc3448142e5e127b207952e3f66c2b308ca281d7f9e6b0198760d9408b467bf9442a0df306d2b23ffc5034cba5c675299aac85ac4ebe23280
 SHA512 
bd051144a16cd628d6259a7ce4acf10fd7b7ef3d8b0036cbf1f2a80c550062a04062a61c66e7a060f853d53c1eaa50fadb0223641e98283001aabf037c0e4de1
 DIST nheko-v0.12.0.tar.bz2 1438636 BLAKE2B 
6586b913f5221d2d8da5e56eb23fd0ef4ad79f4d4649244308787fd2e6c54d3ddfea32e4723676386a1681370e51c8af73c3a58fc77b536e6fa44ad0bdac2e7a
 SHA512 
8fd96c3d40c75250b9c66eef673d709392d6afe1e9c7a8ad8cb3015633583fb2358c9e714da19c5616640c6c2ff8027871293718b0fcdb0f5d6a5ea0f27e7a3f

diff --git a/net-im/nheko/nheko-0.11.3-r2.ebuild 
b/net-im/nheko/nheko-0.11.3-r2.ebuild
deleted file mode 100644
index e1a95fff5..0
--- a/net-im/nheko/nheko-0.11.3-r2.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 2020-2024 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 doc +jpeg man tiff v4l 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/coeurl-0.3.1:=[ssl]
-   dev-cpp/cpp-httplib:=
-   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[jpeg?,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
-"
-# 'virtual/notification-daemon' is required because of upstream bug:
-# https://github.com/Nheko-Reborn/nheko/issues/693
-RDEPEND="${COMMON_DEPEND}
-   dev-qt/qtgraphicaleffects:5
-   dev-qt/qtquickcontrols2:5
-   virtual/notification-daemon
-   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[v4l?,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
-   doc? ( app-text/doxygen[dot] )
-   man? (
-   || (
-   app-text/asciidoc
-   dev-ruby/asciidoctor
-   )
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-fix-explicit-optional-construction.patch
-   "${FILESDIR}"/${P}-fix-build-against-fmt10.patch
-)
-
-DOCS=( {CHANGELOG,README}.md )
-
-src_configure() {
-   local -a mycmakeargs=(
-   -DSCREENSHARE_X11=$(if use video && use X; then echo ON; else 
echo OFF; fi)
-   -DVOIP=$(usex voip)
-   -DBUILD_DOCS=$(usex doc)
- 

[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2024-07-31 Thread David Roman
commit: bec40454d76360817cae0b858416ce665c4144a4
Author: amano.kenji  proton  me>
AuthorDate: Wed Jul 31 02:28:53 2024 +
Commit: David Roman  gmail  com>
CommitDate: Wed Jul 31 02:28:53 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bec40454

net-im/nheko: depend on dev-qt/qtmultimedia[qml]

Signed-off-by: amano.kenji  proton.me>

 net-im/nheko/{nheko-0.12.0.ebuild => nheko-0.12.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/nheko/nheko-0.12.0.ebuild 
b/net-im/nheko/nheko-0.12.0-r1.ebuild
similarity index 98%
rename from net-im/nheko/nheko-0.12.0.ebuild
rename to net-im/nheko/nheko-0.12.0-r1.ebuild
index 92596c206..66a98f76a 100644
--- a/net-im/nheko/nheko-0.12.0.ebuild
+++ b/net-im/nheko/nheko-0.12.0-r1.ebuild
@@ -37,7 +37,7 @@ RDEPEND="
dev-qt/qtbase:6[concurrent,dbus,gui,widgets]
dev-qt/qtdeclarative:6[widgets]
dev-qt/qtimageformats:6
-   dev-qt/qtmultimedia:6[gstreamer]
+   dev-qt/qtmultimedia:6[gstreamer,qml]
dev-qt/qtsvg:6
net-misc/curl[ssl]
virtual/notification-daemon



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2024-07-26 Thread David Roman
commit: 5ac4e92726ec104f4d526568c9d651e9296b2e9d
Author: Joe Kappus  wt  gd>
AuthorDate: Fri Jul 26 03:59:07 2024 +
Commit: David Roman  gmail  com>
CommitDate: Fri Jul 26 03:59:07 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5ac4e927

net-im/nheko: Update RDEPEND

dev-qt/kdsingleapplication -> dev-libs/kdsingleapplication

Signed-off-by: Joe Kappus  wt.gd>

 net-im/nheko/nheko-0.12.0.ebuild | 2 +-
 net-im/nheko/nheko-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/nheko/nheko-0.12.0.ebuild b/net-im/nheko/nheko-0.12.0.ebuild
index 41925b044..92596c206 100644
--- a/net-im/nheko/nheko-0.12.0.ebuild
+++ b/net-im/nheko/nheko-0.12.0.ebuild
@@ -27,13 +27,13 @@ RDEPEND="
>=dev-db/lmdb++-1.0.0
dev-libs/libevent:=
dev-libs/libfmt:=
+   >=dev-libs/kdsingleapplication-1.1.0
>=dev-libs/mtxclient-0.10.0:=
dev-libs/olm
>=dev-libs/openssl-1.1.0:=
>=dev-libs/qtkeychain-0.14.1-r1:=[qt6]
>=dev-libs/re2-0.2022.04.01:=
dev-libs/spdlog:=
-   >=dev-qt/kdsingleapplication-1.1.0:=
dev-qt/qtbase:6[concurrent,dbus,gui,widgets]
dev-qt/qtdeclarative:6[widgets]
dev-qt/qtimageformats:6

diff --git a/net-im/nheko/nheko-.ebuild b/net-im/nheko/nheko-.ebuild
index 1ec785caf..220f06708 100644
--- a/net-im/nheko/nheko-.ebuild
+++ b/net-im/nheko/nheko-.ebuild
@@ -29,12 +29,12 @@ RDEPEND="
>=dev-db/lmdb++-1.0.0
dev-libs/libevent:=
dev-libs/libfmt:=
+   >=dev-libs/kdsingleapplication-1.1.0
dev-libs/olm
>=dev-libs/openssl-1.1.0:=
>=dev-libs/qtkeychain-0.14.1-r1:=[qt6]
>=dev-libs/re2-0.2022.04.01:=
dev-libs/spdlog:=
-   >=dev-qt/kdsingleapplication-1.1.0:=
dev-qt/qtbase:6[concurrent,dbus,gui,widgets]
dev-qt/qtdeclarative:6[widgets]
dev-qt/qtimageformats:6



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2024-07-26 Thread David Roman
commit: a9d8243091218adc1cc56be04fe4d147eaccf4e5
Author: Joe Kappus  wt  gd>
AuthorDate: Fri Jul 26 03:19:04 2024 +
Commit: David Roman  gmail  com>
CommitDate: Fri Jul 26 03:19:04 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a9d82430

net-im/nheko: update RDEPEND

Needed by 2ba8aef245ea39c2a5f7437de78ff1be5a1854a4
dev-libs/kdsingleapplication: Drop IUSE qt6 (dropping qt5 "option")

Signed-off-by: Joe Kappus  wt.gd>

 net-im/nheko/nheko-0.12.0.ebuild | 2 +-
 net-im/nheko/nheko-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/nheko/nheko-0.12.0.ebuild b/net-im/nheko/nheko-0.12.0.ebuild
index e22f303cc..41925b044 100644
--- a/net-im/nheko/nheko-0.12.0.ebuild
+++ b/net-im/nheko/nheko-0.12.0.ebuild
@@ -33,7 +33,7 @@ RDEPEND="
>=dev-libs/qtkeychain-0.14.1-r1:=[qt6]
>=dev-libs/re2-0.2022.04.01:=
dev-libs/spdlog:=
-   >=dev-qt/kdsingleapplication-1.1.0:=[qt6]
+   >=dev-qt/kdsingleapplication-1.1.0:=
dev-qt/qtbase:6[concurrent,dbus,gui,widgets]
dev-qt/qtdeclarative:6[widgets]
dev-qt/qtimageformats:6

diff --git a/net-im/nheko/nheko-.ebuild b/net-im/nheko/nheko-.ebuild
index b25d7d977..1ec785caf 100644
--- a/net-im/nheko/nheko-.ebuild
+++ b/net-im/nheko/nheko-.ebuild
@@ -34,7 +34,7 @@ RDEPEND="
>=dev-libs/qtkeychain-0.14.1-r1:=[qt6]
>=dev-libs/re2-0.2022.04.01:=
dev-libs/spdlog:=
-   >=dev-qt/kdsingleapplication-1.1.0:=[qt6]
+   >=dev-qt/kdsingleapplication-1.1.0:=
dev-qt/qtbase:6[concurrent,dbus,gui,widgets]
dev-qt/qtdeclarative:6[widgets]
dev-qt/qtimageformats:6



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2024-07-08 Thread David Roman
commit: 209292e86e59c9636d0290faaf4537bea0519217
Author: tea  tastytea  de>
AuthorDate: Fri Jul  5 06:29:34 2024 +
Commit: David Roman  gmail  com>
CommitDate: Fri Jul  5 16:59:24 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=209292e8

net-im/nheko: update postinst message for live ebuild

Signed-off-by: tea  tastytea.de>

 net-im/nheko/nheko-.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-im/nheko/nheko-.ebuild b/net-im/nheko/nheko-.ebuild
index 62a8c8d96..b25d7d977 100644
--- a/net-im/nheko/nheko-.ebuild
+++ b/net-im/nheko/nheko-.ebuild
@@ -129,7 +129,6 @@ pkg_postinst() {
 
xdg_pkg_postinst
 
-   ewarn "since Nheko migrated to Qt 6 there may be some regressions. 
video streams will"
-   ewarn "probably not work for now. 
d95d2fcaa9e3b8ab47275d2bf56e5a7ebddd37e7 was the"
-   ewarn "last commit with Qt5 support."
+   ewarn "since Nheko migrated to Qt 6 video streams will not work for now 
because"
+   ewarn "we are missing a dependency. see 
 for details"
 }



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/, net-im/nheko/files/

2024-07-08 Thread David Roman
commit: 429788ad79e7ed72ba7703f4dd738641d74324c5
Author: tea  tastytea  de>
AuthorDate: Fri Jul  5 16:54:20 2024 +
Commit: David Roman  gmail  com>
CommitDate: Fri Jul  5 16:59:25 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=429788ad

net-im/nheko: remove forced wayland dependency

backported the fix from upstream

Bug: https://bugs.gentoo.org/934414
Signed-off-by: tea  tastytea.de>

 .../nheko-0.12.0-remove-wayland-dep-on-x11.patch   | 39 ++
 net-im/nheko/nheko-0.12.0.ebuild   |  4 ++-
 2 files changed, 42 insertions(+), 1 deletion(-)

diff --git a/net-im/nheko/files/nheko-0.12.0-remove-wayland-dep-on-x11.patch 
b/net-im/nheko/files/nheko-0.12.0-remove-wayland-dep-on-x11.patch
new file mode 100644
index 0..ce32492e2
--- /dev/null
+++ b/net-im/nheko/files/nheko-0.12.0-remove-wayland-dep-on-x11.patch
@@ -0,0 +1,39 @@
+# adapted from upstream commit:
+# 
+
+From 3bc8117be9964af95210c865880bd2db8dc76a27 Mon Sep 17 00:00:00 2001
+From: tea 
+Date: Fri, 5 Jul 2024 17:32:59 +0200
+Subject: [PATCH] remove wayland dep on X11
+
+---
+ src/main.cpp | 6 --
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/main.cpp b/src/main.cpp
+index 8ea15901..392867bb 100644
+--- a/src/main.cpp
 b/src/main.cpp
+@@ -21,7 +21,7 @@
+ 
+ // in theory we can enable this everywhere, but the header is missing on some 
of our CI systems and
+ // it is too much effort to install.
+-#if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
++#if __has_include()
+ #include 
+ #endif
+ 
+@@ -248,7 +248,9 @@ main(int argc, char *argv[])
+ if (!singleapp.isPrimaryInstance()) {
+ auto token = qgetenv("XDG_ACTIVATION_TOKEN");
+ 
+-#if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
++#if __has_include() && \
++((QT_VERSION >= QT_VERSION_CHECK(6, 7, 0) &&  QT_CONFIG(wayland)) || \
++ (QT_VERSION < QT_VERSION_CHECK(6, 7, 0) && defined(Q_OS_UNIX) && 
!defined(Q_OS_MACOS)))
+ // getting a valid activation token on wayland is a bit of a pain, it 
works most reliably
+ // when you have an actual window, that has the focus...
+ auto waylandApp = 
app.nativeInterface();
+-- 
+2.44.2
+

diff --git a/net-im/nheko/nheko-0.12.0.ebuild b/net-im/nheko/nheko-0.12.0.ebuild
index d68d32446..e22f303cc 100644
--- a/net-im/nheko/nheko-0.12.0.ebuild
+++ b/net-im/nheko/nheko-0.12.0.ebuild
@@ -34,7 +34,7 @@ RDEPEND="
>=dev-libs/re2-0.2022.04.01:=
dev-libs/spdlog:=
>=dev-qt/kdsingleapplication-1.1.0:=[qt6]
-   dev-qt/qtbase:6[concurrent,dbus,gui,wayland,widgets]
+   dev-qt/qtbase:6[concurrent,dbus,gui,widgets]
dev-qt/qtdeclarative:6[widgets]
dev-qt/qtimageformats:6
dev-qt/qtmultimedia:6[gstreamer]
@@ -76,6 +76,8 @@ BDEPEND="
)
 "
 
+PATCHES=( "${FILESDIR}"/${P}-remove-wayland-dep-on-x11.patch )
+
 src_configure() {
local -a mycmakeargs=(
-DUSE_BUNDLED_CPPHTTPLIB=no



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2024-06-17 Thread Julien Roy
commit: f22c622c10cae6e2874347d542f6a127ff42340f
Author: tea  tastytea  de>
AuthorDate: Sun Jun 16 14:05:38 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Jun 16 14:55:12 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f22c622c

net-im/nheko: add mising dependency on dev-qt/qtbase:6[wayland]

Closes: https://bugs.gentoo.org/934414
Signed-off-by: tea  tastytea.de>

 net-im/nheko/nheko-0.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/nheko/nheko-0.12.0.ebuild b/net-im/nheko/nheko-0.12.0.ebuild
index d51334d1e..d68d32446 100644
--- a/net-im/nheko/nheko-0.12.0.ebuild
+++ b/net-im/nheko/nheko-0.12.0.ebuild
@@ -34,7 +34,7 @@ RDEPEND="
>=dev-libs/re2-0.2022.04.01:=
dev-libs/spdlog:=
>=dev-qt/kdsingleapplication-1.1.0:=[qt6]
-   dev-qt/qtbase:6[concurrent,dbus,gui,widgets]
+   dev-qt/qtbase:6[concurrent,dbus,gui,wayland,widgets]
dev-qt/qtdeclarative:6[widgets]
dev-qt/qtimageformats:6
dev-qt/qtmultimedia:6[gstreamer]



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2024-03-24 Thread Julien Roy
commit: 1b40fd0917bdae0b06f5cc13a269f25d80b7e377
Author: tastytea  tastytea  de>
AuthorDate: Sun Mar 24 15:12:39 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Mar 24 15:15:00 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b40fd09

net-im/nheko: inform about secrets storage

many people will need dev-libs/qtkeychain[keyring]

Bug: https://github.com/gentoo/guru/pull/150#issuecomment-2008613440
Signed-off-by: tastytea  tastytea.de>

 net-im/nheko/nheko-0.11.3-r2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-im/nheko/nheko-0.11.3-r2.ebuild 
b/net-im/nheko/nheko-0.11.3-r2.ebuild
index 24048849ce..6ee7ea2022 100644
--- a/net-im/nheko/nheko-0.11.3-r2.ebuild
+++ b/net-im/nheko/nheko-0.11.3-r2.ebuild
@@ -124,6 +124,8 @@ 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 "secrets storage support other than kwallet (for example 
gnome-keyring or keepassxc)" \
+   "dev-libs/qtkeychain[keyring]"
optfeature "identicons support" dev-cpp/qt-jdenticon:5
 
xdg_pkg_postinst



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2024-03-12 Thread Haelwenn Monnier
commit: 7512fbeae5f43cbd276debb8aef2348774250c06
Author: tastytea  tastytea  de>
AuthorDate: Tue Mar 12 09:05:16 2024 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Tue Mar 12 09:05:16 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7512fbea

net-im/nheko: fix slots in qt-jdenticon optfeature

make dev-cpp/qt-jdenticon optfeature in , like it is in the release
ebuilds

Signed-off-by: tastytea  tastytea.de>

 net-im/nheko/nheko-0.11.3-r2.ebuild | 4 ++--
 net-im/nheko/nheko-.ebuild  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-im/nheko/nheko-0.11.3-r2.ebuild 
b/net-im/nheko/nheko-0.11.3-r2.ebuild
index b4fb5ac039..24048849ce 100644
--- a/net-im/nheko/nheko-0.11.3-r2.ebuild
+++ b/net-im/nheko/nheko-0.11.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -124,7 +124,7 @@ 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
+   optfeature "identicons support" dev-cpp/qt-jdenticon:5
 
xdg_pkg_postinst
 }

diff --git a/net-im/nheko/nheko-.ebuild b/net-im/nheko/nheko-.ebuild
index e6e98259c0..7f34ff5017 100644
--- a/net-im/nheko/nheko-.ebuild
+++ b/net-im/nheko/nheko-.ebuild
@@ -26,7 +26,6 @@ MY_GST_V="1.18"
 RDEPEND="
app-text/cmark:=
dev-cpp/cpp-httplib:=
-   dev-cpp/qt-jdenticon
dev-db/lmdb:=
>=dev-db/lmdb++-1.0.0
dev-libs/libevent:=
@@ -127,6 +126,7 @@ pkg_postinst() {
"dev-libs/qtkeychain[keyring]"
optfeature "additional, less common, image format support" \
"kde-frameworks/kimageformats:6"
+   optfeature "identicons support" dev-cpp/qt-jdenticon:6
 
xdg_pkg_postinst
 



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2024-02-07 Thread David Roman
commit: de49c63f6cacf09c7cc7d4b1c3687aaa672082d1
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Tue Feb  6 15:07:25 2024 +
Commit: David Roman  gmail  com>
CommitDate: Tue Feb  6 15:13:30 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=de49c63f

net-im/nheko: drop 0.11.3

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 net-im/nheko/Manifest|   1 -
 net-im/nheko/nheko-0.11.3.ebuild | 100 ---
 2 files changed, 101 deletions(-)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 211658a5f3..17bbfb1b53 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,2 +1 @@
-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/nheko-0.11.3.ebuild b/net-im/nheko/nheko-0.11.3.ebuild
deleted file mode 100644
index 66b6ef0e29..00
--- a/net-im/nheko/nheko-0.11.3.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 2020-2023 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 +pie video voip"
-REQUIRED_USE="video? ( voip )"
-
-MY_GST_V="1.18"
-RDEPEND="
-   app-text/cmark:=
-   >=dev-cpp/blurhash-0.2.0:=
-   dev-cpp/cpp-httplib:=
-   dev-cpp/qt-jdenticon
-   dev-db/lmdb:=
-   >=dev-db/lmdb++-1.0.0
-   dev-libs/libfmt:=
-   >=dev-libs/mtxclient-0.9.0:=
-   >=dev-libs/qtkeychain-0.12.0:=
-   >=dev-libs/re2-0.2022.04.01:=
-   dev-libs/spdlog:=
-   dev-qt/qtconcurrent:5
-   dev-qt/qtdeclarative:5[widgets]
-   dev-qt/qtgraphicaleffects:5
-   dev-qt/qtgui:5[dbus,jpeg,png]
-   dev-qt/qtimageformats:5
-   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/libxcb:=
-   x11-libs/xcb-util-wm
-   )
-   )
-   )
-"
-DEPEND="
-   dev-cpp/nlohmann_json
-   ${RDEPEND}
-"
-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=(
-   -DVOIP=$(usex voip)
-   -DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)
-   -DUSE_BUNDLED_CPPHTTPLIB=no
-   -DUSE_BUNDLED_BLURHASH=no
-   )
-   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[keyring]"
-   optfeature "additional, less common, image format support" \
-   "kde-frameworks/kimageformats"
-
-   xdg_pkg_postinst
-}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2024-02-07 Thread David Roman
commit: 0f22f81bf5b92f30e6f956ad4502cec032d7b527
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Tue Feb  6 14:47:34 2024 +
Commit: David Roman  gmail  com>
CommitDate: Tue Feb  6 15:13:29 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0f22f81b

net-im/nheko: don't require ssl support for cpp-httplib

It is used only for launching an HTTP server.

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 net-im/nheko/nheko-0.11.3-r2.ebuild | 130 
 1 file changed, 130 insertions(+)

diff --git a/net-im/nheko/nheko-0.11.3-r2.ebuild 
b/net-im/nheko/nheko-0.11.3-r2.ebuild
new file mode 100644
index 00..b4fb5ac039
--- /dev/null
+++ b/net-im/nheko/nheko-0.11.3-r2.ebuild
@@ -0,0 +1,130 @@
+# 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 doc +jpeg man tiff v4l 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:=
+   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[jpeg?,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
+"
+# 'virtual/notification-daemon' is required because of upstream bug:
+# https://github.com/Nheko-Reborn/nheko/issues/693
+RDEPEND="${COMMON_DEPEND}
+   dev-qt/qtgraphicaleffects:5
+   dev-qt/qtquickcontrols2:5
+   virtual/notification-daemon
+   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[v4l?,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
+   doc? ( app-text/doxygen[dot] )
+   man? (
+   || (
+   app-text/asciidoc
+   dev-ruby/asciidoctor
+   )
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-fix-explicit-optional-construction.patch
+   "${FILESDIR}"/${P}-fix-build-against-fmt10.patch
+)
+
+DOCS=( {CHANGELOG,README}.md )
+
+src_configure() {
+   local -a mycmakeargs=(
+   -DSCREENSHARE_X11=$(if use video && use X; then echo ON; else 
echo OFF; fi)
+   -DVOIP=$(usex voip)
+   -DBUILD_DOCS=$(usex doc)
+   -DMAN=$(usex man)
+   -DUSE_BUNDLED_CPPHTTPLIB=OFF
+   -DUSE_BUNDLED_BLURHASH=OFF
+
+   # See #890903 and #91
+   -DCMAKE_POSITION_INDEPENDENT_CODE=OFF
+
+   # Handle transitive dependencies
+   -DOPENSSL_FOUND:BOOL=TRUE
+   -Dlibevent_core_FOUND:BOOL=TRUE
+   -Dlibevent_pthreads_FOUND:BOOL=TRUE
+   -Dlibcurl_FOUND:BOOL=TRUE
+   -Dre2_FOUND:BOOL=TRUE
+   )
+
+   use doc && HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
+   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]
+   opt

[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-11-30 Thread Andrew Ammerlaan
commit: de646981446a02dd22039d7fe56fb88e4a6f8014
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Tue Nov 28 13:56:39 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Nov 29 08:53:37 2023 +
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  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 00..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
+   )

[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-11-30 Thread Andrew Ammerlaan
commit: ae7a0f9adb19a0690efa7525cf2714aa94dd14e6
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Tue Nov 28 15:23:22 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Nov 29 08:53:41 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae7a0f9a

net-im/nheko: fix what was broken

Fixes:
* Add "+jpeg +webp" to default IUSE
* Add "v4l" USE-flag for camera support
* Add 'virtual/notification-daemon' dependency back
* Set '-DCMAKE_POSITION_INDEPENDENT_CODE=OFF'

New things:
* "man" and "doc" USE-flags
* Handle transitive deps

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 net-im/nheko/nheko-0.11.3-r1.ebuild | 33 +++--
 1 file changed, 27 insertions(+), 6 deletions(-)

diff --git a/net-im/nheko/nheko-0.11.3-r1.ebuild 
b/net-im/nheko/nheko-0.11.3-r1.ebuild
index d6a349281b..818024f5ef 100644
--- a/net-im/nheko/nheko-0.11.3-r1.ebuild
+++ b/net-im/nheko/nheko-0.11.3-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="GPL-3 MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="X tiff video voip webp"
+IUSE="X doc +jpeg man tiff v4l video voip +webp"
 REQUIRED_USE="video? ( voip )"
 
 MY_GST_V="1.18"
@@ -31,7 +31,7 @@ COMMON_DEPEND="
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5[widgets]
-   dev-qt/qtgui:5[png]
+   dev-qt/qtgui:5[jpeg?,png]
dev-qt/qtmultimedia:5[qml]
dev-qt/qtnetwork:5
dev-qt/qtsvg:5
@@ -55,9 +55,12 @@ DEPEND="${COMMON_DEPEND}
>=dev-db/lmdb++-1.0.0
dev-qt/qtconcurrent:5
 "
+# 'virtual/notification-daemon' is required because of upstream bug:
+# https://github.com/Nheko-Reborn/nheko/issues/693
 RDEPEND="${COMMON_DEPEND}
dev-qt/qtgraphicaleffects:5
dev-qt/qtquickcontrols2:5
+   virtual/notification-daemon
tiff? ( dev-qt/qtimageformats:5 )
voip? (
>=media-plugins/gst-plugins-dtls-${MY_GST_V}:1.0
@@ -67,7 +70,7 @@ RDEPEND="${COMMON_DEPEND}
>=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-meta-${MY_GST_V}:1.0[v4l?,vpx]
>=media-plugins/gst-plugins-qt5-${MY_GST_V}:1.0
X? (

>=media-plugins/gst-plugins-ximagesrc-${MY_GST_V}:1.0
@@ -78,9 +81,12 @@ RDEPEND="${COMMON_DEPEND}
 "
 BDEPEND="
dev-qt/linguist-tools:5
-   || (
-   app-text/asciidoc
-   dev-ruby/asciidoctor
+   doc? ( app-doc/doxygen[dot] )
+   man? (
+   || (
+   app-text/asciidoc
+   dev-ruby/asciidoctor
+   )
)
 "
 
@@ -89,14 +95,29 @@ PATCHES=(
"${FILESDIR}"/${P}-fix-build-against-fmt10.patch
 )
 
+DOCS=( {CHANGELOG,README}.md )
+
 src_configure() {
local -a mycmakeargs=(
-DSCREENSHARE_X11=$(if use video && use X; then echo ON; else 
echo OFF; fi)
-DVOIP=$(usex voip)
+   -DBUILD_DOCS=$(usex doc)
+   -DMAN=$(usex man)
-DUSE_BUNDLED_CPPHTTPLIB=OFF
-DUSE_BUNDLED_BLURHASH=OFF
+
+   # See #890903 and #91
+   -DCMAKE_POSITION_INDEPENDENT_CODE=OFF
+
+   # Handle transitive dependencies
+   -DOPENSSL_FOUND:BOOL=TRUE
+   -Dlibevent_core_FOUND:BOOL=TRUE
+   -Dlibevent_pthreads_FOUND:BOOL=TRUE
+   -Dlibcurl_FOUND:BOOL=TRUE
+   -Dre2_FOUND:BOOL=TRUE
)
 
+   use doc && HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
cmake_src_configure
 }
 



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/files/, net-im/nheko/

2023-07-01 Thread Haelwenn Monnier
commit: 0c4d0f82e4f0b77942325b6ed9081432b3756d14
Author: tastytea  tastytea  de>
AuthorDate: Thu Jun 29 08:15:44 2023 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Fri Jun 30 12:12:40 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0c4d0f82

net-im/nheko: fix build error with >=dev-libs/libfmt-10

Signed-off-by: tastytea  tastytea.de>

 .../nheko-0.11.3-fix-build-against-fmt10.patch | 82 ++
 net-im/nheko/nheko-0.11.3.ebuild   |  5 +-
 2 files changed, 86 insertions(+), 1 deletion(-)

diff --git a/net-im/nheko/files/nheko-0.11.3-fix-build-against-fmt10.patch 
b/net-im/nheko/files/nheko-0.11.3-fix-build-against-fmt10.patch
new file mode 100644
index 0..dc9c5f8df
--- /dev/null
+++ b/net-im/nheko/files/nheko-0.11.3-fix-build-against-fmt10.patch
@@ -0,0 +1,82 @@
+# source: 

+# backport of upstream commit
+#  by xvitaly for Fedora.
+
+From e89e65dc17020772eb057414b4f0c5d6f4ad98d0 Mon Sep 17 00:00:00 2001
+From: Nicolas Werner 
+Date: Wed, 28 Jun 2023 13:16:10 +0200
+Subject: [PATCH] Fix build against fmt10
+
+fixes #1499
+---
+ src/Cache.cpp |  2 +-
+ src/encryption/DeviceVerificationFlow.cpp |  2 +-
+ src/timeline/InputBar.cpp | 10 ++
+ src/ui/MxcMediaProxy.cpp  |  9 ++---
+ 4 files changed, 14 insertions(+), 9 deletions(-)
+
+diff --git a/src/Cache.cpp b/src/Cache.cpp
+index c575ebf7..0c5e879c 100644
+--- a/src/Cache.cpp
 b/src/Cache.cpp
+@@ -438,7 +438,7 @@ Cache::loadSecretsFromStore(
+ if (job->error() && job->error() != 
QKeychain::Error::EntryNotFound) {
+ nhlog::db()->error("Restoring secret '{}' failed ({}): 
{}",
+name.toStdString(),
+-   job->error(),
++   static_cast(job->error()),
+job->errorString().toStdString());
+ 
+ fatalSecretError();
+diff --git a/src/encryption/DeviceVerificationFlow.cpp 
b/src/encryption/DeviceVerificationFlow.cpp
+index 0e9043dd..7dee9e6b 100644
+--- a/src/encryption/DeviceVerificationFlow.cpp
 b/src/encryption/DeviceVerificationFlow.cpp
+@@ -39,7 +39,7 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *,
+   , deviceIds(std::move(deviceIds_))
+   , model_(model)
+ {
+-nhlog::crypto()->debug("CREATING NEW FLOW, {}, {}", flow_type, (void 
*)this);
++nhlog::crypto()->debug("CREATING NEW FLOW, {}, {}", 
static_cast(flow_type), (void *)this);
+ if (deviceIds.size() == 1)
+ deviceId = deviceIds.front();
+ 
+diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
+index 94944337..1fb210d8 100644
+--- a/src/timeline/InputBar.cpp
 b/src/timeline/InputBar.cpp
+@@ -948,14 +948,14 @@ MediaUpload::MediaUpload(std::unique_ptr 
source_,
+ this,
+ [mediaPlayer](QMediaPlayer::Error error) {
+ nhlog::ui()->debug("Media player error {} and errorStr 
{}",
+-   error,
++   static_cast(error),
+
mediaPlayer->errorString().toStdString());
+ });
+ connect(mediaPlayer,
+ &QMediaPlayer::mediaStatusChanged,
+ [mediaPlayer](QMediaPlayer::MediaStatus status) {
+ nhlog::ui()->debug(
+-  "Media player status {} and error {}", status, 
mediaPlayer->error());
++  "Media player status {} and error {}", 
static_cast(status), static_cast(mediaPlayer->error()));
+ });
+ connect(mediaPlayer,
+ qOverload(&QMediaPlayer::metaDataChanged),
+diff --git a/src/ui/MxcMediaProxy.cpp b/src/ui/MxcMediaProxy.cpp
+index da5a2231..dbe63469 100644
+--- a/src/ui/MxcMediaProxy.cpp
 b/src/ui/MxcMediaProxy.cpp
+@@ -37,11 +37,11 @@ MxcMediaProxy::MxcMediaProxy(QObject *parent)
+ qOverload(&MxcMediaProxy::error),
+ [this](QMediaPlayer::Error error) {
+ nhlog::ui()->info("Media player error {} and errorStr {}",
+-  error,
++  static_cast(error),
+   this->errorString().toStdString());
+ });
+ connect(this, &MxcMediaProxy::mediaStatusChanged, 
[this](QMediaPlayer::MediaStatus status) {
+-nhlog::ui()->info("Media player status {} and error {}", status, 
this->error());
++nhlog::ui()->info("Media player status {} and error {}", 
static_cast(status), static_cast(this->error()));
+ });
+ connect(this,
+ qOverload(&MxcMediaProxy::metaDataChanged),

diff --git a/net-im/n

[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-07-01 Thread Haelwenn Monnier
commit: 22de6ed5dc81df3678f3eb1da3a3dff3dbd5fcb2
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sat Jul  1 17:16:29 2023 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Jul  1 17:16:36 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=22de6ed5

net-im/nheko: change optfeature usedep

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 net-im/nheko/nheko-0.11.3.ebuild | 2 +-
 net-im/nheko/nheko-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/nheko/nheko-0.11.3.ebuild b/net-im/nheko/nheko-0.11.3.ebuild
index 95c05cfa1..66b6ef0e2 100644
--- a/net-im/nheko/nheko-0.11.3.ebuild
+++ b/net-im/nheko/nheko-0.11.3.ebuild
@@ -92,7 +92,7 @@ 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]"
+   "dev-libs/qtkeychain[keyring]"
optfeature "additional, less common, image format support" \
"kde-frameworks/kimageformats"
 

diff --git a/net-im/nheko/nheko-.ebuild b/net-im/nheko/nheko-.ebuild
index fdf0f1a2b..7ab489fa8 100644
--- a/net-im/nheko/nheko-.ebuild
+++ b/net-im/nheko/nheko-.ebuild
@@ -123,7 +123,7 @@ 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]"
+   "dev-libs/qtkeychain[keyring]"
optfeature "additional, less common, image format support" \
"kde-frameworks/kimageformats:6"
 



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-06-15 Thread Florian Schmaus
commit: 948e7627a346bb83022850e69263cd2e3ca40803
Author: tastytea  tastytea  de>
AuthorDate: Wed Jun 14 11:52:58 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Jun 14 11:54:35 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=948e7627

net-im/nheko: migrate  to qt6

Signed-off-by: tastytea  tastytea.de>

 net-im/nheko/nheko-.ebuild | 37 ++---
 1 file changed, 18 insertions(+), 19 deletions(-)

diff --git a/net-im/nheko/nheko-.ebuild b/net-im/nheko/nheko-.ebuild
index 34eeb5d7b..fdf0f1a2b 100644
--- a/net-im/nheko/nheko-.ebuild
+++ b/net-im/nheko/nheko-.ebuild
@@ -33,17 +33,14 @@ RDEPEND="
dev-libs/libfmt:=
dev-libs/olm
>=dev-libs/openssl-1.1.0:=
-   >=dev-libs/qtkeychain-0.12.0:=
+   >=dev-libs/qtkeychain-0.14.1-r1:=[qt6]
>=dev-libs/re2-0.2022.04.01:=
dev-libs/spdlog:=
-   dev-qt/qtconcurrent:5
-   dev-qt/qtdeclarative:5[widgets]
-   dev-qt/qtgraphicaleffects:5
-   dev-qt/qtgui:5[dbus,jpeg,png]
-   dev-qt/qtimageformats:5
-   dev-qt/qtmultimedia:5[gstreamer,qml,widgets]
-   dev-qt/qtquickcontrols2:5[widgets]
-   dev-qt/qtsvg:5
+   dev-qt/qtbase:6[concurrent,dbus,gui,widgets]
+   dev-qt/qtdeclarative:6[widgets]
+   dev-qt/qtimageformats:6
+   dev-qt/qtmultimedia:6[gstreamer]
+   dev-qt/qtsvg:6
net-misc/curl[ssl]
virtual/notification-daemon
voip? (
@@ -55,21 +52,23 @@ RDEPEND="
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/libxcb:=
-   x11-libs/xcb-util-wm
)
)
)
+   X? (
+   x11-libs/libxcb:=
+   x11-libs/xcb-util-wm
+   )
 "
+# TODO: gst-plugins-qt6
 DEPEND="
dev-cpp/nlohmann_json
${RDEPEND}
 "
 BDEPEND="
-   dev-qt/linguist-tools:5
+   dev-qt/qttools:6[linguist]
|| (
app-text/asciidoc
dev-ruby/asciidoctor
@@ -106,12 +105,8 @@ src_configure() {
-DVOIP=$(usex voip)
-DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)
-DUSE_BUNDLED_CPPHTTPLIB=no
+   -DX11=$(usex X)
)
-   if use video && use X; then
-   mycmakeargs+=("-DSCREENSHARE_X11=yes")
-   else
-   mycmakeargs+=("-DSCREENSHARE_X11=no")
-   fi
 
cmake_src_configure
 }
@@ -130,7 +125,11 @@ pkg_postinst() {
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"
+   "kde-frameworks/kimageformats:6"
 
xdg_pkg_postinst
+
+   ewarn "since Nheko migrated to Qt 6 there may be some regressions. 
video streams will"
+   ewarn "probably not work for now. 
d95d2fcaa9e3b8ab47275d2bf56e5a7ebddd37e7 was the"
+   ewarn "last commit with Qt5 support."
 }



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-06-11 Thread Viorel Munteanu
commit: 8540624cbdb3c6ac64b514faee98fdafa43814e6
Author: Joe Kappus  wt  gd>
AuthorDate: Sat Jun 10 23:38:28 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sat Jun 10 23:39:43 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8540624c

net-im/nheko: use qtimageformats:5

This hasn't been brought to qt6 yet, make sure
we have the qt5 qtimageformat dependency which
is slotted.

Signed-off-by: Joe Kappus  wt.gd>

 net-im/nheko/nheko-0.11.3.ebuild | 2 +-
 net-im/nheko/nheko-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/nheko/nheko-0.11.3.ebuild b/net-im/nheko/nheko-0.11.3.ebuild
index 732df7f66..c0f2be4bf 100644
--- a/net-im/nheko/nheko-0.11.3.ebuild
+++ b/net-im/nheko/nheko-0.11.3.ebuild
@@ -32,7 +32,7 @@ RDEPEND="
dev-qt/qtdeclarative:5[widgets]
dev-qt/qtgraphicaleffects:5
dev-qt/qtgui:5[dbus,jpeg,png]
-   dev-qt/qtimageformats
+   dev-qt/qtimageformats:5
dev-qt/qtmultimedia:5[gstreamer,qml,widgets]
dev-qt/qtquickcontrols2:5[widgets]
dev-qt/qtsvg:5

diff --git a/net-im/nheko/nheko-.ebuild b/net-im/nheko/nheko-.ebuild
index 9ed14fbd2..34eeb5d7b 100644
--- a/net-im/nheko/nheko-.ebuild
+++ b/net-im/nheko/nheko-.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-qt/qtdeclarative:5[widgets]
dev-qt/qtgraphicaleffects:5
dev-qt/qtgui:5[dbus,jpeg,png]
-   dev-qt/qtimageformats
+   dev-qt/qtimageformats:5
dev-qt/qtmultimedia:5[gstreamer,qml,widgets]
dev-qt/qtquickcontrols2:5[widgets]
dev-qt/qtsvg:5



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-02-23 Thread Viorel Munteanu
commit: 4eb432c97a30dc1084c5a3d50ede641dc9d15c3d
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Thu Feb 23 09:52:55 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Thu Feb 23 09:52:55 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4eb432c9

net-im/nheko: drop 0.11.2

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

 net-im/nheko/Manifest|  1 -
 net-im/nheko/nheko-0.11.2.ebuild | 95 
 2 files changed, 96 deletions(-)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 4e1f709f0..0eb3d8d02 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,3 +1,2 @@
 DIST nheko-0.11.1.tar.gz 1753191 BLAKE2B 
cbd6c0b7fa8a177ac09b129eae9bfa8c146db8e2d0d289362e20fd35dc1b9245516c2a2b2074fb5e9d2a212dadcf29aac5fd6a3fb910b160906b4dd3caec173e
 SHA512 
3ccaa859ff76a78c024ea2159e666316a3505bc3a3220020a4805ee93351865868b56219ab8421c70ed9922c3f38fbb39370c7f98b702836bd3bb3665c712fda
-DIST nheko-0.11.2.tar.gz 1779259 BLAKE2B 
7ae0fd7738cb2b13a657948b0f2f78d079efdd31f7a7799b05f86d6b6e556a0f1c68a441634d4ffa2be2e00e90c1193c71581d910285ec897b061bb1c929ac2b
 SHA512 
ac42065f23c18039e0c40ce5c65615c5dcd7bdc0a92f400ae48e2557380674f60357f2717588f81181149cda29831842c3da904a68b0b00b274dab268522475a
 DIST nheko-0.11.3.tar.gz 1780179 BLAKE2B 
095314ea420bd78cff71fe9e8bd48c1319248fa5c31bfc3741aa72cfa7585660f74f7eb3b9848b53ccfbc979283db8ca2e52e8e4f2749280ee1c867a35baf075
 SHA512 
bd5b94def3c56bb2c91c40c3ef967ee3b14cb71a7e5b01028743a849932c918620c2b1a1b822705e49dacc80dae6c48712f63bf9a68698858b0faaf1a816c9cd

diff --git a/net-im/nheko/nheko-0.11.2.ebuild b/net-im/nheko/nheko-0.11.2.ebuild
deleted file mode 100644
index 23609af60..0
--- a/net-im/nheko/nheko-0.11.2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 2020-2023 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 +pie video voip"
-REQUIRED_USE="video? ( voip )"
-
-MY_GST_V="1.18"
-RDEPEND="
-   app-text/cmark:=
-   >=dev-cpp/blurhash-0.2.0:=
-   dev-cpp/cpp-httplib:=
-   dev-cpp/qt-jdenticon
-   dev-db/lmdb:=
-   >=dev-db/lmdb++-1.0.0
-   dev-libs/libfmt:=
-   >=dev-libs/mtxclient-0.9.0:=
-   >=dev-libs/qtkeychain-0.12.0:=
-   >=dev-libs/re2-0.2022.04.01:=
-   dev-libs/spdlog:=
-   dev-qt/qtconcurrent:5
-   dev-qt/qtdeclarative:5[widgets]
-   dev-qt/qtgraphicaleffects:5
-   dev-qt/qtgui:5[dbus,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/libxcb:=
-   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)
-   -DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)
-   -DUSE_BUNDLED_CPPHTTPLIB=no
-   -DUSE_BUNDLED_BLURHASH=no
-   )
-   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
-}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-02-23 Thread Viorel Munteanu
commit: 7ed8e56463b714812c7f7b6f5ea2edb1fa844cc6
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Thu Feb 23 09:46:34 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Thu Feb 23 09:46:34 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7ed8e564

net-im/nheko: add 0.11.3

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

 net-im/nheko/Manifest|  1 +
 net-im/nheko/nheko-0.11.3.ebuild | 95 
 2 files changed, 96 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 4bfa5c601..4e1f709f0 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,2 +1,3 @@
 DIST nheko-0.11.1.tar.gz 1753191 BLAKE2B 
cbd6c0b7fa8a177ac09b129eae9bfa8c146db8e2d0d289362e20fd35dc1b9245516c2a2b2074fb5e9d2a212dadcf29aac5fd6a3fb910b160906b4dd3caec173e
 SHA512 
3ccaa859ff76a78c024ea2159e666316a3505bc3a3220020a4805ee93351865868b56219ab8421c70ed9922c3f38fbb39370c7f98b702836bd3bb3665c712fda
 DIST nheko-0.11.2.tar.gz 1779259 BLAKE2B 
7ae0fd7738cb2b13a657948b0f2f78d079efdd31f7a7799b05f86d6b6e556a0f1c68a441634d4ffa2be2e00e90c1193c71581d910285ec897b061bb1c929ac2b
 SHA512 
ac42065f23c18039e0c40ce5c65615c5dcd7bdc0a92f400ae48e2557380674f60357f2717588f81181149cda29831842c3da904a68b0b00b274dab268522475a
+DIST nheko-0.11.3.tar.gz 1780179 BLAKE2B 
095314ea420bd78cff71fe9e8bd48c1319248fa5c31bfc3741aa72cfa7585660f74f7eb3b9848b53ccfbc979283db8ca2e52e8e4f2749280ee1c867a35baf075
 SHA512 
bd5b94def3c56bb2c91c40c3ef967ee3b14cb71a7e5b01028743a849932c918620c2b1a1b822705e49dacc80dae6c48712f63bf9a68698858b0faaf1a816c9cd

diff --git a/net-im/nheko/nheko-0.11.3.ebuild b/net-im/nheko/nheko-0.11.3.ebuild
new file mode 100644
index 0..23609af60
--- /dev/null
+++ b/net-im/nheko/nheko-0.11.3.ebuild
@@ -0,0 +1,95 @@
+# Copyright 2020-2023 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 +pie video voip"
+REQUIRED_USE="video? ( voip )"
+
+MY_GST_V="1.18"
+RDEPEND="
+   app-text/cmark:=
+   >=dev-cpp/blurhash-0.2.0:=
+   dev-cpp/cpp-httplib:=
+   dev-cpp/qt-jdenticon
+   dev-db/lmdb:=
+   >=dev-db/lmdb++-1.0.0
+   dev-libs/libfmt:=
+   >=dev-libs/mtxclient-0.9.0:=
+   >=dev-libs/qtkeychain-0.12.0:=
+   >=dev-libs/re2-0.2022.04.01:=
+   dev-libs/spdlog:=
+   dev-qt/qtconcurrent:5
+   dev-qt/qtdeclarative:5[widgets]
+   dev-qt/qtgraphicaleffects:5
+   dev-qt/qtgui:5[dbus,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/libxcb:=
+   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)
+   -DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)
+   -DUSE_BUNDLED_CPPHTTPLIB=no
+   -DUSE_BUNDLED_BLURHASH=no
+   )
+   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
+}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-02-23 Thread Viorel Munteanu
commit: c0c28f4405ecfc402db052071df032b1c279da29
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Tue Feb 21 13:24:27 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Tue Feb 21 13:33:32 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c0c28f44

net-im/nheko: update : unbundle dev-cpp/cpp-httplib

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

 net-im/nheko/nheko-.ebuild | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/net-im/nheko/nheko-.ebuild b/net-im/nheko/nheko-.ebuild
index fe51d8632..9ed14fbd2 100644
--- a/net-im/nheko/nheko-.ebuild
+++ b/net-im/nheko/nheko-.ebuild
@@ -25,6 +25,7 @@ REQUIRED_USE="video? ( voip )"
 MY_GST_V="1.18"
 RDEPEND="
app-text/cmark:=
+   dev-cpp/cpp-httplib:=
dev-cpp/qt-jdenticon
dev-db/lmdb:=
>=dev-db/lmdb++-1.0.0
@@ -99,11 +100,12 @@ src_prepare() {
 
 src_configure() {
local -a mycmakeargs=(
-   "-DUSE_BUNDLED_MTXCLIENT=ON"
-   "-DUSE_BUNDLED_COEURL=ON"
-   "-DBUILD_SHARED_LIBS=OFF"
-   "-DVOIP=$(usex voip)"
-   "-DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)"
+   -DUSE_BUNDLED_MTXCLIENT=yes
+   -DUSE_BUNDLED_COEURL=yes
+   -DBUILD_SHARED_LIBS=no
+   -DVOIP=$(usex voip)
+   -DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)
+   -DUSE_BUNDLED_CPPHTTPLIB=no
)
if use video && use X; then
mycmakeargs+=("-DSCREENSHARE_X11=yes")



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-02-23 Thread Viorel Munteanu
commit: b6fb0f4876e722388cd356c5f5333022f97d31dc
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Tue Feb 21 13:20:49 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Tue Feb 21 13:33:32 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b6fb0f48

net-im/nheko: add 0.11.2

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

 net-im/nheko/Manifest|  1 +
 net-im/nheko/nheko-0.11.2.ebuild | 95 
 2 files changed, 96 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 8e2943df5..59d0e9f20 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,2 +1,3 @@
 DIST nheko-0.10.2.tar.gz 1608905 BLAKE2B 
10b7b7d1f3e7525ae5ec4b78af228382440c5c64a3716b530506346372856035435d6e2d4e1724f2580ee384852ab0dd4e4b728eed92df827dc5cb3f2853b30b
 SHA512 
b00c45115ab52f9cce5958aa594f6d316bdb917004e284d28ba3003c815bdc532ff1e7bbd5e542bb89a43fd552af3fa44b70ce66eb26b0bcff65beaea1f6b3cd
 DIST nheko-0.11.1.tar.gz 1753191 BLAKE2B 
cbd6c0b7fa8a177ac09b129eae9bfa8c146db8e2d0d289362e20fd35dc1b9245516c2a2b2074fb5e9d2a212dadcf29aac5fd6a3fb910b160906b4dd3caec173e
 SHA512 
3ccaa859ff76a78c024ea2159e666316a3505bc3a3220020a4805ee93351865868b56219ab8421c70ed9922c3f38fbb39370c7f98b702836bd3bb3665c712fda
+DIST nheko-0.11.2.tar.gz 1779259 BLAKE2B 
7ae0fd7738cb2b13a657948b0f2f78d079efdd31f7a7799b05f86d6b6e556a0f1c68a441634d4ffa2be2e00e90c1193c71581d910285ec897b061bb1c929ac2b
 SHA512 
ac42065f23c18039e0c40ce5c65615c5dcd7bdc0a92f400ae48e2557380674f60357f2717588f81181149cda29831842c3da904a68b0b00b274dab268522475a

diff --git a/net-im/nheko/nheko-0.11.2.ebuild b/net-im/nheko/nheko-0.11.2.ebuild
new file mode 100644
index 0..23609af60
--- /dev/null
+++ b/net-im/nheko/nheko-0.11.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 2020-2023 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 +pie video voip"
+REQUIRED_USE="video? ( voip )"
+
+MY_GST_V="1.18"
+RDEPEND="
+   app-text/cmark:=
+   >=dev-cpp/blurhash-0.2.0:=
+   dev-cpp/cpp-httplib:=
+   dev-cpp/qt-jdenticon
+   dev-db/lmdb:=
+   >=dev-db/lmdb++-1.0.0
+   dev-libs/libfmt:=
+   >=dev-libs/mtxclient-0.9.0:=
+   >=dev-libs/qtkeychain-0.12.0:=
+   >=dev-libs/re2-0.2022.04.01:=
+   dev-libs/spdlog:=
+   dev-qt/qtconcurrent:5
+   dev-qt/qtdeclarative:5[widgets]
+   dev-qt/qtgraphicaleffects:5
+   dev-qt/qtgui:5[dbus,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/libxcb:=
+   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)
+   -DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)
+   -DUSE_BUNDLED_CPPHTTPLIB=no
+   -DUSE_BUNDLED_BLURHASH=no
+   )
+   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
+}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-02-23 Thread Viorel Munteanu
commit: 841248fb595e6c09e5d77702e3e65e93ffdac349
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Tue Feb 21 13:21:48 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Tue Feb 21 13:33:32 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=841248fb

net-im/nheko: drop 0.10.2-r1

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

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

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 59d0e9f20..4bfa5c601 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,3 +1,2 @@
-DIST nheko-0.10.2.tar.gz 1608905 BLAKE2B 
10b7b7d1f3e7525ae5ec4b78af228382440c5c64a3716b530506346372856035435d6e2d4e1724f2580ee384852ab0dd4e4b728eed92df827dc5cb3f2853b30b
 SHA512 
b00c45115ab52f9cce5958aa594f6d316bdb917004e284d28ba3003c815bdc532ff1e7bbd5e542bb89a43fd552af3fa44b70ce66eb26b0bcff65beaea1f6b3cd
 DIST nheko-0.11.1.tar.gz 1753191 BLAKE2B 
cbd6c0b7fa8a177ac09b129eae9bfa8c146db8e2d0d289362e20fd35dc1b9245516c2a2b2074fb5e9d2a212dadcf29aac5fd6a3fb910b160906b4dd3caec173e
 SHA512 
3ccaa859ff76a78c024ea2159e666316a3505bc3a3220020a4805ee93351865868b56219ab8421c70ed9922c3f38fbb39370c7f98b702836bd3bb3665c712fda
 DIST nheko-0.11.2.tar.gz 1779259 BLAKE2B 
7ae0fd7738cb2b13a657948b0f2f78d079efdd31f7a7799b05f86d6b6e556a0f1c68a441634d4ffa2be2e00e90c1193c71581d910285ec897b061bb1c929ac2b
 SHA512 
ac42065f23c18039e0c40ce5c65615c5dcd7bdc0a92f400ae48e2557380674f60357f2717588f81181149cda29831842c3da904a68b0b00b274dab268522475a

diff --git a/net-im/nheko/nheko-0.10.2-r1.ebuild 
b/net-im/nheko/nheko-0.10.2-r1.ebuild
deleted file mode 100644
index 4b80b0fe2..0
--- a/net-im/nheko/nheko-0.10.2-r1.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# 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.2:=
-   >=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
-}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-02-03 Thread Andrew Ammerlaan
commit: 9aa8cf24da3f79ac08e799a75a6bc0ead69424e9
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Fri Feb  3 09:47:25 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Feb  3 09:47:25 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9aa8cf24

net-im/nheko: add 

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

 net-im/nheko/nheko-.ebuild | 134 +
 1 file changed, 134 insertions(+)

diff --git a/net-im/nheko/nheko-.ebuild b/net-im/nheko/nheko-.ebuild
new file mode 100644
index 0..fe51d8632
--- /dev/null
+++ b/net-im/nheko/nheko-.ebuild
@@ -0,0 +1,134 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake git-r3 optfeature xdg
+
+DESCRIPTION="Native desktop client for Matrix using Qt"
+HOMEPAGE="https://github.com/Nheko-Reborn/nheko";
+EGIT_REPO_URI="https://github.com/Nheko-Reborn/nheko.git";
+# Nheko usually needs a very up-to-date mtxclient which usually needs a very
+# up-to-date coeurl. It is impossible to automatically rebuild other live
+# packages before rebuilding this, so they are bundled.
+MY_DEP_URIS=(
+   "https://github.com/Nheko-Reborn/mtxclient.git";
+   "https://nheko.im/nheko-reborn/coeurl.git";
+)
+
+LICENSE="GPL-3 MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="X +pie 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/libevent:=
+   dev-libs/libfmt:=
+   dev-libs/olm
+   >=dev-libs/openssl-1.1.0:=
+   >=dev-libs/qtkeychain-0.12.0:=
+   >=dev-libs/re2-0.2022.04.01:=
+   dev-libs/spdlog:=
+   dev-qt/qtconcurrent:5
+   dev-qt/qtdeclarative:5[widgets]
+   dev-qt/qtgraphicaleffects:5
+   dev-qt/qtgui:5[dbus,jpeg,png]
+   dev-qt/qtimageformats
+   dev-qt/qtmultimedia:5[gstreamer,qml,widgets]
+   dev-qt/qtquickcontrols2:5[widgets]
+   dev-qt/qtsvg:5
+   net-misc/curl[ssl]
+   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/libxcb:=
+   x11-libs/xcb-util-wm
+   )
+   )
+   )
+"
+DEPEND="
+   dev-cpp/nlohmann_json
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-qt/linguist-tools:5
+   || (
+   app-text/asciidoc
+   dev-ruby/asciidoctor
+   )
+"
+
+src_unpack() {
+   # Unpack dependencies first. The commit ID of the repo used in the last 
call
+   # to git-r3_src_unpack is stored and checked by smart-live-rebuild.
+   for repo_uri in ${MY_DEP_URIS[@]}; do
+   EGIT_REPO_URI="${repo_uri}" 
EGIT_CHECKOUT_DIR="${WORKDIR}/${repo_uri##*/}" git-r3_src_unpack
+   done
+
+   git-r3_src_unpack
+}
+
+src_prepare() {
+   # Don't try to download mtxclient and coeurl.
+   sed -Ei '/GIT_(REPOSITORY|TAG)/d' CMakeLists.txt || die
+   sed -Ei '/GIT_(REPOSITORY|TAG)/d' ../mtxclient.git/CMakeLists.txt || die
+
+   mkdir -p "${WORKDIR}/${P}_build/_deps" || die
+   mv ../mtxclient.git "${WORKDIR}/${P}_build/_deps/matrixclient-src" || 
die
+   mv ../coeurl.git "${WORKDIR}/${P}_build/_deps/coeurl-src" || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local -a mycmakeargs=(
+   "-DUSE_BUNDLED_MTXCLIENT=ON"
+   "-DUSE_BUNDLED_COEURL=ON"
+   "-DBUILD_SHARED_LIBS=OFF"
+   "-DVOIP=$(usex voip)"
+   "-DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)"
+   )
+   if use video && use X; then
+   mycmakeargs+=("-DSCREENSHARE_X11=yes")
+   else
+   mycmakeargs+=("-DSCREENSHARE_X11=no")
+   fi
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   # Remove stuff from bundled libs.
+   rm -r "${D}/usr/$(get_libdir)" || die
+   rm -r "${D}/usr/include" || die
+}
+
+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/qtkeyc

[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-01-24 Thread Florian Schmaus
commit: d8653fbdad025a9be706f006ce8482a50610f1b3
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Mon Jan 23 12:42:51 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Jan 23 12:42:51 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8653fbd

net-im/nheko: add pie USE-flag

Closes: https://bugs.gentoo.org/890903
Signed-off-by: Ronny (tastytea) Gutbrod  tastytea.de>

 net-im/nheko/nheko-0.11.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-im/nheko/nheko-0.11.1.ebuild b/net-im/nheko/nheko-0.11.1.ebuild
index d22492e86..5e82ec12f 100644
--- a/net-im/nheko/nheko-0.11.1.ebuild
+++ b/net-im/nheko/nheko-0.11.1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="X video voip"
+IUSE="X +pie video voip"
 REQUIRED_USE="video? ( voip )"
 
 MY_GST_V="1.18"
@@ -68,6 +68,7 @@ BDEPEND="
 src_configure() {
local -a mycmakeargs=(
"-DVOIP=$(usex voip)"
+   "-DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)"
)
if use video && use X; then
mycmakeargs+=("-DSCREENSHARE_X11=yes")



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2023-01-14 Thread Andrew Ammerlaan
commit: 2e9b1b0caddab8bcfd7378e8a94be23670e20681
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Fri Jan 13 16:48:22 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Jan 13 16:49:42 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e9b1b0c

net-im/nheko: add 0.11.0

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

 net-im/nheko/Manifest|  1 +
 net-im/nheko/nheko-0.11.0.ebuild | 90 
 2 files changed, 91 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 0a3ca069d..a6c1f5842 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1 +1,2 @@
 DIST nheko-0.10.2.tar.gz 1608905 BLAKE2B 
10b7b7d1f3e7525ae5ec4b78af228382440c5c64a3716b530506346372856035435d6e2d4e1724f2580ee384852ab0dd4e4b728eed92df827dc5cb3f2853b30b
 SHA512 
b00c45115ab52f9cce5958aa594f6d316bdb917004e284d28ba3003c815bdc532ff1e7bbd5e542bb89a43fd552af3fa44b70ce66eb26b0bcff65beaea1f6b3cd
+DIST nheko-0.11.0.tar.gz 1752073 BLAKE2B 
01a26449c6bef6d46535973e09455dd13c9208d7104ddeb803082c06fb63e38db5c9fdd8a2300ee0821c7a2f74a36834371a01dacaa21f64b79a992fd2193e7e
 SHA512 
23d1c9fc1defe869e4e8b1f46f12d2ce377b3752166b94a9cecf11aad5fb9ce3db96f593f4f2ce56e6dc8bf24885fa618dbb799b86e8b5e390ba20356efa0bf3

diff --git a/net-im/nheko/nheko-0.11.0.ebuild b/net-im/nheko/nheko-0.11.0.ebuild
new file mode 100644
index 0..d22492e86
--- /dev/null
+++ b/net-im/nheko/nheko-0.11.0.ebuild
@@ -0,0 +1,90 @@
+# 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.9.0:=
+   >=dev-libs/qtkeychain-0.12.0:=
+   >=dev-libs/re2-0.2022.04.01:=
+   dev-libs/spdlog:=
+   dev-qt/qtconcurrent:5
+   dev-qt/qtdeclarative:5[widgets]
+   dev-qt/qtgraphicaleffects:5
+   dev-qt/qtgui:5[dbus,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/libxcb:=
+   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
+}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2022-12-07 Thread Ronny Gutbrod
commit: 8b1a5d8181eb4f431e64a6b5cd692f890e87ec1d
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec  6 08:15:41 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Tue Dec  6 08:15:41 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8b1a5d81

net-im/nheko: revbump for fixed dev-qt/qtgui dep

Fixes: 9da911bcec80ec9e3b44ffc3e2c1de0ee25ca1b7
Signed-off-by: Sam James  gentoo.org>

 net-im/nheko/{nheko-0.10.2.ebuild => nheko-0.10.2-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/net-im/nheko/nheko-0.10.2.ebuild 
b/net-im/nheko/nheko-0.10.2-r1.ebuild
similarity index 100%
rename from net-im/nheko/nheko-0.10.2.ebuild
rename to net-im/nheko/nheko-0.10.2-r1.ebuild



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2022-12-05 Thread Viorel Munteanu
commit: 9da911bcec80ec9e3b44ffc3e2c1de0ee25ca1b7
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sun Dec  4 12:09:10 2022 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sun Dec  4 12:09:10 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9da911bc

net-im/nheko: fix dev-qt/qtgui dependency

>=dev-qt/qtgui-5.15.7 does not have the gif USE-flag anymore.

Closes: https://bugs.gentoo.org/884205
Signed-off-by: Ronny (tastytea) Gutbrod  tastytea.de>

 net-im/nheko/nheko-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/nheko/nheko-0.10.2.ebuild b/net-im/nheko/nheko-0.10.2.ebuild
index e507f5edc..4b80b0fe2 100644
--- a/net-im/nheko/nheko-0.10.2.ebuild
+++ b/net-im/nheko/nheko-0.10.2.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
dev-qt/qtconcurrent:5
dev-qt/qtdeclarative:5[widgets]
dev-qt/qtgraphicaleffects:5
-   dev-qt/qtgui:5[dbus,gif,jpeg,png]
+   dev-qt/qtgui:5[dbus,gif(+),jpeg,png]
dev-qt/qtimageformats
dev-qt/qtmultimedia:5[gstreamer,qml,widgets]
dev-qt/qtquickcontrols2:5[widgets]



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2022-10-03 Thread Haelwenn Monnier
commit: 8c0737ff90f304f97b26a94ee87c78d4d363990f
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sun Oct  2 10:00:42 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sun Oct  2 10:02:26 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c0737ff

net-im/nheko: fix mtxclient dependency

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

 net-im/nheko/nheko-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/nheko/nheko-0.10.2.ebuild b/net-im/nheko/nheko-0.10.2.ebuild
index 5e4e00a92..e507f5edc 100644
--- a/net-im/nheko/nheko-0.10.2.ebuild
+++ b/net-im/nheko/nheko-0.10.2.ebuild
@@ -22,7 +22,7 @@ RDEPEND="
dev-db/lmdb:=
>=dev-db/lmdb++-1.0.0
dev-libs/libfmt:=
-   >=dev-libs/mtxclient-0.8.1:=
+   >=dev-libs/mtxclient-0.8.2:=
>=dev-libs/qtkeychain-0.12.0:=
dev-libs/spdlog:=
dev-qt/qtconcurrent:5



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2022-07-23 Thread Haelwenn Monnier
commit: 9bd3864b63be6bf9e964e65b3e302600a6d0e8f6
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sat Jul 23 16:10:07 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Jul 23 16:10:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9bd3864b

net-im/nheko: drop 0.9.2

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

 net-im/nheko/Manifest   |  1 -
 net-im/nheko/nheko-0.9.2.ebuild | 83 -
 2 files changed, 84 deletions(-)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 916e18aeb..e27ef876c 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,3 +1,2 @@
 DIST nheko-0.10.0.tar.gz 1587008 BLAKE2B 
207622bcc0fcbf4f1760481d3bdf35d5c025d9aa7d553c2dc4649841426481c88292966c35d44944434c1628c34017bb76f84136b6bcc8f8c3f32478156ac713
 SHA512 
c0aaf0f9ea657c43867fbb6857db45cac30f0cbaeaf8ad6a20a1a3e1ab9e6cf15266444eada060666db5b94be5a72b95b371a4da62e6705eed49f9907c576954
-DIST nheko-0.9.2.tar.gz 1418814 BLAKE2B 
e3f2f9358dd39d648c219eddea93f48ff7574cd954189f6c08bc7ace0429602acd1b859bb4987b1a34c93e17f8e547f6b0fb3c2a113a3a8a060dec5e25adbcc5
 SHA512 
86c0b5bf8e767125cc9e78c3a898df35fae5b34277253c8c98777f1814fcab36ff558576fa5b71de05df63223a866671473674fb8250905a979dd0c978a9
 DIST nheko-0.9.3.tar.gz 1455446 BLAKE2B 
da68617e8cd2a74a41b9a14e107fdbc58a667ef2187e9680bb4514d2542ad99176aaed9bcc1184ec3cbd10b258b3910da99a0e63dfe82ccfc1c7e4f7715d4d95
 SHA512 
187348e8e274f727a638ca3cb3ed015b9f7cbb50eea2e33bc519cd216a74763cab265466001a82c584dcf91f950c41c3f7a4f3c1ac1f1564a8d5f7711eb37d5a

diff --git a/net-im/nheko/nheko-0.9.2.ebuild b/net-im/nheko/nheko-0.9.2.ebuild
deleted file mode 100644
index 1e6876d1d..0
--- a/net-im/nheko/nheko-0.9.2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# 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++-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
-   || (
-   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 (gnome-keyring 
or keepassxc)" \
-  "dev-libs/qtkeychain[gnome-keyring]"
-
-   xdg_pkg_postinst
-}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2022-07-23 Thread Haelwenn Monnier
commit: 417eca12c16d84afa272f0db0870bc1a0c02ac6d
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sat Jul 23 10:42:07 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Jul 23 15:50:54 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=417eca12

net-im/nheko: add 0.10.0, fix deps

Add := to dependencies that need it, add dep to notification daemon.

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

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

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 9d1a22a42..916e18aeb 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.9.2.tar.gz 1418814 BLAKE2B 
e3f2f9358dd39d648c219eddea93f48ff7574cd954189f6c08bc7ace0429602acd1b859bb4987b1a34c93e17f8e547f6b0fb3c2a113a3a8a060dec5e25adbcc5
 SHA512 
86c0b5bf8e767125cc9e78c3a898df35fae5b34277253c8c98777f1814fcab36ff558576fa5b71de05df63223a866671473674fb8250905a979dd0c978a9
 DIST nheko-0.9.3.tar.gz 1455446 BLAKE2B 
da68617e8cd2a74a41b9a14e107fdbc58a667ef2187e9680bb4514d2542ad99176aaed9bcc1184ec3cbd10b258b3910da99a0e63dfe82ccfc1c7e4f7715d4d95
 SHA512 
187348e8e274f727a638ca3cb3ed015b9f7cbb50eea2e33bc519cd216a74763cab265466001a82c584dcf91f950c41c3f7a4f3c1ac1f1564a8d5f7711eb37d5a

diff --git a/net-im/nheko/nheko-0.10.0.ebuild b/net-im/nheko/nheko-0.10.0.ebuild
new file mode 100644
index 0..40d6f8c73
--- /dev/null
+++ b/net-im/nheko/nheko-0.10.0.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.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[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
+}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2022-01-20 Thread Andrew Ammerlaan
commit: adf2ebc0a0d25cc3630f27f41c69a6a1da3959ba
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Tue Jan 18 14:00:26 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jan 18 14:08:08 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=adf2ebc0

net-im/nheko: Fix build-time dependencies

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

 net-im/nheko/nheko-0.9.1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-im/nheko/nheko-0.9.1.ebuild b/net-im/nheko/nheko-0.9.1.ebuild
index 08c16d1b7..9142bfd4e 100644
--- a/net-im/nheko/nheko-0.9.1.ebuild
+++ b/net-im/nheko/nheko-0.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,11 +24,12 @@ RDEPEND="
>=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]
-   dev-qt/qtquickcontrols2:5
+   dev-qt/qtmultimedia:5[gstreamer,qml,widgets]
+   dev-qt/qtquickcontrols2:5[widgets]
dev-qt/qtsvg:5
pipewire? ( media-video/pipewire[gstreamer] )
voip? (



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-11-20 Thread Haelwenn Monnier
commit: ef9231e7b26d69393747f28b20dd583d27b050fa
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sat Nov 20 02:56:39 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Nov 20 03:00:16 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef9231e7

net-im/nheko: Add pipewire support.

No revbump because ebuild is not in master yet.

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

 net-im/nheko/metadata.xml   | 1 +
 net-im/nheko/nheko-0.9.0.ebuild | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-im/nheko/metadata.xml b/net-im/nheko/metadata.xml
index 3da131833..89d94bdcc 100644
--- a/net-im/nheko/metadata.xml
+++ b/net-im/nheko/metadata.xml
@@ -9,6 +9,7 @@
Nheko-Reborn/nheko


+   Pull in dependencies for 
media-video/pipewire support
Enables video calls
Enables audio calls


diff --git a/net-im/nheko/nheko-0.9.0.ebuild b/net-im/nheko/nheko-0.9.0.ebuild
index 5ab9102a4..9e44ae5c8 100644
--- a/net-im/nheko/nheko-0.9.0.ebuild
+++ b/net-im/nheko/nheko-0.9.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="X video voip"
+IUSE="X pipewire video voip"
 REQUIRED_USE="video? ( voip )"
 
 MY_GST_V="1.18"
@@ -30,6 +30,7 @@ RDEPEND="
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



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-11-20 Thread Haelwenn Monnier
commit: 486c26d972f1cc0f8adb99fb57a2992fda565977
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Fri Nov 19 01:05:08 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Fri Nov 19 01:05:08 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=486c26d9

net-im/nheko: Remove old ebuild.

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

 net-im/nheko/Manifest  |  1 -
 net-im/nheko/nheko-0.8.2-r1.ebuild | 38 --
 2 files changed, 39 deletions(-)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 2078691f6..b96caec28 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,3 +1,2 @@
-DIST nheko-0.8.2.tar.gz 1232245 BLAKE2B 
cb7397a2247c280cac23efe4a5983e43ebe9a6cacbadfdb3798b856633bd9e9c1ac1c56750373817373691d5d3624aec815040743d44c60dcb900f8616498d8f
 SHA512 
907b5fd770c2e451ee4d5a4483810cf87529f643d584784b2f3c471b54229243842313206bbd38c8b6ca9a91bf505b683d6741bdce8ea24407ae4178da579465
 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

diff --git a/net-im/nheko/nheko-0.8.2-r1.ebuild 
b/net-im/nheko/nheko-0.8.2-r1.ebuild
deleted file mode 100644
index 56bf754ca..0
--- a/net-im/nheko/nheko-0.8.2-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake xdg
-
-DESCRIPTION="Desktop client for Matrix using Qt and C++14"
-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=""
-
-RDEPEND="
-   dev-qt/qtmultimedia:5[gstreamer,qml]
-   dev-qt/qtquickcontrols2:5
-   dev-qt/qtgraphicaleffects:5
-   dev-qt/qtsvg:5
-   dev-qt/qtconcurrent:5
-   app-text/cmark
-   >=dev-libs/mtxclient-0.5.1
-   dev-libs/qtkeychain
-   >=dev-db/lmdb++-1.0.0
-   dev-libs/spdlog
-"
-DEPEND="
-   dev-cpp/nlohmann_json
-   ${RDEPEND}
-"
-BDEPEND="dev-qt/linguist-tools:5"
-
-src_prepare() {
-   cmake_src_prepare
-   xdg_src_prepare
-}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-11-20 Thread Haelwenn Monnier
commit: f9c264eb7581261b266b5d7c69cc142588e20438
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Fri Nov 19 18:26:57 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Fri Nov 19 18:38:14 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f9c264eb

net-im/nheko: Fix dependencies.

Not revbumping because ebuild is not in master yet.

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

 net-im/nheko/nheko-0.9.0.ebuild | 15 +++
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/net-im/nheko/nheko-0.9.0.ebuild b/net-im/nheko/nheko-0.9.0.ebuild
index aaff5f4d0..5ab9102a4 100644
--- a/net-im/nheko/nheko-0.9.0.ebuild
+++ b/net-im/nheko/nheko-0.9.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="video voip"
+IUSE="X video voip"
 REQUIRED_USE="video? ( voip )"
 
 MY_GST_V="1.18"
@@ -26,6 +26,7 @@ RDEPEND="
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
@@ -39,8 +40,10 @@ RDEPEND="
>=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}
-   >=media-plugins/gst-plugins-ximagesrc-${MY_GST_V}
-   x11-libs/xcb-util-wm
+   X? (
+   
>=media-plugins/gst-plugins-ximagesrc-${MY_GST_V}
+   x11-libs/xcb-util-wm
+   )
)
)
 "
@@ -53,8 +56,12 @@ BDEPEND="dev-qt/linguist-tools:5"
 src_configure() {
local -a mycmakeargs=(
"-DVOIP=$(usex voip)"
-   "-DSCREENSHARE_X11=$(usex video)"
)
+   if use video && use X; then
+   mycmakeargs+=("-DSCREENSHARE_X11=yes")
+   else
+   mycmakeargs+=("-DSCREENSHARE_X11=no")
+   fi
 
cmake_src_configure
 }



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-11-20 Thread Haelwenn Monnier
commit: 332a96d5117a16b765ce83fc9ffc9d493a7c59de
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Fri Nov 19 00:50:33 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Fri Nov 19 00:50:33 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=332a96d5

net-im/nheko: Version bump 0.9.0.

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

 net-im/nheko/Manifest   |  1 +
 net-im/nheko/nheko-0.9.0.ebuild | 65 +
 2 files changed, 66 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 66478361d..2078691f6 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,2 +1,3 @@
 DIST nheko-0.8.2.tar.gz 1232245 BLAKE2B 
cb7397a2247c280cac23efe4a5983e43ebe9a6cacbadfdb3798b856633bd9e9c1ac1c56750373817373691d5d3624aec815040743d44c60dcb900f8616498d8f
 SHA512 
907b5fd770c2e451ee4d5a4483810cf87529f643d584784b2f3c471b54229243842313206bbd38c8b6ca9a91bf505b683d6741bdce8ea24407ae4178da579465
+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

diff --git a/net-im/nheko/nheko-0.9.0.ebuild b/net-im/nheko/nheko-0.9.0.ebuild
new file mode 100644
index 0..aaff5f4d0
--- /dev/null
+++ b/net-im/nheko/nheko-0.9.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake optfeature xdg
+
+DESCRIPTION="Desktop client for Matrix using Qt and C++14"
+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="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.0
+   >=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/qtmultimedia:5[gstreamer,qml]
+   dev-qt/qtquickcontrols2:5
+   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}
+   >=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)"
+   "-DSCREENSHARE_X11=$(usex video)"
+   )
+
+   cmake_src_configure
+}
+
+pkg_postinst() {
+   optfeature "Audio & video file playback support" \
+  "media-plugins/gst-plugins-meta[ffmpeg]"
+}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-04-23 Thread Andrew Ammerlaan
commit: 0d0dab2e2bd3366f81f765a4191cf1a8a56c3bb4
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Fri Apr 23 10:53:21 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Apr 23 10:55:43 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0d0dab2e

net-im/nheko: Remove old ebuild.

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

 net-im/nheko/Manifest   |  1 -
 net-im/nheko/nheko-0.8.0.ebuild | 54 -
 2 files changed, 55 deletions(-)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index bd0fe2415..b4ca85359 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,3 +1,2 @@
-DIST nheko-0.8.0.tar.gz 1150754 BLAKE2B 
ef932f824a2e519514836aa1362504b11c4c9f511e8e66889008891cf5ac008442629afc56deb221dfaebda42c91c9c145f5e489733fee95838e100b4d4c5b77
 SHA512 
c427904bc846956aeda57ec6bc1bcf25962caa99f47da669c006d5adeb10b8b14c75aa98d9879fa91b558af8d0e9b475f52c60a1a3ee34b2cd5780f84130bcdb
 DIST nheko-0.8.1.tar.gz 1176445 BLAKE2B 
5ef1523b23b1512d56cd6109f05ec3f710629a561ddf8e766d8f3f3a2d3bdd65d6a83da381f3e53bfbd1ee470243dae8ff40973dadc166cc82e52d03abbe
 SHA512 
180c876121338ea6d45e85d11a3cfd1f988a084a650becacfa5a9cbb4a556a0f47625194e3d9870bb6692b15d16c5ac75999e241f08a2828ec471b3d64c1eb62
 DIST nheko-0.8.2.tar.gz 1232245 BLAKE2B 
cb7397a2247c280cac23efe4a5983e43ebe9a6cacbadfdb3798b856633bd9e9c1ac1c56750373817373691d5d3624aec815040743d44c60dcb900f8616498d8f
 SHA512 
907b5fd770c2e451ee4d5a4483810cf87529f643d584784b2f3c471b54229243842313206bbd38c8b6ca9a91bf505b683d6741bdce8ea24407ae4178da579465

diff --git a/net-im/nheko/nheko-0.8.0.ebuild b/net-im/nheko/nheko-0.8.0.ebuild
deleted file mode 100644
index e896d..0
--- a/net-im/nheko/nheko-0.8.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake xdg
-
-DESCRIPTION="Desktop client for Matrix using Qt and C++14"
-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=""
-
-RDEPEND="
-   dev-qt/qtmultimedia:5[gstreamer,qml]
-   dev-qt/qtquickcontrols2:5
-   dev-qt/qtgraphicaleffects:5
-   dev-qt/qtsvg:5
-   dev-qt/qtconcurrent:5
-   app-text/cmark
-   = 1.18 lands in ::gentoo.
-# MY_GSTREAMER_V="1.18"
-#
-#  voip? (
-#  >=media-libs/gstreamer-${MY_GSTREAMER_V}
-#  >=media-plugins/gst-plugins-meta-${MY_GSTREAMER_V}[opus,vpx]
-#  >=media-libs/gst-plugins-base-${MY_GSTREAMER_V}[opengl]
-#  >=media-libs/gst-plugins-good-${MY_GSTREAMER_V}
-#  >=media-libs/gst-plugins-bad-${MY_GSTREAMER_V}
-#  >=media-plugins/gst-plugins-dtls-${MY_GSTREAMER_V}
-#  >=media-plugins/gst-plugins-srtp-${MY_GSTREAMER_V}
-#  >=media-plugins/gst-plugins-webrtc-${MY_GSTREAMER_V}
-#  net-libs/libnice
-#  )



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-04-23 Thread Andrew Ammerlaan
commit: eb55a8834428c7b31d384ad4a1f8d0a58a87bdde
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Fri Apr 23 10:33:08 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Apr 23 10:55:35 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eb55a883

net-im/nheko: Version bump: 0.8.2.

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

 net-im/nheko/Manifest   |  1 +
 net-im/nheko/nheko-0.8.2.ebuild | 53 +
 2 files changed, 54 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 2f9709fef..bd0fe2415 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,2 +1,3 @@
 DIST nheko-0.8.0.tar.gz 1150754 BLAKE2B 
ef932f824a2e519514836aa1362504b11c4c9f511e8e66889008891cf5ac008442629afc56deb221dfaebda42c91c9c145f5e489733fee95838e100b4d4c5b77
 SHA512 
c427904bc846956aeda57ec6bc1bcf25962caa99f47da669c006d5adeb10b8b14c75aa98d9879fa91b558af8d0e9b475f52c60a1a3ee34b2cd5780f84130bcdb
 DIST nheko-0.8.1.tar.gz 1176445 BLAKE2B 
5ef1523b23b1512d56cd6109f05ec3f710629a561ddf8e766d8f3f3a2d3bdd65d6a83da381f3e53bfbd1ee470243dae8ff40973dadc166cc82e52d03abbe
 SHA512 
180c876121338ea6d45e85d11a3cfd1f988a084a650becacfa5a9cbb4a556a0f47625194e3d9870bb6692b15d16c5ac75999e241f08a2828ec471b3d64c1eb62
+DIST nheko-0.8.2.tar.gz 1232245 BLAKE2B 
cb7397a2247c280cac23efe4a5983e43ebe9a6cacbadfdb3798b856633bd9e9c1ac1c56750373817373691d5d3624aec815040743d44c60dcb900f8616498d8f
 SHA512 
907b5fd770c2e451ee4d5a4483810cf87529f643d584784b2f3c471b54229243842313206bbd38c8b6ca9a91bf505b683d6741bdce8ea24407ae4178da579465

diff --git a/net-im/nheko/nheko-0.8.2.ebuild b/net-im/nheko/nheko-0.8.2.ebuild
new file mode 100644
index 0..462407d6a
--- /dev/null
+++ b/net-im/nheko/nheko-0.8.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="Desktop client for Matrix using Qt and C++14"
+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=""
+
+RDEPEND="
+   dev-qt/qtmultimedia:5[gstreamer,qml]
+   dev-qt/qtquickcontrols2:5
+   dev-qt/qtgraphicaleffects:5
+   dev-qt/qtsvg:5
+   dev-qt/qtconcurrent:5
+   app-text/cmark
+   >=dev-libs/mtxclient-0.5.1
+   dev-cpp/nlohmann_json
+   dev-libs/qtkeychain
+"
+DEPEND="
+   ${RDEPEND}
+   dev-libs/spdlog
+   >=dev-db/lmdb++-1.0.0
+"
+BDEPEND="dev-qt/linguist-tools:5"
+
+src_prepare() {
+   cmake_src_prepare
+   xdg_src_prepare
+}
+
+# # Preparation for when gstreamer >= 1.18 lands in ::gentoo.
+# MY_GSTREAMER_V="1.18"
+#
+#  voip? (
+#  >=media-libs/gstreamer-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-meta-${MY_GSTREAMER_V}[opus,vpx]
+#  >=media-libs/gst-plugins-base-${MY_GSTREAMER_V}[opengl]
+#  >=media-libs/gst-plugins-good-${MY_GSTREAMER_V}
+#  >=media-libs/gst-plugins-bad-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-dtls-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-srtp-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-webrtc-${MY_GSTREAMER_V}
+#  net-libs/libnice
+#  )



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-04-21 Thread Andrew Ammerlaan
commit: b58b8dac7224635ce539b8181db695e9813b0dba
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Wed Apr 21 06:17:51 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Apr 21 06:20:01 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b58b8dac

net-im/nheko: Fix dev-libs/mtxclient dependency.

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

 net-im/nheko/nheko-0.8.0.ebuild | 2 +-
 net-im/nheko/nheko-0.8.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/nheko/nheko-0.8.0.ebuild b/net-im/nheko/nheko-0.8.0.ebuild
index 1d9735f03..e896d 100644
--- a/net-im/nheko/nheko-0.8.0.ebuild
+++ b/net-im/nheko/nheko-0.8.0.ebuild
@@ -21,7 +21,7 @@ RDEPEND="
dev-qt/qtsvg:5
dev-qt/qtconcurrent:5
app-text/cmark
-   >=dev-libs/mtxclient-0.4.0
+   

[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-04-10 Thread Andrew Ammerlaan
commit: 3b913fd5b389640fd84fa371698fa112cc026450
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Fri Apr  9 16:35:10 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Apr  9 16:35:10 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b913fd5

net-im/nheko: Fix dependencies.

dev-libs/tweeny and dev-db/lmdb++ are build-time dependencies.

There are 2 incompatible repositories for lmdb++. The old one is
 and the new one is
.

<=net-im/nheko-0.8.1 needs the old one. dev-db/lmdb++-0.9.14.0 installs
the old one. dev-db/lmdb++-1.0.0 installs the new one.
>net-im/nheko-0.8.1 will need the new one. So the version pinning will
go away in the ebuild for the next version.

Closes: https://bugs.gentoo.org/781662

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

 net-im/nheko/nheko-0.8.0.ebuild | 4 ++--
 net-im/nheko/nheko-0.8.1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-im/nheko/nheko-0.8.0.ebuild b/net-im/nheko/nheko-0.8.0.ebuild
index ba84dfd69..1d9735f03 100644
--- a/net-im/nheko/nheko-0.8.0.ebuild
+++ b/net-im/nheko/nheko-0.8.0.ebuild
@@ -21,8 +21,6 @@ RDEPEND="
dev-qt/qtsvg:5
dev-qt/qtconcurrent:5
app-text/cmark
-   dev-libs/tweeny
-   dev-db/lmdb++
>=dev-libs/mtxclient-0.4.0
dev-cpp/nlohmann_json
dev-libs/qtkeychain
@@ -30,6 +28,8 @@ RDEPEND="
 DEPEND="
${RDEPEND}
dev-libs/spdlog
+   dev-libs/tweeny
+   

[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-01-28 Thread Andrew Ammerlaan
commit: 78881a38c5cd8a75345bf2da25e75c7a4f3dc70d
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Thu Jan 28 01:41:08 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Jan 28 01:41:08 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78881a38

net-im/nheko: Version bump 0.8.1.

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

 net-im/nheko/Manifest   |  1 +
 net-im/nheko/nheko-0.8.1.ebuild | 54 +
 2 files changed, 55 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index c30dc70a..5d5d6e00 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,2 +1,3 @@
 DIST nheko-0.7.2.tar.gz 899562 BLAKE2B 
39a21c5a164cdc1090479422607297e48ca0e1d5455e3fabd4cf4e2af6ee8527409fbde58b0320ae0938757f055929ca5188e5b4bb9be3d1a2832d66914588a6
 SHA512 
8f253bdac22a2d3412fcb18671145d9601d8609dbc79358412e81a17a9677a1cb44b6fc4d029f4d850818cb3fe3531adc869a7e54273e7bb17d0aa7ef85dce17
 DIST nheko-0.8.0.tar.gz 1150754 BLAKE2B 
ef932f824a2e519514836aa1362504b11c4c9f511e8e66889008891cf5ac008442629afc56deb221dfaebda42c91c9c145f5e489733fee95838e100b4d4c5b77
 SHA512 
c427904bc846956aeda57ec6bc1bcf25962caa99f47da669c006d5adeb10b8b14c75aa98d9879fa91b558af8d0e9b475f52c60a1a3ee34b2cd5780f84130bcdb
+DIST nheko-0.8.1.tar.gz 1176445 BLAKE2B 
5ef1523b23b1512d56cd6109f05ec3f710629a561ddf8e766d8f3f3a2d3bdd65d6a83da381f3e53bfbd1ee470243dae8ff40973dadc166cc82e52d03abbe
 SHA512 
180c876121338ea6d45e85d11a3cfd1f988a084a650becacfa5a9cbb4a556a0f47625194e3d9870bb6692b15d16c5ac75999e241f08a2828ec471b3d64c1eb62

diff --git a/net-im/nheko/nheko-0.8.1.ebuild b/net-im/nheko/nheko-0.8.1.ebuild
new file mode 100644
index ..a017628c
--- /dev/null
+++ b/net-im/nheko/nheko-0.8.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="Desktop client for Matrix using Qt and C++14"
+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=""
+
+RDEPEND="
+   dev-qt/qtmultimedia:5[gstreamer,qml]
+   dev-qt/qtquickcontrols2:5
+   dev-qt/qtgraphicaleffects:5
+   dev-qt/qtsvg:5
+   dev-qt/qtconcurrent:5
+   app-text/cmark
+   dev-libs/tweeny
+   dev-db/lmdb++
+   >=dev-libs/mtxclient-0.4.1
+   dev-cpp/nlohmann_json
+   dev-libs/qtkeychain
+"
+DEPEND="
+   ${RDEPEND}
+   dev-libs/spdlog
+"
+BDEPEND="dev-qt/linguist-tools:5"
+
+src_prepare() {
+   cmake_src_prepare
+   xdg_src_prepare
+}
+
+# # Preparation for when gstreamer >= 1.18 lands in ::gentoo.
+# MY_GSTREAMER_V="1.18"
+#
+#  voip? (
+#  >=media-libs/gstreamer-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-meta-${MY_GSTREAMER_V}[opus,vpx]
+#  >=media-libs/gst-plugins-base-${MY_GSTREAMER_V}[opengl]
+#  >=media-libs/gst-plugins-good-${MY_GSTREAMER_V}
+#  >=media-libs/gst-plugins-bad-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-dtls-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-srtp-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-webrtc-${MY_GSTREAMER_V}
+#  net-libs/libnice
+#  )



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-01-28 Thread Andrew Ammerlaan
commit: dfebefdaf4bf90d03da3c789412b605ffabc7b87
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Thu Jan 28 01:42:59 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Jan 28 01:42:59 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dfebefda

net-im/nheko: Remove old ebuild.

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

 net-im/nheko/Manifest   |  1 -
 net-im/nheko/nheko-0.7.2.ebuild | 40 
 2 files changed, 41 deletions(-)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 5d5d6e00..2f9709fe 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,3 +1,2 @@
-DIST nheko-0.7.2.tar.gz 899562 BLAKE2B 
39a21c5a164cdc1090479422607297e48ca0e1d5455e3fabd4cf4e2af6ee8527409fbde58b0320ae0938757f055929ca5188e5b4bb9be3d1a2832d66914588a6
 SHA512 
8f253bdac22a2d3412fcb18671145d9601d8609dbc79358412e81a17a9677a1cb44b6fc4d029f4d850818cb3fe3531adc869a7e54273e7bb17d0aa7ef85dce17
 DIST nheko-0.8.0.tar.gz 1150754 BLAKE2B 
ef932f824a2e519514836aa1362504b11c4c9f511e8e66889008891cf5ac008442629afc56deb221dfaebda42c91c9c145f5e489733fee95838e100b4d4c5b77
 SHA512 
c427904bc846956aeda57ec6bc1bcf25962caa99f47da669c006d5adeb10b8b14c75aa98d9879fa91b558af8d0e9b475f52c60a1a3ee34b2cd5780f84130bcdb
 DIST nheko-0.8.1.tar.gz 1176445 BLAKE2B 
5ef1523b23b1512d56cd6109f05ec3f710629a561ddf8e766d8f3f3a2d3bdd65d6a83da381f3e53bfbd1ee470243dae8ff40973dadc166cc82e52d03abbe
 SHA512 
180c876121338ea6d45e85d11a3cfd1f988a084a650becacfa5a9cbb4a556a0f47625194e3d9870bb6692b15d16c5ac75999e241f08a2828ec471b3d64c1eb62

diff --git a/net-im/nheko/nheko-0.7.2.ebuild b/net-im/nheko/nheko-0.7.2.ebuild
deleted file mode 100644
index b226c0c4..
--- a/net-im/nheko/nheko-0.7.2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake xdg
-
-DESCRIPTION="Desktop client for Matrix using Qt and C++14"
-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=""
-
-RDEPEND="
-   dev-qt/qtmultimedia:5[gstreamer,qml]
-   dev-qt/qtquickcontrols2:5
-   dev-qt/qtgraphicaleffects:5
-   dev-qt/qtsvg:5
-   dev-qt/qtconcurrent:5
-   app-text/cmark
-   dev-libs/tweeny
-   dev-db/lmdb++
-   >=dev-libs/mtxclient-0.3.1
-   dev-cpp/nlohmann_json
-"
-DEPEND="
-   ${RDEPEND}
-   dev-libs/spdlog
-"
-BDEPEND="dev-qt/linguist-tools:5"
-
-src_prepare() {
-   cmake_src_prepare
-   xdg_src_prepare
-
-   # TODO: Unbundle SingleApplication, blurhash and cpp-httplib.
-}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-01-23 Thread Michał Górny
commit: 3c87c691d94542109cc5267a2ed24fee52900107
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Wed Jan 20 03:36:22 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 20 03:39:29 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3c87c691

net-im/nheko: Remove old ebuild.

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

 net-im/nheko/Manifest   |  1 -
 net-im/nheko/nheko-0.7.1.ebuild | 40 
 2 files changed, 41 deletions(-)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index f3fdab00..c30dc70a 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,3 +1,2 @@
-DIST nheko-0.7.1.tar.gz 781856 BLAKE2B 
ebe4bc30b31c38f31dd732ebfeac6d79f3772a1de54ec3d46a0b3cf3622e6acbac574733da78420ece4030b0dee921f054f44ce9c2c159c67d94add1b2f3685b
 SHA512 
c3f8325c865b4021709114ab7f658ae5198404242eb8761c8589d42b08d175323406a65ff0706b16a4139155ac7676e12282bce078cc0a02284ecd70a7d62bdc
 DIST nheko-0.7.2.tar.gz 899562 BLAKE2B 
39a21c5a164cdc1090479422607297e48ca0e1d5455e3fabd4cf4e2af6ee8527409fbde58b0320ae0938757f055929ca5188e5b4bb9be3d1a2832d66914588a6
 SHA512 
8f253bdac22a2d3412fcb18671145d9601d8609dbc79358412e81a17a9677a1cb44b6fc4d029f4d850818cb3fe3531adc869a7e54273e7bb17d0aa7ef85dce17
 DIST nheko-0.8.0.tar.gz 1150754 BLAKE2B 
ef932f824a2e519514836aa1362504b11c4c9f511e8e66889008891cf5ac008442629afc56deb221dfaebda42c91c9c145f5e489733fee95838e100b4d4c5b77
 SHA512 
c427904bc846956aeda57ec6bc1bcf25962caa99f47da669c006d5adeb10b8b14c75aa98d9879fa91b558af8d0e9b475f52c60a1a3ee34b2cd5780f84130bcdb

diff --git a/net-im/nheko/nheko-0.7.1.ebuild b/net-im/nheko/nheko-0.7.1.ebuild
deleted file mode 100644
index 16b387a0..
--- a/net-im/nheko/nheko-0.7.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake xdg
-
-DESCRIPTION="Desktop client for Matrix using Qt and C++14"
-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=""
-
-RDEPEND="
-   dev-qt/qtmultimedia:5[gstreamer,qml]
-   dev-qt/qtquickcontrols2:5
-   dev-qt/qtgraphicaleffects:5
-   dev-qt/qtsvg:5
-   dev-qt/qtconcurrent:5
-   app-text/cmark
-   dev-libs/tweeny
-   dev-db/lmdb++
-   >=dev-libs/mtxclient-0.3.0
-   dev-cpp/nlohmann_json
-"
-DEPEND="
-   ${RDEPEND}
-   dev-libs/spdlog
-"
-BDEPEND="dev-qt/linguist-tools:5"
-
-src_prepare() {
-   cmake_src_prepare
-   xdg_src_prepare
-
-   # TODO: Unbundle SingleApplication, blurhash and cpp-httplib.
-}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2021-01-23 Thread Michał Górny
commit: 2c3dafa13ed99bf16e8adee4ed27e9cfc4148516
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Wed Jan 20 03:35:12 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 20 03:39:20 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2c3dafa1

net-im/nheko: Version bump 0.8.0.

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

 net-im/nheko/Manifest   |  1 +
 net-im/nheko/nheko-0.8.0.ebuild | 54 +
 2 files changed, 55 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index 52d4340a..f3fdab00 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,2 +1,3 @@
 DIST nheko-0.7.1.tar.gz 781856 BLAKE2B 
ebe4bc30b31c38f31dd732ebfeac6d79f3772a1de54ec3d46a0b3cf3622e6acbac574733da78420ece4030b0dee921f054f44ce9c2c159c67d94add1b2f3685b
 SHA512 
c3f8325c865b4021709114ab7f658ae5198404242eb8761c8589d42b08d175323406a65ff0706b16a4139155ac7676e12282bce078cc0a02284ecd70a7d62bdc
 DIST nheko-0.7.2.tar.gz 899562 BLAKE2B 
39a21c5a164cdc1090479422607297e48ca0e1d5455e3fabd4cf4e2af6ee8527409fbde58b0320ae0938757f055929ca5188e5b4bb9be3d1a2832d66914588a6
 SHA512 
8f253bdac22a2d3412fcb18671145d9601d8609dbc79358412e81a17a9677a1cb44b6fc4d029f4d850818cb3fe3531adc869a7e54273e7bb17d0aa7ef85dce17
+DIST nheko-0.8.0.tar.gz 1150754 BLAKE2B 
ef932f824a2e519514836aa1362504b11c4c9f511e8e66889008891cf5ac008442629afc56deb221dfaebda42c91c9c145f5e489733fee95838e100b4d4c5b77
 SHA512 
c427904bc846956aeda57ec6bc1bcf25962caa99f47da669c006d5adeb10b8b14c75aa98d9879fa91b558af8d0e9b475f52c60a1a3ee34b2cd5780f84130bcdb

diff --git a/net-im/nheko/nheko-0.8.0.ebuild b/net-im/nheko/nheko-0.8.0.ebuild
new file mode 100644
index ..ba84dfd6
--- /dev/null
+++ b/net-im/nheko/nheko-0.8.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="Desktop client for Matrix using Qt and C++14"
+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=""
+
+RDEPEND="
+   dev-qt/qtmultimedia:5[gstreamer,qml]
+   dev-qt/qtquickcontrols2:5
+   dev-qt/qtgraphicaleffects:5
+   dev-qt/qtsvg:5
+   dev-qt/qtconcurrent:5
+   app-text/cmark
+   dev-libs/tweeny
+   dev-db/lmdb++
+   >=dev-libs/mtxclient-0.4.0
+   dev-cpp/nlohmann_json
+   dev-libs/qtkeychain
+"
+DEPEND="
+   ${RDEPEND}
+   dev-libs/spdlog
+"
+BDEPEND="dev-qt/linguist-tools:5"
+
+src_prepare() {
+   cmake_src_prepare
+   xdg_src_prepare
+}
+
+# # Preparation for when gstreamer >= 1.18 lands in ::gentoo.
+# MY_GSTREAMER_V="1.18"
+#
+#  voip? (
+#  >=media-libs/gstreamer-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-meta-${MY_GSTREAMER_V}[opus,vpx]
+#  >=media-libs/gst-plugins-base-${MY_GSTREAMER_V}[opengl]
+#  >=media-libs/gst-plugins-good-${MY_GSTREAMER_V}
+#  >=media-libs/gst-plugins-bad-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-dtls-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-srtp-${MY_GSTREAMER_V}
+#  >=media-plugins/gst-plugins-webrtc-${MY_GSTREAMER_V}
+#  net-libs/libnice
+#  )



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2020-08-15 Thread Andrew Ammerlaan
commit: 8d48c4e2221cca354735589d67215e1af1a6258b
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sat Aug 15 12:11:37 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Aug 15 12:11:37 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d48c4e2

net-im/nheko: Don't call base_src_prepare() 2 times.

cmake_src_prepare() and xdg_src_prepare() both call default()
a.k.a. base_src_prepare(). That would result in the attempt to apply
each patch 2 times.

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

 net-im/nheko/nheko-0.7.1.ebuild | 2 +-
 net-im/nheko/nheko-0.7.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/nheko/nheko-0.7.1.ebuild b/net-im/nheko/nheko-0.7.1.ebuild
index 16b387a..43287ca 100644
--- a/net-im/nheko/nheko-0.7.1.ebuild
+++ b/net-im/nheko/nheko-0.7.1.ebuild
@@ -34,7 +34,7 @@ BDEPEND="dev-qt/linguist-tools:5"
 
 src_prepare() {
cmake_src_prepare
-   xdg_src_prepare
+   xdg_environment_reset
 
# TODO: Unbundle SingleApplication, blurhash and cpp-httplib.
 }

diff --git a/net-im/nheko/nheko-0.7.2.ebuild b/net-im/nheko/nheko-0.7.2.ebuild
index b226c0c..e6ce8bd 100644
--- a/net-im/nheko/nheko-0.7.2.ebuild
+++ b/net-im/nheko/nheko-0.7.2.ebuild
@@ -34,7 +34,7 @@ BDEPEND="dev-qt/linguist-tools:5"
 
 src_prepare() {
cmake_src_prepare
-   xdg_src_prepare
+   xdg_environment_reset
 
# TODO: Unbundle SingleApplication, blurhash and cpp-httplib.
 }



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2020-08-15 Thread Andrew Ammerlaan
commit: edbacefb52d3992741406ede9cbe1aef5d3e8036
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sat Aug 15 12:08:26 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Aug 15 12:09:27 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edbacefb

net-im/nheko: Move dev-qt/linguist-tools to BDEPEND.

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

 net-im/nheko/nheko-0.7.1.ebuild | 2 +-
 net-im/nheko/nheko-0.7.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/nheko/nheko-0.7.1.ebuild b/net-im/nheko/nheko-0.7.1.ebuild
index e5dcde9..16b387a 100644
--- a/net-im/nheko/nheko-0.7.1.ebuild
+++ b/net-im/nheko/nheko-0.7.1.ebuild
@@ -28,9 +28,9 @@ RDEPEND="
 "
 DEPEND="
${RDEPEND}
-   dev-qt/linguist-tools:5
dev-libs/spdlog
 "
+BDEPEND="dev-qt/linguist-tools:5"
 
 src_prepare() {
cmake_src_prepare

diff --git a/net-im/nheko/nheko-0.7.2.ebuild b/net-im/nheko/nheko-0.7.2.ebuild
index 54b3b78..b226c0c 100644
--- a/net-im/nheko/nheko-0.7.2.ebuild
+++ b/net-im/nheko/nheko-0.7.2.ebuild
@@ -28,9 +28,9 @@ RDEPEND="
 "
 DEPEND="
${RDEPEND}
-   dev-qt/linguist-tools:5
dev-libs/spdlog
 "
+BDEPEND="dev-qt/linguist-tools:5"
 
 src_prepare() {
cmake_src_prepare



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2020-07-20 Thread Andrew Ammerlaan
commit: 76899dafa15650c39ce9d443d512d7a16c605538
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sun Jul 19 22:00:43 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jul 19 22:06:59 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76899daf

net-im/nheko: Fix Manifest.

The tag for 0.7.2 moved from 3ea5a92b2a1ce372d900c757cc9a2ab3cfef2ef9 to
887ad25ab751e8cb87c98438e8e64ac8565a780c.

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

 net-im/nheko/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index fa46f76..52d4340 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1,2 +1,2 @@
 DIST nheko-0.7.1.tar.gz 781856 BLAKE2B 
ebe4bc30b31c38f31dd732ebfeac6d79f3772a1de54ec3d46a0b3cf3622e6acbac574733da78420ece4030b0dee921f054f44ce9c2c159c67d94add1b2f3685b
 SHA512 
c3f8325c865b4021709114ab7f658ae5198404242eb8761c8589d42b08d175323406a65ff0706b16a4139155ac7676e12282bce078cc0a02284ecd70a7d62bdc
-DIST nheko-0.7.2.tar.gz 899595 BLAKE2B 
dcf6316e651501580036f55e1a81eb8bf30c725167f43e3f36a20079159a2c980258b6602571c32791ba24d00a7427bde6e302ebf4831eda371f9d69e2f1dda5
 SHA512 
6faac4d5507358231004af474b2de2672aab0b9b369b5ae7f311774e8c3525cecbab0aacf61ec484696d56db171b66b688d044e05a6938c9c04ec9e885e1e82e
+DIST nheko-0.7.2.tar.gz 899562 BLAKE2B 
39a21c5a164cdc1090479422607297e48ca0e1d5455e3fabd4cf4e2af6ee8527409fbde58b0320ae0938757f055929ca5188e5b4bb9be3d1a2832d66914588a6
 SHA512 
8f253bdac22a2d3412fcb18671145d9601d8609dbc79358412e81a17a9677a1cb44b6fc4d029f4d850818cb3fe3531adc869a7e54273e7bb17d0aa7ef85dce17



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2020-06-13 Thread Andrew Ammerlaan
commit: 713a98c7c77dd5f53e82561eef9aa338eb563b18
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sat Jun 13 01:15:34 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Jun 13 01:27:34 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=713a98c7

net-im/nheko: Version bump 0.7.2.

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

 net-im/nheko/Manifest   |  1 +
 net-im/nheko/nheko-0.7.2.ebuild | 40 
 2 files changed, 41 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
index ea118d5..fa46f76 100644
--- a/net-im/nheko/Manifest
+++ b/net-im/nheko/Manifest
@@ -1 +1,2 @@
 DIST nheko-0.7.1.tar.gz 781856 BLAKE2B 
ebe4bc30b31c38f31dd732ebfeac6d79f3772a1de54ec3d46a0b3cf3622e6acbac574733da78420ece4030b0dee921f054f44ce9c2c159c67d94add1b2f3685b
 SHA512 
c3f8325c865b4021709114ab7f658ae5198404242eb8761c8589d42b08d175323406a65ff0706b16a4139155ac7676e12282bce078cc0a02284ecd70a7d62bdc
+DIST nheko-0.7.2.tar.gz 899595 BLAKE2B 
dcf6316e651501580036f55e1a81eb8bf30c725167f43e3f36a20079159a2c980258b6602571c32791ba24d00a7427bde6e302ebf4831eda371f9d69e2f1dda5
 SHA512 
6faac4d5507358231004af474b2de2672aab0b9b369b5ae7f311774e8c3525cecbab0aacf61ec484696d56db171b66b688d044e05a6938c9c04ec9e885e1e82e

diff --git a/net-im/nheko/nheko-0.7.2.ebuild b/net-im/nheko/nheko-0.7.2.ebuild
new file mode 100644
index 000..54b3b78
--- /dev/null
+++ b/net-im/nheko/nheko-0.7.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="Desktop client for Matrix using Qt and C++14"
+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=""
+
+RDEPEND="
+   dev-qt/qtmultimedia:5[gstreamer,qml]
+   dev-qt/qtquickcontrols2:5
+   dev-qt/qtgraphicaleffects:5
+   dev-qt/qtsvg:5
+   dev-qt/qtconcurrent:5
+   app-text/cmark
+   dev-libs/tweeny
+   dev-db/lmdb++
+   >=dev-libs/mtxclient-0.3.1
+   dev-cpp/nlohmann_json
+"
+DEPEND="
+   ${RDEPEND}
+   dev-qt/linguist-tools:5
+   dev-libs/spdlog
+"
+
+src_prepare() {
+   cmake_src_prepare
+   xdg_src_prepare
+
+   # TODO: Unbundle SingleApplication, blurhash and cpp-httplib.
+}



[gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/

2020-05-26 Thread Andrew Ammerlaan
commit: f4e4cbd2518039a8ac57275b94a596726d2d0de4
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Mon May 25 00:53:58 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon May 25 01:03:06 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f4e4cbd2

net-im/nheko: New package.

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

 net-im/nheko/Manifest   |  1 +
 net-im/nheko/metadata.xml   | 11 +++
 net-im/nheko/nheko-0.7.1.ebuild | 40 
 3 files changed, 52 insertions(+)

diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest
new file mode 100644
index 000..ea118d5
--- /dev/null
+++ b/net-im/nheko/Manifest
@@ -0,0 +1 @@
+DIST nheko-0.7.1.tar.gz 781856 BLAKE2B 
ebe4bc30b31c38f31dd732ebfeac6d79f3772a1de54ec3d46a0b3cf3622e6acbac574733da78420ece4030b0dee921f054f44ce9c2c159c67d94add1b2f3685b
 SHA512 
c3f8325c865b4021709114ab7f658ae5198404242eb8761c8589d42b08d175323406a65ff0706b16a4139155ac7676e12282bce078cc0a02284ecd70a7d62bdc

diff --git a/net-im/nheko/metadata.xml b/net-im/nheko/metadata.xml
new file mode 100644
index 000..4a3f8ed
--- /dev/null
+++ b/net-im/nheko/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   gen...@tastytea.de
+   Ronny (tastytea) Gutbrod
+   
+   
+   Nheko-Reborn/nheko
+   
+

diff --git a/net-im/nheko/nheko-0.7.1.ebuild b/net-im/nheko/nheko-0.7.1.ebuild
new file mode 100644
index 000..e5dcde9
--- /dev/null
+++ b/net-im/nheko/nheko-0.7.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="Desktop client for Matrix using Qt and C++14"
+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=""
+
+RDEPEND="
+   dev-qt/qtmultimedia:5[gstreamer,qml]
+   dev-qt/qtquickcontrols2:5
+   dev-qt/qtgraphicaleffects:5
+   dev-qt/qtsvg:5
+   dev-qt/qtconcurrent:5
+   app-text/cmark
+   dev-libs/tweeny
+   dev-db/lmdb++
+   >=dev-libs/mtxclient-0.3.0
+   dev-cpp/nlohmann_json
+"
+DEPEND="
+   ${RDEPEND}
+   dev-qt/linguist-tools:5
+   dev-libs/spdlog
+"
+
+src_prepare() {
+   cmake_src_prepare
+   xdg_src_prepare
+
+   # TODO: Unbundle SingleApplication, blurhash and cpp-httplib.
+}