kde-misc/kdeconnect: Version bump 1.2
authorJohannes Huber <johu@gentoo.org>
Tue, 19 Sep 2017 17:18:58 +0000 (19:18 +0200)
committerJohannes Huber <johu@gentoo.org>
Tue, 19 Sep 2017 17:19:07 +0000 (19:19 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

kde-misc/kdeconnect/Manifest
kde-misc/kdeconnect/kdeconnect-1.2.ebuild [new file with mode: 0644]

index 71fdbce4c03fc69bbdb4f1d40eed3f960ec8762a..3c52a413ebe5554557c8cf1005466c0398004b17 100644 (file)
@@ -1 +1,2 @@
 DIST kdeconnect-kde-1.0.3.tar.xz 230464 SHA256 221f61b77284453e2c32865700c82deb50e3c0e11f4197c2c7ecf0a60420802c SHA512 b24acd75c05aab4638aa16ff7314dd68634fab4f9708124e8947960c92a6a4cfe66d47dd3575f89822771267319bfce124fcee752ea65951b49b55f8aa026937 WHIRLPOOL 2363a74535efb44dfc8f621c25d2cafd7daf9ab6714855d979b5bcd980a632c50e5faeef48f13a9642313480ae107f89295916fdb5098cb5d5098ab3d463fc66
+DIST kdeconnect-kde-1.2.tar.xz 263800 SHA256 5e8528a6758c64e884a787d661fc3ea38970e62e4540463238ad9a6c1b6d7970 SHA512 3cb65abaec6938905ccdb5ebab8ed831b2542dcd945516481e67d32eaa7ddb0f8aa9a1f58c3955989372bc5a57e7012bc20f30fd1b76768d6b6f2179dbabe4ef WHIRLPOOL bec2ef1d4cddd3c0819cd3b9b6cc616fd947745ee9bb3617aa1183f4e90e06d45bb1a8c6db0391dc83268f9e0e574d391caa8770439d7eb7220a8a6f8d3ac032
diff --git a/kde-misc/kdeconnect/kdeconnect-1.2.ebuild b/kde-misc/kdeconnect/kdeconnect-1.2.ebuild
new file mode 100644 (file)
index 0000000..1cf1b6c
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="optional"
+KDE_TEST="true"
+KMNAME="${PN}-kde"
+KDE_SELINUX_MODULE="${PN}"
+FRAMEWORKS_MINIMAL="5.38.0"
+inherit kde5
+
+DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
+HOMEPAGE="https://www.kde.org/ https://community.kde.org/KDEConnect"
+SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${KMNAME}-${PV}.tar.xz"
+
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~x86"
+IUSE="app wayland"
+
+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]
+       x11-libs/libfakekey
+       x11-libs/libX11
+       x11-libs/libXtst
+       app? ( $(add_frameworks_dep kdeclarative) )
+       wayland? ( $(add_frameworks_dep kwayland) )
+"
+RDEPEND="${DEPEND}
+       $(add_plasma_dep plasma-workspace)
+       app? ( $(add_frameworks_dep kirigami '' 2.2.0) )
+       wayland? ( $(add_plasma_dep kwin) )
+       !kde-misc/kdeconnect:4
+"
+
+RESTRICT+=" test"
+
+src_prepare() {
+       sed \
+               -e 's#${LIBEXEC_INSTALL_DIR}#@KDE_INSTALL_FULL_LIBEXECDIR@#' \
+               -i daemon/kdeconnectd.desktop.cmake || die
+
+       kde5_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DEXPERIMENTALAPP_ENABLED=$(usex app)
+               $(cmake-utils_use_find_package wayland KF5Wayland)
+       )
+
+       kde5_src_configure
+}
+
+pkg_postinst(){
+       kde5_pkg_postinst
+
+       elog
+       elog "Optional dependency:"
+       elog "net-fs/sshfs (for 'remote filesystem browser' plugin)"
+       elog
+       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"
+       elog
+}