summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-misc/kdeconnect/Manifest1
-rw-r--r--kde-misc/kdeconnect/files/kdeconnect-21.07.80-revert-disable-kpeople.patch31
-rw-r--r--kde-misc/kdeconnect/kdeconnect-21.08.0.ebuild88
3 files changed, 120 insertions, 0 deletions
diff --git a/kde-misc/kdeconnect/Manifest b/kde-misc/kdeconnect/Manifest
index 7e1554366aa5..cf59a0f4f77f 100644
--- a/kde-misc/kdeconnect/Manifest
+++ b/kde-misc/kdeconnect/Manifest
@@ -1 +1,2 @@
DIST kdeconnect-kde-21.04.3.tar.xz 567512 BLAKE2B 5cfa3140b5b40ee7b9c78688b1d8289ad9d0b2bc78781883021a2678096412c8ebe1c09172d945ffd5c2111fc3573637735cc0c70512da3c62ea7a868b770415 SHA512 5f2104424c5ddf56eb27bfa0cb3425db6ceb9ecab8844fabfc263e8f0bb165b68077c302df5c06106c15b82836925a730951bada3e0ef09aee1aa99936341f07
+DIST kdeconnect-kde-21.08.0.tar.xz 589272 BLAKE2B 6009aca7ca304c4fe2acc88c47b831d0b6364d154344e863b62da4aa9a791258220da458581cc71e5174982cf7c64438463f761eea4fd0c29679d95cd4a41ed5 SHA512 caaf729781a76c198f7f71a3e9f796a9920a589c5c9937376ccc87a03f89fc51a0ec5a0a6a7096279674cbeda8a9fe6bcca4d39f5e9a356a784b07909a53b288
diff --git a/kde-misc/kdeconnect/files/kdeconnect-21.07.80-revert-disable-kpeople.patch b/kde-misc/kdeconnect/files/kdeconnect-21.07.80-revert-disable-kpeople.patch
new file mode 100644
index 000000000000..bd7063f93ee6
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-21.07.80-revert-disable-kpeople.patch
@@ -0,0 +1,31 @@
+From eab3dd5f39b7633a3bc074713da69c53f123345d Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Fri, 16 Jul 2021 23:15:26 +0200
+Subject: [PATCH] Revert "Disable kpeople qml module finding"
+
+This reverts commit 89f52af4389e9e98f7428db670355d144b6045a2.
+
+We don't have to do that, because we already apply downstream magic
+and set -DECM_DISABLE_QMLPLUGINDUMP=ON globally.
+
+See also: https://phabricator.kde.org/D25812
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 44af637f..b2027e92 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -84,7 +84,7 @@ else()
+
+ add_definitions(-DHAVE_KIO)
+
+- #ecm_find_qmlmodule(org.kde.people 1.0) FIXME This results in KPeople code being called which triggers DBus calls which breaks the Windows CI
++ ecm_find_qmlmodule(org.kde.people 1.0)
+ ecm_find_qmlmodule(QtQuick.Particles 2.0)
+
+ endif()
+--
+2.32.0
+
diff --git a/kde-misc/kdeconnect/kdeconnect-21.08.0.ebuild b/kde-misc/kdeconnect/kdeconnect-21.08.0.ebuild
new file mode 100644
index 000000000000..8cd6a497ec33
--- /dev/null
+++ b/kde-misc/kdeconnect/kdeconnect-21.08.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="optional"
+ECM_TEST="true"
+KDE_GEAR="true"
+KDE_ORG_NAME="${PN}-kde"
+KDE_SELINUX_MODULE="${PN}"
+KFMIN=5.84.0
+QTMIN=5.15.2
+inherit ecm kde.org
+
+DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
+HOMEPAGE="https://kdeconnect.kde.org/ https://apps.kde.org/kdeconnect.kcm/"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="bluetooth pulseaudio X"
+
+RESTRICT+=" test"
+
+DEPEND="
+ >=app-crypt/qca-2.3.0:2[ssl]
+ >=dev-libs/wayland-1.15.0
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5=
+ >=dev-qt/qtmultimedia-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=dev-qt/qtwayland-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kpeople-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kwayland-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+ bluetooth? ( >=dev-qt/qtbluetooth-${QTMIN}:5 )
+ X? (
+ x11-libs/libfakekey
+ x11-libs/libX11
+ x11-libs/libXtst
+ )
+ pulseaudio? ( media-libs/pulseaudio-qt )
+"
+RDEPEND="${DEPEND}
+ dev-libs/kpeoplevcard
+ >=dev-qt/qtgraphicaleffects-${QTMIN}:5
+ >=dev-qt/qtmultimedia-${QTMIN}:5[qml]
+ >=kde-frameworks/kdeclarative-${KFMIN}:5
+ net-fs/sshfs
+"
+
+PATCHES=( "${FILESDIR}/${PN}-21.07.80-revert-disable-kpeople.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBLUETOOTH_ENABLED=$(usex bluetooth)
+ $(cmake_use_find_package pulseaudio KF5PulseAudioQt)
+ $(cmake_use_find_package X LibFakeKey)
+ )
+ ecm_src_configure
+}
+
+pkg_postinst() {
+ ecm_pkg_postinst
+
+ elog "The Android .apk file is available via"
+ elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
+ elog "or via"
+ elog "https://f-droid.org/packages/org.kde.kdeconnect_tp/"
+}