You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdeconnect/kdeconnect-0.7.3.ebuild,v 1.4 2015/02/02 14:44:04 kensington Exp $
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
MY_PN=${PN}-kde
|
|
|
|
DECLARATIVE_REQUIRED="always"
|
|
|
|
KDE_LINGUAS="bg bs ca cs da de es fi fr gl hu it ja ko lt nl pl pt pt_BR ro ru sk sv tr uk"
|
|
|
|
|
|
|
|
inherit kde4-base
|
|
|
|
|
|
|
|
if [[ ${KDE_BUILD_TYPE} != live ]]; then
|
|
|
|
MY_P=${MY_PN}-${PV}
|
|
|
|
SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${MY_P}.tar.xz"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
else
|
|
|
|
EGIT_REPO_URI="git://anongit.kde.org/${MY_PN}"
|
|
|
|
KEYWORDS=""
|
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="Adds communication between KDE and your smartphone"
|
|
|
|
HOMEPAGE="http://www.kde.org/"
|
|
|
|
|
|
|
|
LICENSE="GPL-2+"
|
|
|
|
SLOT="4"
|
|
|
|
IUSE="debug"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
app-crypt/qca:2[qt4(+)]
|
|
|
|
dev-libs/qjson
|
|
|
|
x11-libs/libfakekey
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}
|
|
|
|
$(add_kdebase_dep plasma-workspace)
|
|
|
|
|| ( app-crypt/qca-ossl:2 app-crypt/qca:2[openssl] )
|
|
|
|
"
|
|
|
|
|
|
|
|
[[ ${KDE_BUILD_TYPE} != live ]] && S=${WORKDIR}/${MY_P}
|
|
|
|
|
|
|
|
src_prepare(){
|
|
|
|
sed -i -e "s:QtCrypto/QtCrypto:QtCrypto:" core/networkpackage.cpp || die
|
|
|
|
kde4-base_src_prepare
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst(){
|
|
|
|
elog
|
|
|
|
elog "Optional dependency:"
|
|
|
|
elog "sys-fs/sshfs-fuse (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
|
|
|
|
}
|