Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdeconnect/
Date: Thu, 31 May 2018 13:24:36
Message-Id: 1527773056.d866de000dade476b5e9f036b5d46965c566d833.asturm@gentoo
1 commit: d866de000dade476b5e9f036b5d46965c566d833
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 31 13:22:27 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu May 31 13:24:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d866de00
7
8 kde-misc/kdeconnect: 1.3.1 version bump
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 kde-misc/kdeconnect/Manifest | 1 +
13 kde-misc/kdeconnect/kdeconnect-1.3.1.ebuild | 89 +++++++++++++++++++++++++++++
14 kde-misc/kdeconnect/metadata.xml | 1 +
15 3 files changed, 91 insertions(+)
16
17 diff --git a/kde-misc/kdeconnect/Manifest b/kde-misc/kdeconnect/Manifest
18 index eb7f159adfc..1c7659d3606 100644
19 --- a/kde-misc/kdeconnect/Manifest
20 +++ b/kde-misc/kdeconnect/Manifest
21 @@ -1,2 +1,3 @@
22 DIST kdeconnect-kde-1.3.0.tar.xz 281972 BLAKE2B 62e8b59bc661be7a17ef4e160411dff2150ea8639f69388f32453d3b0066ebc7333987b7df31241eac7d95b994f91347432226ef7f5d7bb864b87108fb974544 SHA512 837f6129393fc1e6d68c1c0cc7eea244bc1702fa4beb9bfc764d001077a890ff7c9a954de738ccabb3369f1a9a08325300514eecdbced939ad8e8b360a4b2045
23 +DIST kdeconnect-kde-1.3.1.tar.xz 283636 BLAKE2B 8790ff2f411539db6759ddcad6a9401b2769c7c02f7a0465e0141f10eb6b5675fa56ac89bce94ae02326ce6eb13911f0b97684660df05195df596c1848d1f219 SHA512 52157dc7c7c3caec9871e9feb69c7aa8b82738fa5d4e60bb7492a9ded672351fbb6773ebf166281da9e585798583c1b23ac52bfd60927bb606472b19c5dc8538
24 DIST kdeconnect-kde-v1.2.1.tar.xz 278612 BLAKE2B a0803f34232eca16baf2c00ea96ccc33be8c631b40041aa6cfffab933ba984ff95639ae3103bd6499583ac6ba0c8e70f50bd6db30ff3d50f93a5d9e232dec303 SHA512 d336350ce1698d1fc2aa2ee02a4fec9c7ce5eedbf346ec40d502f7b5c1c555a370f09a65d88d70ece09c4a7bcf240921df31f803215afce657c9b4cb113baa58
25
26 diff --git a/kde-misc/kdeconnect/kdeconnect-1.3.1.ebuild b/kde-misc/kdeconnect/kdeconnect-1.3.1.ebuild
27 new file mode 100644
28 index 00000000000..e5896a909ec
29 --- /dev/null
30 +++ b/kde-misc/kdeconnect/kdeconnect-1.3.1.ebuild
31 @@ -0,0 +1,89 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +KDE_HANDBOOK="forceoptional"
38 +KDE_TEST="true"
39 +KMNAME="${PN}-kde"
40 +KDE_SELINUX_MODULE="${PN}"
41 +inherit kde5
42 +
43 +if [[ ${KDE_BUILD_TYPE} = release ]]; then
44 + SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${KMNAME}-${PV}.tar.xz"
45 + KEYWORDS="~amd64 ~x86"
46 +fi
47 +
48 +DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
49 +HOMEPAGE="https://www.kde.org/ https://community.kde.org/KDEConnect"
50 +LICENSE="GPL-2+"
51 +IUSE="app mousepad wayland"
52 +
53 +DEPEND="
54 + $(add_frameworks_dep kcmutils)
55 + $(add_frameworks_dep kconfig)
56 + $(add_frameworks_dep kconfigwidgets)
57 + $(add_frameworks_dep kcoreaddons)
58 + $(add_frameworks_dep kdbusaddons)
59 + $(add_frameworks_dep ki18n)
60 + $(add_frameworks_dep kiconthemes)
61 + $(add_frameworks_dep kio)
62 + $(add_frameworks_dep knotifications)
63 + $(add_frameworks_dep kservice)
64 + $(add_frameworks_dep kwidgetsaddons)
65 + $(add_qt_dep qtdbus)
66 + $(add_qt_dep qtdeclarative)
67 + $(add_qt_dep qtgui)
68 + $(add_qt_dep qtnetwork)
69 + $(add_qt_dep qtwidgets)
70 + $(add_qt_dep qtx11extras)
71 + >=app-crypt/qca-2.1.0:2[qt5(+),ssl]
72 + app? ( $(add_frameworks_dep kdeclarative) )
73 + mousepad? (
74 + x11-libs/libfakekey
75 + x11-libs/libX11
76 + x11-libs/libXtst
77 + )
78 + wayland? ( $(add_frameworks_dep kwayland) )
79 +"
80 +RDEPEND="${DEPEND}
81 + app? ( $(add_frameworks_dep kirigami) )
82 + wayland? ( $(add_plasma_dep kwin) )
83 + !kde-misc/kdeconnect:4
84 +"
85 +
86 +RESTRICT+=" test"
87 +
88 +PATCHES=( "${FILESDIR}/${PN}-1.3.0-no-wayland.patch" )
89 +
90 +src_prepare() {
91 + kde5_src_prepare
92 +
93 + sed \
94 + -e 's#${LIBEXEC_INSTALL_DIR}#@KDE_INSTALL_FULL_LIBEXECDIR@#' \
95 + -i daemon/kdeconnectd.desktop.cmake || die
96 +}
97 +
98 +src_configure() {
99 + local mycmakeargs=(
100 + -DEXPERIMENTALAPP_ENABLED=$(usex app)
101 + $(cmake-utils_use_find_package mousepad LibFakeKey)
102 + $(cmake-utils_use_find_package wayland KF5Wayland)
103 + )
104 +
105 + kde5_src_configure
106 +}
107 +
108 +pkg_postinst(){
109 + kde5_pkg_postinst
110 +
111 + elog
112 + elog "Optional dependency:"
113 + elog "net-fs/sshfs (for 'remote filesystem browser' plugin)"
114 + elog
115 + elog "The Android .apk file is available via"
116 + elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
117 + elog "or via"
118 + elog "https://f-droid.org/repository/browse/?fdid=org.kde.kdeconnect_tp"
119 + elog
120 +}
121
122 diff --git a/kde-misc/kdeconnect/metadata.xml b/kde-misc/kdeconnect/metadata.xml
123 index 320dfa65998..ccae5861e28 100644
124 --- a/kde-misc/kdeconnect/metadata.xml
125 +++ b/kde-misc/kdeconnect/metadata.xml
126 @@ -7,6 +7,7 @@
127 </maintainer>
128 <use>
129 <flag name="app">Enable experimental kcapp frontend</flag>
130 + <flag name="mousepad">Enable remote mousepad plugin using <pkg>x11-libs/libfakekey</pkg></flag>
131 <flag name="sms">Enable SMS support using <pkg>kde-frameworks/kpeople</pkg></flag>
132 <flag name="wayland">Enable kwin_wayland support for mousepad plugin using <pkg>kde-frameworks/kwayland</pkg></flag>
133 </use>