From ef0fedb39c21a343a3f316726f272bad9005b22c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 12 Mar 2025 01:49:51 +0000 Subject: gentoo auto-resync : 12:03:2025 - 01:49:51 --- net-p2p/Manifest.gz | Bin 6273 -> 6273 bytes net-p2p/retroshare/Manifest | 2 +- net-p2p/retroshare/retroshare-0.6.7-r3.ebuild | 136 ------------------------ net-p2p/retroshare/retroshare-0.6.7-r4.ebuild | 143 ++++++++++++++++++++++++++ 4 files changed, 144 insertions(+), 137 deletions(-) delete mode 100644 net-p2p/retroshare/retroshare-0.6.7-r3.ebuild create mode 100644 net-p2p/retroshare/retroshare-0.6.7-r4.ebuild (limited to 'net-p2p') diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz index 6ea27b08142c..a2483905a15d 100644 Binary files a/net-p2p/Manifest.gz and b/net-p2p/Manifest.gz differ diff --git a/net-p2p/retroshare/Manifest b/net-p2p/retroshare/Manifest index c32b356f8676..6d16dafcaa49 100644 --- a/net-p2p/retroshare/Manifest +++ b/net-p2p/retroshare/Manifest @@ -2,5 +2,5 @@ AUX retroshare-0.6.7-fix-miniupnp-api-v18.patch 1168 BLAKE2B 35635a360183aaaa3fc AUX retroshare-0.6.7_fix-old-rapidjson.patch 1114 BLAKE2B dff2082304e03859a6bedf0575302b5d23ecdee8585f39f24537030c68c7475c0d6f10eb12c7d11e93672ad9c1190f2a09b40cbbf2ea78ace3a205ea6687913c SHA512 58f96a38484c5c22ba775c5741a4846821911aaee3fb118ab15c76b0b7432df0d9e0b7558831bf54cd36b37ca33550c7d6ce4c58a652acbd48b0e955dd6c3343 DIST retroshare-0.6.7.tar.gz 26506259 BLAKE2B 3c0963c8afbbf741c8c5d22dc9c9f86f82d1a338a9f0dd02065617d16e96738a4d22c2bc30c1ba32c61fcc7beedaa15ac3c185aab429882b0947aa28b8c037b1 SHA512 ff5455b97519878d83c6872dfce457804430938864259f7d0fa5b06ebae161e62ea8300e809a03a821b2ecdf755a3de7465a580882709ae79bfb9c1de855e347 EBUILD retroshare-0.6.7-r2.ebuild 3482 BLAKE2B cf9cc2156a000518e780e0970d2a39b35754f38faae1940833ec899147726a42ff4d55e947fb106628f9932c5770d5f8b98fc19deb0fa3106989dc888baab2d7 SHA512 b4783c5de5a118a8cd36d687837fcb805fb28700325414b60e548fad179debeacb9076c0524518cdf8dee4dcbdb893f18e7c1811a22ba469e7873e93ecb2addb -EBUILD retroshare-0.6.7-r3.ebuild 3578 BLAKE2B 57fee4c6ed4d53fb2700d9404c342db48015d5b85e39782211c439f66ac2807c985380aa1de733859689319850cbb6edbbb127b406f5f958c3cc91e21f6ad361 SHA512 3a13fed146f677ed110b6bb67f0b35b13485ec114d60fae8ca08cda73f57bc24871f926ee7ea64fbfc023f3c23609c59eb0af67df04d42ddf51266e674a198e9 +EBUILD retroshare-0.6.7-r4.ebuild 3859 BLAKE2B b45fc5708d9e226124832b2e054c184807c752dcea3049bed0697a0978a5abd1b21e2a57718236d2255864a61e9f5bf4ef51d33c665037cc5b2343c0ddfa00be SHA512 3ab551ad2c81bd9c6e205748f788e2280707979c65b1c7b8b5ca042f660de96add92fd7730e8cb93ad09a0ca28c38a0363fa76c3b9477ca3baae77e4848f338d MISC metadata.xml 1754 BLAKE2B 3b2f907deeb4e3b5fb55a3e6500eec33410fee84ff041899941d3915347054e471df88eeebf46219eab8684968dfdd367c10e5d512dca5e10c508e45570edebb SHA512 96b3e87ea2eeed2f9ffdeca6d1fdfd13c97f135edbc754e69f23c0416cb45ed7d22dbe333681879df644cec94d380225cf6930754cd401c2753c090eaae66eca diff --git a/net-p2p/retroshare/retroshare-0.6.7-r3.ebuild b/net-p2p/retroshare/retroshare-0.6.7-r3.ebuild deleted file mode 100644 index a9cec116ed37..000000000000 --- a/net-p2p/retroshare/retroshare-0.6.7-r3.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2025 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 and include 3rd party libraries in the tarball - -LICENSE="AGPL-3 Apache-2.0 CC-BY-SA-4.0 GPL-2 GPL-3 LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cli +gui +jsonapi keyring libupnp +miniupnp plugins +service +sqlcipher" - -REQUIRED_USE=" - || ( gui service ) - ?? ( libupnp miniupnp ) - plugins? ( gui ) - service? ( || ( cli jsonapi ) ) -" -RDEPEND=" - app-arch/bzip2 - dev-libs/openssl:0= - sys-libs/zlib - gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - dev-qt/qtxml:5 - x11-libs/libX11 - x11-libs/libXScrnSaver - ) - keyring? ( app-crypt/libsecret ) - libupnp? ( net-libs/libupnp:= ) - miniupnp? ( net-libs/miniupnpc:= ) - plugins? ( - media-libs/speex - media-libs/speexdsp - =ffmpeg-7 then drop ffmpeg-compat, or drop/mask plugins + if use plugins; then + ffmpeg_compat_setup 4 + # hack: passes -L/usr/lib64 which messes with finding ffmpeg-compat + append-ldflags "-L$(ffmpeg_compat_get_prefix 4)/$(get_libdir)" + fi + + local qconfigs=( + $(usex cli '' 'no_')rs_service_terminal_login + $(usex keyring '' 'no_')rs_autologin + $(usex gui '' 'no_')retroshare_gui + $(usex jsonapi '' 'no_')rs_jsonapi + $(usex service '' 'no_')retroshare_service + $(usex sqlcipher '' 'no_')sqlcipher + $(usex plugins '' 'no_')retroshare_plugins + ) + + local qupnplibs="none" + if use miniupnp; then + qupnplibs="miniupnpc" + elif use libupnp; then + qupnplibs="upnp ixml" + fi + + # bug 907898 + use elibc_musl && append-flags -D_LARGEFILE64_SOURCE + + # REVIEW: qmake is deprecated + # https://github.com/RetroShare/RetroShare/tree/master/jsonapi-generator + eqmake5 CONFIG+="${qconfigs[*]}" \ + RS_MAJOR_VERSION=$(ver_cut 1) \ + RS_MINOR_VERSION=$(ver_cut 2) \ + RS_MINI_VERSION=$(ver_cut 3) \ + RS_EXTRA_VERSION="-gentoo-${PR}" \ + RS_UPNP_LIB="${qupnplibs}" +} + +src_install() { + use service && dobin retroshare-service/src/retroshare-service + + insinto /usr/share/retroshare + doins libbitdht/src/bitdht/bdboot.txt + + dodoc README.asciidoc + + if use gui; then + dobin retroshare-gui/src/retroshare + doins -r retroshare-gui/src/qss + + doicon data/${PN}.xpm + domenu data/${PN}.desktop + for i in 24 48 64 128 ; do + doicon -s ${i} "data/${i}x${i}/apps/retroshare.png" + done + fi + if use plugins; then + insinto /usr/lib/retroshare/extensions6 + doins plugins/*/lib/*.so + fi +} + +pkg_preinst() { + xdg_pkg_preinst + + if ! use sqlcipher && ! has_version "net-p2p/retroshare[-sqlcipher]"; then + ewarn "You have disabled GXS database encryption, ${PN} will use SQLite" + ewarn "instead of SQLCipher for GXS databases." + ewarn "Builds using SQLite and builds using SQLCipher have incompatible" + ewarn "database format, so you will need to manually delete GXS" + ewarn "database (loosing all your GXS data and identities) when you" + ewarn "toggle sqlcipher USE flag." + fi +} -- cgit v1.2.3