forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST kdeconnect-kde-0.8.tar.xz 141916 SHA256 c33611c076a327a67f9974ffa5662f2c093dda6ad14024e434027f9f19d9a0ab SHA512 7c7c460648960dde501596c85282eddd4d9add3b1be291b6d22a75f316cce6cdee0015d81b275eaa7c66758dcf16fa21da1be9b79f12b68c76bad343eef7250e WHIRLPOOL 0d302b4c6005100db9bc44ca590ee330bc6f432af02bfd1d2f27b367f38b6d4993828a3726c2bf3acaafcaa00c1724a9592ee8a652152f6b811923c351d3f499 | ||
DIST kdeconnect-kde-0.9g.tar.xz 183632 SHA256 4033754057bbc993b1d4350959afbe1d17a4f1e56dd60c6df6abca5a321ee1b8 SHA512 39c857d139563806d0805409dce3f2bec3d776d23b3228ff72f3878717eed4558990e1b0b4055728b7643956e73994329960caea9e348dccfb6645a7b0f68445 WHIRLPOOL 9c41faff4f6b171af9e74a867c7b665b82e29d28a743cb4aef3ce44beb5463c09567a82be89fe3472748b99608444790b79725248b4c24b9d7cd677930061452 | ||
DIST kdeconnect-kde-1.0.1.tar.xz 218652 SHA256 553bcc338b62e00fc9f98152e6dfe21d95f5e7eb6109a4e5b5900274a7b4e102 SHA512 965abf99b6c0a6a345209d8bbf0a4ae2117228280516e8b36615ae52d5a66822b6371dca84208d7f03d183ecb0829b497a60d0ab330eb29528c73d4c5639ce87 WHIRLPOOL 03578830833f6b95f4df41da4f78aaf9dec2206bacff64af49e1642064661d527f22ff9e3a198f678d23d28cf3f2d2ef5bb50f593ac293de693229367e27ad13 | ||
DIST kdeconnect-kde-1.0.tar.xz 217672 SHA256 207faf0bb8174d15cc0b04ef5eeacb86db21dd941a645dbf3f6c2ac301c7a85d SHA512 29d9501c35a2b081d9be2dfff6d12ea0fcffe9a14162636ee778d7eb717de575221dde058334649614e65757853e521b85fa1f459e564e096a4407ff698696a9 WHIRLPOOL faf37cad7ff06643c72fadaa0df48d207ec474908abd4dfe66fd53724bec319fbc918fcec64d59d869408503ae3e2fc93be3dbc4b961c6e0f1a90ea308729670 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
KDE_HANDBOOK="optional" | ||
KDE_TEST="true" | ||
KMNAME="${PN}-kde" | ||
inherit kde5 | ||
|
||
DESCRIPTION="Adds communication between KDE 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 +telepathy 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,openssl] | ||
x11-libs/libfakekey | ||
x11-libs/libX11 | ||
x11-libs/libXtst | ||
app? ( $(add_frameworks_dep kdeclarative) ) | ||
telepathy? ( >=net-libs/telepathy-qt-0.9.7[qt5] ) | ||
wayland? ( $(add_frameworks_dep kwayland '' 5.5.5) ) | ||
" | ||
RDEPEND="${DEPEND} | ||
$(add_plasma_dep plasma-workspace) | ||
wayland? ( $(add_plasma_dep kwin) ) | ||
!kde-misc/kdeconnect:4 | ||
" | ||
|
||
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 telepathy TelepathyQt5) | ||
$(cmake-utils_use_find_package telepathy TelepathyQt5Service) | ||
$(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 | ||
} |