diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-19 02:34:04 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-19 02:34:50 +0100 |
commit | 69bda468b16a78ac6fcd84b1c08671bc6ea74726 (patch) | |
tree | ffa226d7d06da09349b8cb8129a85a23ce627174 /kde-apps/ktp-common-internals | |
parent | ecm.eclass: Drop KDE Applications 19.08.3 support (diff) | |
download | gentoo-69bda468b16a78ac6fcd84b1c08671bc6ea74726.tar.gz gentoo-69bda468b16a78ac6fcd84b1c08671bc6ea74726.tar.bz2 gentoo-69bda468b16a78ac6fcd84b1c08671bc6ea74726.zip |
kde-apps: Re-add KDE Applications 19.08.3 for arm64 only
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/ktp-common-internals')
3 files changed, 128 insertions, 0 deletions
diff --git a/kde-apps/ktp-common-internals/Manifest b/kde-apps/ktp-common-internals/Manifest index fe94e542811e..23805531ec8e 100644 --- a/kde-apps/ktp-common-internals/Manifest +++ b/kde-apps/ktp-common-internals/Manifest @@ -1 +1,2 @@ +DIST ktp-common-internals-19.08.3.tar.xz 445792 BLAKE2B 36ba8abed61b1b45481b1a65d565d6f12e115a9db8bd14b2d8a4f276646387e1c18a27d26cda78bbb5885277de23884329b6d42798abb592e8c8bf555c156ba0 SHA512 255e8e16cf1b374a1106f66f4d69e660a9443d7b28d169730326fd4689a864bdd34bce9a33ff63ba175faf1bf65a1db1484e3dccc229eb3f0918c9fcad965e60 DIST ktp-common-internals-19.12.3.tar.xz 445328 BLAKE2B 402f74d796aa85fb15190a6edc234b4c8ca2951149fc2a28a8162e55ed0af6a118bb4c38f43134e9d051afed1ce5a982d44d313a9a31f8031943b4be402b32a6 SHA512 6ba5bf496af9c55c0727fdda331bd3c05260109f4cda6f09c5a66b7fa8ced6d78d6b78c92c039371e5c260d594141941c4801a27960abe73724d35905be5c655 diff --git a/kde-apps/ktp-common-internals/files/ktp-common-internals-19.08.3-telepathy-0.9.8.patch b/kde-apps/ktp-common-internals/files/ktp-common-internals-19.08.3-telepathy-0.9.8.patch new file mode 100644 index 000000000000..9cc3b301e0ab --- /dev/null +++ b/kde-apps/ktp-common-internals/files/ktp-common-internals-19.08.3-telepathy-0.9.8.patch @@ -0,0 +1,57 @@ +From f030b527c4d390ead78d2e56a1655444f97b5545 Mon Sep 17 00:00:00 2001 +From: Antonio Rojas <arojas@archlinux.org> +Date: Thu, 14 Nov 2019 20:34:21 +0100 +Subject: [PATCH] Fix build with telepathy-qt 0.9.8 + +Explicitely add the necessary link targets which are no longer exported by telepathy-qt + +Differential Revision: https://phabricator.kde.org/D25269 +--- + CMakeLists.txt | 4 +++- + KTp/CMakeLists.txt | 2 ++ + KTp/OTR/CMakeLists.txt | 1 + + 3 files changed, 6 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 187400e..2650321 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -20,8 +20,10 @@ set (KTP_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_M + set (KTP_MESSAGE_FILTER_FRAMEWORK_VERSION "5") + + find_package (Qt5 REQUIRED CONFIG COMPONENTS ++ DBus + Qml +- Test) ++ Test ++ Xml) + + find_package (KF5 5.11 REQUIRED COMPONENTS + CoreAddons +diff --git a/KTp/CMakeLists.txt b/KTp/CMakeLists.txt +index 85d578b..ffbce10 100644 +--- a/KTp/CMakeLists.txt ++++ b/KTp/CMakeLists.txt +@@ -91,6 +91,8 @@ set_target_properties(KTpCommonInternals PROPERTIES + + target_link_libraries (KTpCommonInternals + PUBLIC ++ Qt5::DBus ++ Qt5::Xml + KF5::Wallet #included from wallet-interface.h + ${TELEPATHY_QT5_LIBRARIES} + PRIVATE +diff --git a/KTp/OTR/CMakeLists.txt b/KTp/OTR/CMakeLists.txt +index 12e28de..0743e25 100644 +--- a/KTp/OTR/CMakeLists.txt ++++ b/KTp/OTR/CMakeLists.txt +@@ -28,6 +28,7 @@ generate_export_header(KTpOTR) + + target_link_libraries (KTpOTR + PUBLIC ++ Qt5::DBus + ${TELEPATHY_QT5_LIBRARIES} + PRIVATE + KF5::I18n +-- +2.24.0 diff --git a/kde-apps/ktp-common-internals/ktp-common-internals-19.08.3.ebuild b/kde-apps/ktp-common-internals/ktp-common-internals-19.08.3.ebuild new file mode 100644 index 000000000000..b21add1248c9 --- /dev/null +++ b/kde-apps/ktp-common-internals/ktp-common-internals-19.08.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="forceoptional" +PVCUT=$(ver_cut 1-3) +KFMIN=5.60.0 +QTMIN=5.12.3 +inherit ecm kde.org + +DESCRIPTION="KDE Telepathy common library" +HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration" + +LICENSE="LGPL-2.1" +SLOT="5" +KEYWORDS="arm64" +IUSE="otr +sso" + +RDEPEND=" + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/knotifyconfig-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/kpeople-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/ktexteditor-${KFMIN}:5 + >=kde-frameworks/kwallet-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtsql-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=net-libs/telepathy-logger-qt-17.08.0:5 + >=net-libs/telepathy-qt-0.9.5[qt5(+)] + otr? ( + dev-libs/libgcrypt:0= + >=net-libs/libotr-4.0.0 + ) + sso? ( + >=kde-apps/kaccounts-integration-${PVCUT}:5 + net-libs/accounts-qt + net-libs/telepathy-accounts-signon + ) +" +DEPEND="${RDEPEND} + >=kde-frameworks/kio-${KFMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 +" + +PATCHES=( "${FILESDIR}/${P}-telepathy-0.9.8.patch" ) + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package sso KAccounts) + $(cmake_use_find_package sso AccountsQt5) + $(cmake_use_find_package otr Libgcrypt) + $(cmake_use_find_package otr LibOTR) + ) + + ecm_src_configure +} |