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: Tue, 16 Oct 2018 09:06:56
Message-Id: 1539680771.e1c8f61d13f4bf1f089f047fee2c7eb0cbf41bd3.asturm@gentoo
1 commit: e1c8f61d13f4bf1f089f047fee2c7eb0cbf41bd3
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 16 08:01:30 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 16 09:06:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c8f61d
7
8 kde-misc/kdeconnect: 1.3.2 version bump
9
10 Closes: https://bugs.gentoo.org/666584
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.11
13
14 kde-misc/kdeconnect/Manifest | 1 +
15 kde-misc/kdeconnect/kdeconnect-1.3.2.ebuild | 87 +++++++++++++++++++++++++++++
16 2 files changed, 88 insertions(+)
17
18 diff --git a/kde-misc/kdeconnect/Manifest b/kde-misc/kdeconnect/Manifest
19 index 14cf9da03d3..a85b69cfb76 100644
20 --- a/kde-misc/kdeconnect/Manifest
21 +++ b/kde-misc/kdeconnect/Manifest
22 @@ -1 +1,2 @@
23 DIST kdeconnect-kde-1.3.1.tar.xz 283636 BLAKE2B 8790ff2f411539db6759ddcad6a9401b2769c7c02f7a0465e0141f10eb6b5675fa56ac89bce94ae02326ce6eb13911f0b97684660df05195df596c1848d1f219 SHA512 52157dc7c7c3caec9871e9feb69c7aa8b82738fa5d4e60bb7492a9ded672351fbb6773ebf166281da9e585798583c1b23ac52bfd60927bb606472b19c5dc8538
24 +DIST kdeconnect-kde-1.3.2.tar.xz 283892 BLAKE2B dcc2b1a4005d21b2165d9b43c78ca68d4109c6ee1ec698cc497f36c0fff482b302fa5c27a2027e58b364c878d1784e508017c36db6057a14d4d0c7a57d775151 SHA512 6ed1a831bf1d6ed8afa875185c54b453c3da9a35f386bfadf494ffe174fc58aa0e3fd1291bd4523bd9c954fc5319527761c249f453f6db879ac46fc185f354ac
25
26 diff --git a/kde-misc/kdeconnect/kdeconnect-1.3.2.ebuild b/kde-misc/kdeconnect/kdeconnect-1.3.2.ebuild
27 new file mode 100644
28 index 00000000000..cc8ac394d82
29 --- /dev/null
30 +++ b/kde-misc/kdeconnect/kdeconnect-1.3.2.ebuild
31 @@ -0,0 +1,87 @@
32 +# Copyright 1999-2018 Gentoo Authors
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 bluetooth 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 + bluetooth? ( $(add_qt_dep qtbluetooth) )
74 + mousepad? (
75 + x11-libs/libfakekey
76 + x11-libs/libX11
77 + x11-libs/libXtst
78 + )
79 + wayland? ( $(add_frameworks_dep kwayland) )
80 +"
81 +RDEPEND="${DEPEND}
82 + net-fs/sshfs
83 + app? ( $(add_frameworks_dep kirigami) )
84 + wayland? ( $(add_plasma_dep kwin) )
85 + !kde-misc/kdeconnect:4
86 +"
87 +
88 +RESTRICT+=" test"
89 +
90 +PATCHES=( "${FILESDIR}/${PN}-1.3.0-no-wayland.patch" )
91 +
92 +src_prepare() {
93 + kde5_src_prepare
94 +
95 + sed \
96 + -e 's#${LIBEXEC_INSTALL_DIR}#@KDE_INSTALL_FULL_LIBEXECDIR@#' \
97 + -i daemon/kdeconnectd.desktop.cmake || die
98 +}
99 +
100 +src_configure() {
101 + local mycmakeargs=(
102 + -DEXPERIMENTALAPP_ENABLED=$(usex app)
103 + -DBLUETOOTH_ENABLED=$(usex bluetooth)
104 + $(cmake-utils_use_find_package mousepad LibFakeKey)
105 + $(cmake-utils_use_find_package wayland KF5Wayland)
106 + )
107 +
108 + kde5_src_configure
109 +}
110 +
111 +pkg_postinst(){
112 + kde5_pkg_postinst
113 +
114 + elog "The Android .apk file is available via"
115 + elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
116 + elog "or via"
117 + elog "https://f-droid.org/repository/browse/?fdid=org.kde.kdeconnect_tp"
118 +}