Added kdeconnect with sms support
This commit is contained in:
parent
f2065ba5e9
commit
50ef3911ae
4
kde-misc/kdeconnect/Manifest
Normal file
4
kde-misc/kdeconnect/Manifest
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
AUX kdeconnect-1.3.0-no-wayland.patch 523 BLAKE2B c29b58a3f1f97f09c67270f6b55f8122ccca834b979717bc1c5ad279675106acaa23da1d4a4a08dcc4194b6837cb5fce23ecfd12d5d8d1ed4adb8b4fdd077eae SHA512 68527f15ec3f0af14e33e857567c2fcc622f5dd5fc0652dc0af95e91dc5b96929df9db4961d9aa528be73b87e021877d7f6ee5894a2a195446a7235ca979b664
|
||||||
|
DIST kdeconnect-kde-1.3.4.tar.xz 286724 BLAKE2B bf3353c317ebbb98e770a1c408940cb4ff5884f1e4a6a7ec4add5e26edf280c723af60f05ece904e624035f214757a8c8b7aeda578479bb6626c848a02155ee3 SHA512 286620cd5ed8da7a0f237710467f12be41ae139b14127b7049ee72c8a7042f67b599b642eb7c3e10a3504f1df11f5a9778db80fba4ac2e2fcd2ab4e8cafccfb9
|
||||||
|
EBUILD kdeconnect-1.3.4-r1.ebuild 2189 BLAKE2B 14386ace77615ef597e8133c1e8dc216bc6b75a1e0caf44a9df8f92dd5e471cbd35df6a98bfa7d2f011f1c820e6d69af5dbaffb0dde1c0bdbbb31bc5761739db SHA512 b49fdc399f14f89413232d4e722b0e8ef0f50346edf8038d8d335b006f809954d0dc7897460aaa25c14a822068e0dcef94c0c4163636195dc93f852c96174a07
|
||||||
|
MISC metadata.xml 623 BLAKE2B b95947f50fb0f0aa5679d13d2607073550e3c83537d5de925e1e81cc15d39fb1f645cce25fc1c823a798fade2782e37ab38d84cb2bed323b9b09e8728d1006c5 SHA512 02d57320a6565390938e8704a1389c13e51f51524285ea6d9a422cf0cf9d4847326d281c58e75a301a987cb7c41db6b38b922e1623d5ca0fd1b96c9d66be0516
|
13
kde-misc/kdeconnect/files/kdeconnect-1.3.0-no-wayland.patch
Normal file
13
kde-misc/kdeconnect/files/kdeconnect-1.3.0-no-wayland.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/plugins/mousepad/CMakeLists.txt b/plugins/mousepad/CMakeLists.txt
|
||||||
|
index ab9913ff..bfd52cd7 100644
|
||||||
|
--- a/plugins/mousepad/CMakeLists.txt
|
||||||
|
+++ b/plugins/mousepad/CMakeLists.txt
|
||||||
|
@@ -10,7 +10,7 @@ if (LibFakeKey_FOUND)
|
||||||
|
find_package(X11 REQUIRED)
|
||||||
|
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS X11Extras)
|
||||||
|
endif()
|
||||||
|
-find_package(KF5 ${KF5_MIN_VERSION} COMPONENTS Wayland)
|
||||||
|
+find_package(KF5Wayland ${KF5_MIN_VERSION} QUIET)
|
||||||
|
|
||||||
|
set(HAVE_X11 ${LibFakeKey_FOUND})
|
||||||
|
set(HAVE_WAYLAND ${KF5Wayland_FOUND})
|
87
kde-misc/kdeconnect/kdeconnect-1.3.4-r1.ebuild
Normal file
87
kde-misc/kdeconnect/kdeconnect-1.3.4-r1.ebuild
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
KDE_HANDBOOK="forceoptional"
|
||||||
|
KDE_TEST="true"
|
||||||
|
KMNAME="${PN}-kde"
|
||||||
|
KDE_SELINUX_MODULE="${PN}"
|
||||||
|
inherit kde5
|
||||||
|
|
||||||
|
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||||
|
SRC_URI="mirror://kde/stable/${PN}/${PV}/${KMNAME}-${PV}.tar.xz"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
|
||||||
|
HOMEPAGE="https://kde.org/ https://community.kde.org/KDEConnect"
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
IUSE="app bluetooth mousepad wayland sms"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
$(add_frameworks_dep kcmutils)
|
||||||
|
$(add_frameworks_dep kconfig)
|
||||||
|
$(add_frameworks_dep kconfigwidgets)
|
||||||
|
$(add_frameworks_dep kcoreaddons)
|
||||||
|
$(add_frameworks_dep kdbusaddons)
|
||||||
|
$(add_frameworks_dep ki18n)
|
||||||
|
$(add_frameworks_dep kiconthemes)
|
||||||
|
$(add_frameworks_dep kio)
|
||||||
|
$(add_frameworks_dep knotifications)
|
||||||
|
$(add_frameworks_dep kservice)
|
||||||
|
$(add_frameworks_dep kwidgetsaddons)
|
||||||
|
$(add_qt_dep qtdbus)
|
||||||
|
$(add_qt_dep qtdeclarative)
|
||||||
|
$(add_qt_dep qtgui)
|
||||||
|
$(add_qt_dep qtnetwork)
|
||||||
|
$(add_qt_dep qtwidgets)
|
||||||
|
$(add_qt_dep qtx11extras)
|
||||||
|
>=app-crypt/qca-2.1.0:2[qt5(+),ssl]
|
||||||
|
app? ( $(add_frameworks_dep kdeclarative) )
|
||||||
|
bluetooth? ( $(add_qt_dep qtbluetooth) )
|
||||||
|
mousepad? (
|
||||||
|
x11-libs/libfakekey
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXtst
|
||||||
|
)
|
||||||
|
wayland? ( $(add_frameworks_dep kwayland) )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
net-fs/sshfs
|
||||||
|
app? ( $(add_frameworks_dep kirigami) )
|
||||||
|
!kde-misc/kdeconnect:4
|
||||||
|
"
|
||||||
|
|
||||||
|
RESTRICT+=" test"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}/${PN}-1.3.0-no-wayland.patch" )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
kde5_src_prepare
|
||||||
|
|
||||||
|
sed \
|
||||||
|
-e 's#${LIBEXEC_INSTALL_DIR}#@KDE_INSTALL_FULL_LIBEXECDIR@#' \
|
||||||
|
-i daemon/kdeconnectd.desktop.cmake || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DEXPERIMENTALAPP_ENABLED=$(usex app)
|
||||||
|
-DBLUETOOTH_ENABLED=$(usex bluetooth)
|
||||||
|
-DSMSAPP_ENABLED=$(usex sms)
|
||||||
|
$(cmake-utils_use_find_package mousepad LibFakeKey)
|
||||||
|
$(cmake-utils_use_find_package wayland KF5Wayland)
|
||||||
|
)
|
||||||
|
|
||||||
|
kde5_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst(){
|
||||||
|
kde5_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/repository/browse/?fdid=org.kde.kdeconnect_tp"
|
||||||
|
}
|
14
kde-misc/kdeconnect/metadata.xml
Normal file
14
kde-misc/kdeconnect/metadata.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>kde@gentoo.org</email>
|
||||||
|
<name>Gentoo KDE Project</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="app">Enable experimental kcapp frontend</flag>
|
||||||
|
<flag name="sms">Enable Pre-beta sms messaging app kdeconnect-sms</flag>
|
||||||
|
<flag name="mousepad">Enable remote mousepad plugin using <pkg>x11-libs/libfakekey</pkg></flag>
|
||||||
|
<flag name="wayland">Enable kwin_wayland support for mousepad plugin using <pkg>kde-frameworks/kwayland</pkg></flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user