diff options
-rw-r--r-- | kde-apps/kopete/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kopete/kopete-23.04.3.ebuild | 176 |
2 files changed, 177 insertions, 0 deletions
diff --git a/kde-apps/kopete/Manifest b/kde-apps/kopete/Manifest index 3b8336884c08..01d89e7ead83 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.2.tar.xz 10144532 BLAKE2B c1fbd284850ca2ac21cf3be1e9368a231897b8c05e210e0db62e22502ecd46ac1a60c9de348522607ba16373a2f3741cff8089f66359f2be08481b44f2e880b0 SHA512 5e9a1aad56e95373218a7bfaf93bb2cca101680ff36861eaf41211d7583b8051a11860de06f7fec4eb87316c901a30cfa39cb70879553e6555185553dc080356 +DIST kopete-23.04.3.tar.xz 10145676 BLAKE2B a20b08c524d9e9d1fe9efa94590c58454c70c2e9d8bb7150617e81e42a465599f3141b3b783bdcdb1bd0ea81577ccc5a07c6f58902dc3b8198ecde4140f0b7d2 SHA512 74d773e841308d1aa3ad337ae5fa8753574fb8e66c9651e70607b481b24cc8d6008983c7eca5fdda91271c8738a0d06e157ea884af6795d9db2afba261e4df9f diff --git a/kde-apps/kopete/kopete-23.04.3.ebuild b/kde-apps/kopete/kopete-23.04.3.ebuild new file mode 100644 index 000000000000..aaf8e0d03865 --- /dev/null +++ b/kde-apps/kopete/kopete-23.04.3.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 +} |