New package: kdeconnect-1.2

Closes: #9966 [via git-merge-pr]
This commit is contained in:
Yuxuan Shui 2017-12-13 06:41:29 -05:00 committed by Jürgen Buchmüller
parent 091d8e8888
commit 5c45e50899
3 changed files with 40 additions and 0 deletions

View File

@ -2989,3 +2989,6 @@ librpmsign.so.7 rpm-4.13.0.2_1
librpmbuild.so.7 rpm-4.13.0.2_1
librpmio.so.7 rpm-4.13.0.2_1
libexecinfo.so.1 libexecinfo-1.1_1
libkdeconnectpluginkcm.so.1 kdeconnect-1.2_1
libkdeconnectinterfaces.so.1 kdeconnect-1.2_1
libkdeconnectcore.so.1 kdeconnect-1.2_1

View File

@ -0,0 +1,21 @@
--- core/core_debug.cpp 2017-09-18 14:49:46.000000000 -0400
+++ core/core_debug.cpp 2017-12-13 04:51:52.296660144 -0500
@@ -22,7 +22,8 @@
Q_LOGGING_CATEGORY(KDECONNECT_CORE, "kdeconnect.core")
-#ifdef Q_OS_LINUX
+#include <features.h>
+#ifdef __GLIBC__
#include <execinfo.h>
#include <stdlib.h>
#include <unistd.h>
@@ -30,7 +31,7 @@
void logBacktrace()
{
-#ifdef Q_OS_LINUX
+#ifdef __GLIBC__
void* array[32];
size_t size = backtrace (array, 32);
char** strings = backtrace_symbols (array, size);

View File

@ -0,0 +1,16 @@
# Template file for 'kdeconnect'
pkgname=kdeconnect
version=1.2
revision=1
wrksrc=kdeconnect-kde-${version}
#create_wrksrc=yes
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-host-tools pkg-config"
makedepends="kcmutils-devel qca-qt5-devel frameworkintegration-devel qt5-declarative-devel libfakekey-devel "
depends="kde-cli-tools qca-qt5-ossl"
short_desc="A multi-platform app that allows your devices to communicate"
maintainer="Yuxuan Shui <yshuiv7@gmail.com>"
license="GPL-2"
homepage="https://github.com/KDE/kdeconnect-kde"
distfiles="https://github.com/KDE/kdeconnect-kde/archive/v${version}.tar.gz"
checksum=09ce31ef8b91751dca4708b94a7bf0aa74c5b4f0935dafb2d1b97b1749cca78a