From 9b0a50bdb4a417142d4e87c154bcccf87576e268 Mon Sep 17 00:00:00 2001 From: gentoo-setan Date: Wed, 3 Jul 2024 19:56:57 +0200 Subject: net-p2p/retroshare: Swap 0.6.7 for 0.6.7-r1, fix miniupnpc API Retroshare only recognizes API over 14: https://github.com/RetroShare/libretroshare/blob/402f32eda026c3ec3e429b5fb842e87ebd985d73/src/rs_upnp/upnphandler_miniupnp.cc#L50 And miniupnp changed one of the functions core functions in API 18 https://github.com/miniupnp/miniupnp/blob/3911bace98ec1593dcc41953a09f3fd657c341be/miniupnpc/apiversions.txt#L6 Retroshare did not adapt so we need to pin the dep until the upstream resolves this issue: https://github.com/RetroShare/RetroShare/issues/2865 Closes: https://bugs.gentoo.org/935043 Signed-off-by: gentoo-setan Closes: https://github.com/gentoo/gentoo/pull/37412 Signed-off-by: Sam James --- net-p2p/retroshare/retroshare-0.6.7-r1.ebuild | 124 ++++++++++++++++++++++++++ net-p2p/retroshare/retroshare-0.6.7.ebuild | 123 ------------------------- 2 files changed, 124 insertions(+), 123 deletions(-) create mode 100644 net-p2p/retroshare/retroshare-0.6.7-r1.ebuild delete mode 100644 net-p2p/retroshare/retroshare-0.6.7.ebuild (limited to 'net-p2p') diff --git a/net-p2p/retroshare/retroshare-0.6.7-r1.ebuild b/net-p2p/retroshare/retroshare-0.6.7-r1.ebuild new file mode 100644 index 000000000000..40334e72e45b --- /dev/null +++ b/net-p2p/retroshare/retroshare-0.6.7-r1.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic desktop qmake-utils xdg + +DESCRIPTION="Friend to Friend secure communication and sharing application" +HOMEPAGE="https://retroshare.cc" +SRC_URI="https://download.opensuse.org/repositories/network:/retroshare/Debian_Testing/retroshare-common_${PV}.orig.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/RetroShare" +# NOTE: GitHub releases/archive is impractical to build so we use the OBS repo +# but they squash point releases which is bad for us + +LICENSE="AGPL-3 Apache-2.0 CC-BY-SA-4.0 GPL-2 GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="keyring cli +gui +jsonapi libupnp +miniupnp +service +sqlcipher plugins" + +REQUIRED_USE=" + || ( gui service ) + ?? ( libupnp miniupnp ) + plugins? ( gui ) + service? ( || ( cli jsonapi ) )" + +RDEPEND=" + app-arch/bzip2 + dev-libs/openssl:0= + sys-libs/zlib + keyring? ( app-crypt/libsecret ) + gui? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtxml:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + x11-libs/libX11 + x11-libs/libXScrnSaver + ) + libupnp? ( net-libs/libupnp:= ) + miniupnp? (