summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-06-08 12:38:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-06-08 13:35:56 +0200
commit2fc504d1afa84ae1f4b84f4ee4b9febf9cba8531 (patch)
tree7c02ee48212747ae219eb2c85eb1a274d60a3a5e /kde-apps/kopete
parentkde-apps/krfb: 23.04.2 version bump (diff)
downloadgentoo-2fc504d1afa84ae1f4b84f4ee4b9febf9cba8531.tar.gz
gentoo-2fc504d1afa84ae1f4b84f4ee4b9febf9cba8531.tar.bz2
gentoo-2fc504d1afa84ae1f4b84f4ee4b9febf9cba8531.zip
kde-apps/kopete: 23.04.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kopete')
-rw-r--r--kde-apps/kopete/Manifest1
-rw-r--r--kde-apps/kopete/kopete-23.04.2.ebuild176
2 files changed, 177 insertions, 0 deletions
diff --git a/kde-apps/kopete/Manifest b/kde-apps/kopete/Manifest
index 5c108317738a..bc7904dd7f02 100644
--- a/kde-apps/kopete/Manifest
+++ b/kde-apps/kopete/Manifest
@@ -1,2 +1,3 @@
DIST kopete-22.12.3.tar.xz 10280244 BLAKE2B 9eada862291d164e0c0dd3ea583e72002fa5480acf178dd6fd152df338f5884eaa802efe0f4a6dd118f3d09960a77178b914131766e5b3ad785ff91384fd8dec SHA512 74ba83115c02936631f907ec52ff8b4bc0e637f43dcef597db84e222a34506e7a0325f9457b04383e8ae328fcbd663be113fc93c1804bed7d5e4262f171c0c8d
DIST kopete-23.04.1.tar.xz 10145260 BLAKE2B f4f118450cee60ff9463355903b5c26e68a4c9eead1d28d220ffa2c66c53f6721a3e8920076b11346b639190de0912110c192343dc9c3a043a6ca697e2458e8d SHA512 b3d3ea69417c203e7b77ea3c94f664de73378267c0352420d5b8c4ba5f5b9ebebe91bde3b313692d335fc5b49de676948f89c344fcc23bc836321ece6ab11d9f
+DIST kopete-23.04.2.tar.xz 10144532 BLAKE2B c1fbd284850ca2ac21cf3be1e9368a231897b8c05e210e0db62e22502ecd46ac1a60c9de348522607ba16373a2f3741cff8089f66359f2be08481b44f2e880b0 SHA512 5e9a1aad56e95373218a7bfaf93bb2cca101680ff36861eaf41211d7583b8051a11860de06f7fec4eb87316c901a30cfa39cb70879553e6555185553dc080356
diff --git a/kde-apps/kopete/kopete-23.04.2.ebuild b/kde-apps/kopete/kopete-23.04.2.ebuild
new file mode 100644
index 000000000000..aaf8e0d03865
--- /dev/null
+++ b/kde-apps/kopete/kopete-23.04.2.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm gear.kde.org
+
+DESCRIPTION="Multi-protocol IM client based on KDE Frameworks"
+HOMEPAGE="https://apps.kde.org/kopete/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="ssl v4l"
+
+# Available plugins
+# addbookmarks: NO DEPS
+# alias: NO DEPS (disabled upstream)
+# autoreplace: NO DEPS
+# contactnotes: NO DEPS
+# cryptography: BROKEN (app-crypt/gpgme[cxx,qt5], kde-apps/libkleo:5)
+# highlight: NO DEPS
+# history: NO DEPS
+# latex: virtual/latex as RDEPEND
+# nowlistening: NO DEPS
+# otr: libotr
+# pipes: NO DEPS
+# privacy: NO DEPS
+# statistics: dev-db/sqlite:3
+# texteffect: NO DEPS
+# translator: NO DEPS
+# urlpicpreview: NO DEPS
+# webpresence: libxml2 libxslt
+# NOTE: By default we enable all plugins that don't have any dependencies
+PLUGINS="+addbookmarks +autoreplace +contactnotes +highlight history latex nowlistening
+otr pipes +privacy +statistics +texteffect translator +urlpicpreview webpresence"
+
+# Available protocols
+# gadu: net-libs/libgadu @since 4.3
+# groupwise: app-crypt/qca:2
+# irc: NO DEPS, probably will fail so inform user about it
+# meanwhile: net-libs/meanwhile
+# telepathy: net-libs/decibel
+# testbed: NO DEPS
+# winpopup: NO DEPS (we're adding samba as RDEPEND so it works)
+# zeroconf (bonjour): NO DEPS
+PROTOCOLS="gadu groupwise meanwhile testbed winpopup zeroconf"
+
+# disabled protocols
+# irc: NO DEPS
+# jingle: media-libs/speex net-libs/ortp DISABLED BY UPSTREAM
+# qq: NO DEPS
+# telepathy: net-libs/decibel
+# sms (until fixed)
+# oscar (until fixed: KDE-bug #402647
+# xmpp: continuously broken, KDE-bugs #304722, 412228, 457330, 410938, ...
+
+IUSE="${IUSE} ${PLUGINS} ${PROTOCOLS}"
+
+# tests hang, last checked for 4.2.96
+RESTRICT="test"
+
+COMMON_DEPEND="
+ app-crypt/gpgme:=[cxx,qt5]
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-apps/kidentitymanagement-${PVCUT}:5
+ >=kde-apps/libkleo-${PVCUT}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kcontacts-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/kdelibs4support-${KFMIN}:5
+ >=kde-frameworks/kemoticons-${KFMIN}:5
+ >=kde-frameworks/khtml-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/knotifyconfig-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/ktexteditor-${KFMIN}:5
+ >=media-libs/phonon-4.11.0
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ gadu? ( >=net-libs/libgadu-1.8.0[threads] )
+ groupwise? ( >=app-crypt/qca-2.3.0:2[qt5(+)] )
+ meanwhile? ( net-libs/meanwhile )
+ otr? ( >=net-libs/libotr-4.0.0 )
+ statistics? ( dev-db/sqlite:3 )
+ v4l? ( media-libs/libv4l )
+ webpresence? (
+ dev-libs/libxml2
+ dev-libs/libxslt
+ )
+ zeroconf? (
+ >=kde-apps/kidentitymanagement-${PVCUT}:5
+ >=kde-frameworks/kdnssd-${KFMIN}:5
+ )
+"
+# jingle? (
+# dev-libs/expat
+# dev-libs/openssl:0=
+# >=media-libs/mediastreamer-2.3.0
+# media-libs/speex
+# net-libs/libsrtp:0=
+# net-libs/ortp:=
+# )
+# xmpp? (
+# >=app-crypt/qca-2.3.0:2[qt5(+)]
+# net-dns/libidn:0=
+# sys-libs/zlib
+# )
+RDEPEND="${COMMON_DEPEND}
+ latex? (
+ || (
+ media-gfx/imagemagick
+ media-gfx/graphicsmagick[imagemagick]
+ )
+ virtual/latex-base
+ )
+ ssl? ( >=app-crypt/qca-2.3.0:2[qt5(+),ssl] )
+"
+# sms? ( app-mobilephone/smssend )
+# winpopup? ( net-fs/samba )
+# xmpp? ( >=app-crypt/qca-2.3.0:2[qt5(+),ssl?] )
+DEPEND="${COMMON_DEPEND}
+ x11-base/xorg-proto
+"
+# jingle? ( dev-libs/jsoncpp )
+
+src_prepare() {
+ ecm_src_prepare
+
+ # breaks with oscar disabled, bug 901487
+ cmake_run_in tests/protocols cmake_comment_add_subdirectory oscar
+}
+
+src_configure() {
+ local x x2
+ # Handle common stuff
+ local mycmakeargs=(
+ -DWITH_qq=OFF
+ -DDISABLE_VIDEOSUPPORT=$(usex !v4l)
+ )
+# $(cmake_use_find_package jingle LiboRTP)
+# $(cmake_use_find_package jingle Mediastreamer)
+# $(cmake_use_find_package jingle Speex)
+
+ # enable protocols
+ for x in ${PROTOCOLS}; do
+ case ${x/+/} in
+ jingle) x2=libjingle ;;
+ xmpp) x2=jabber ;;
+ zeroconf) x2=bonjour ;;
+ *) x2=${x/+/} ;;
+ esac
+ mycmakeargs+=( -DWITH_${x2}=$(usex ${x/+/}) )
+ done
+
+ # disable until fixed:
+ mycmakeargs+=( -DWITH_{cryptography,jabber,libjingle,oscar,sms}=OFF )
+
+ # enable plugins
+ for x in ${PLUGINS}; do
+ mycmakeargs+=( -DWITH_${x/+/}=$(usex ${x/+/}) )
+ done
+
+ ecm_src_configure
+}