From 9a1551004a4cfcf12345ede3630fcfedc4ef128a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Mon, 21 Aug 2023 23:56:21 +0200 Subject: [PATCH] [net-im/spectrum2] drop twitter, sync --- net-im/spectrum2/spectrum2-9999.ebuild | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/net-im/spectrum2/spectrum2-9999.ebuild b/net-im/spectrum2/spectrum2-9999.ebuild index d1fe46f..a9df846 100644 --- a/net-im/spectrum2/spectrum2-9999.ebuild +++ b/net-im/spectrum2/spectrum2-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,21 +20,20 @@ HOMEPAGE="https://www.spectrum.im" LICENSE="GPL-2+" SLOT="0" -IUSE="doc frotz irc mysql postgres purple sms +sqlite test twitter whatsapp xmpp" +IUSE="doc frotz irc mysql postgres purple sms +sqlite test whatsapp xmpp" REQUIRED_USE=" || ( mysql postgres sqlite ) test? ( irc ) " RESTRICT="!test? ( test )" -# https://github.com/SpectrumIM/spectrum2/issues/464 for log4cxx version limit RDEPEND=" acct-group/spectrum acct-user/spectrum dev-libs/boost:=[nls] dev-libs/expat dev-libs/libev:= - =dev-libs/log4cxx-1.0.0:= dev-libs/jsoncpp:= dev-libs/openssl:= dev-libs/popt @@ -58,7 +57,6 @@ RDEPEND=" ) sms? ( app-mobilephone/smstools ) sqlite? ( dev-db/sqlite:3 ) - twitter? ( net-misc/curl ) whatsapp? ( net-im/transwhat )" DEPEND=" @@ -89,7 +87,6 @@ src_configure() { -DENABLE_SMSTOOLS3="$(usex sms)" -DENABLE_SQLITE3="$(usex sqlite)" -DENABLE_TESTS="$(usex test)" - -DENABLE_TWITTER="$(usex twitter)" -DENABLE_XMPP="$(usex xmpp)" ) @@ -117,4 +114,15 @@ src_install() { pkg_postinst() { tmpfiles_process spectrum2.conf + + if [[ ${REPLACING_VERSIONS} ]]; then + for v in ${REPLACING_VERSIONS}; do + if ver_test "${v}" -lt 2.2.0; then + ewarn "Starting with Release 2.2.0, the path for spectrum2" + ewarn "executable helper files has been changed from '/usr/bin'" + ewarn "to '/usr/libexec'. Please update your config files!" + break + fi + done + fi }