[arch-commits] Commit in (5 files)

Antonio Rojas arojas at archlinux.org
Fri Mar 20 13:51:27 UTC 2020


    Date: Friday, March 20, 2020 @ 13:51:27
  Author: arojas
Revision: 377963

community2extra: Moving kdeconnect from community to extra

Added:
  kdeconnect/
  kdeconnect/repos/
  kdeconnect/trunk/
  kdeconnect/trunk/PKGBUILD
  kdeconnect/trunk/kdeconnect-openssh-8.2.patch

------------------------------+
 PKGBUILD                     |   41 +++++++++++++++++++++++++++++++++++++++++
 kdeconnect-openssh-8.2.patch |   12 ++++++++++++
 2 files changed, 53 insertions(+)

Added: kdeconnect/trunk/PKGBUILD
===================================================================
--- kdeconnect/trunk/PKGBUILD	                        (rev 0)
+++ kdeconnect/trunk/PKGBUILD	2020-03-20 13:51:27 UTC (rev 377963)
@@ -0,0 +1,41 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
+
+pkgname=kdeconnect
+pkgver=1.4
+pkgrel=2
+pkgdesc='Adds communication between KDE and your smartphone'
+url='https://community.kde.org/KDEConnect'
+license=(GPL)
+arch=(x86_64)
+depends=(hicolor-icon-theme kcmutils kwayland libfakekey qca kpeoplevcard pulseaudio-qt kirigami2)
+makedepends=(extra-cmake-modules kdoctools)
+optdepends=('sshfs: remote filesystem browser' 'python-nautilus: Nautilus integration')
+source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-kde-$pkgver.tar.xz"{,.sig}
+         kdeconnect-openssh-8.2.patch)
+sha256sums=('caee7945a9d9bb881a943dc8d2fd0d702c04da5bdb2df14d4f875e7cf5d5261a'
+            'SKIP'
+            '8bcf0d39dfe059af866f48719562dfe7db7fcb0f20ee75d7adda9784fca0ba64')
+validpgpkeys=(B3487CA0FF36258E2A2F338BD33E721DF877EFE8  # Albert Vaca Cintora <albertvaka at gmail.com>
+              F53223F3337665C2CCEA122E873AC3459BBCF5C0) # Nicolas Fella <nicolas.fella at kdab.com>
+
+prepare() {
+  mkdir -p build
+
+  cd $pkgname-kde-$pkgver
+  patch -p1 -i ../kdeconnect-openssh-8.2.patch # Fix file browsing with openssh 8.2
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-kde-$pkgver \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_LIBEXECDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Added: kdeconnect/trunk/kdeconnect-openssh-8.2.patch
===================================================================
--- kdeconnect/trunk/kdeconnect-openssh-8.2.patch	                        (rev 0)
+++ kdeconnect/trunk/kdeconnect-openssh-8.2.patch	2020-03-20 13:51:27 UTC (rev 377963)
@@ -0,0 +1,12 @@
+diff --git a/plugins/sftp/mounter.cpp b/plugins/sftp/mounter.cpp
+index fca9907c..f673c9f7 100644
+--- a/plugins/sftp/mounter.cpp
++++ b/plugins/sftp/mounter.cpp
+@@ -145,6 +145,7 @@ void Mounter::onPackageReceived(const NetworkPacket& np)
+         << QStringLiteral("-o") << QStringLiteral("reconnect")
+         << QStringLiteral("-o") << QStringLiteral("ServerAliveInterval=30")
+         << QStringLiteral("-o") << QStringLiteral("password_stdin")
++        << QStringLiteral("-o") << QStringLiteral("KexAlgorithms=+diffie-hellman-group14-sha1")
+         ;
+ 
+     m_proc->setProgram(program, arguments);



More information about the arch-commits mailing list