# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 KDE_LINGUAS="ar bg bs ca ca@valencia cs da de el en_GB eo es et fa fi fr ga gl hr hu is it ja km ko lt lv mai mr ms nb nds nl nn pa pl pt pt_BR ro ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv th tr ug uk zh_CN zh_TW" DECLARATIVE_REQUIRED="always" inherit kde4-base if [[ ${KDE_BUILD_TYPE} != live ]]; then KEYWORDS="amd64 x86" SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" else KEYWORDS="" fi DESCRIPTION="KDE Plasma applet for NetworkManager" HOMEPAGE="https://projects.kde.org/projects/playground/network/plasma-nm" LICENSE="GPL-2 LGPL-2.1" SLOT="4" IUSE="debug modemmanager openconnect" RDEPEND=" >=net-libs/libnm-qt-0.9.8.2[modemmanager?] net-misc/mobile-broadband-provider-info >=net-misc/networkmanager-0.9.8.0 modemmanager? ( >=net-libs/libmm-qt-1.0.0 ) openconnect? ( net-misc/networkmanager-openconnect net-misc/openconnect:= ) !kde-misc/networkmanagement " DEPEND="${RDEPEND} sys-devel/gettext " PATCHES=( "${FILESDIR}/${P}-networkmanager-1.0.6.patch" ) src_configure() { local mycmakeargs=( $(cmake-utils_use !modemmanager DISABLE_MODEMMANAGER_SUPPORT) $(cmake-utils_use_find_package openconnect OpenConnect) ) kde4-base_src_configure }