# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=4 inherit leechcraft DESCRIPTION="LeechCraft plugin for supporting and managing Internet data storages like Yandex.Disk" SLOT="0" KEYWORDS="amd64 x86" IUSE="+googledrive +yandexdisk" DEPEND="~app-leechcraft/lc-core-${PV} googledrive? ( dev-libs/qjson sys-apps/file )" RDEPEND="${DEPEND}" src_configure(){ local mycmakeargs=( $(cmake-utils_use_enable googledrive NETSTOREMANAGER_GOOGLEDRIVE) $(cmake-utils_use_enable yandexdisk NETSTOREMANAGER_YANDEXDISK) ) cmake-utils_src_configure }