| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=5 |
| |
| PYTHON_COMPAT=( python2_7 ) |
| inherit python-single-r1 kde4-base |
| |
| DESCRIPTION="A tool to create interactive applets for the KDE desktop" |
| HOMEPAGE="https://www.kde.org/applications/utilities/superkaramba |
| https://utils.kde.org/projects/superkaramba" |
| KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux" |
| IUSE="debug python" |
| |
| REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
| |
| DEPEND=" |
| media-libs/qimageblitz |
| x11-libs/libX11 |
| x11-libs/libXrender |
| python? ( |
| ${PYTHON_DEPS} |
| $(add_kdebase_dep pykde4 "${PYTHON_USEDEP}") |
| ) |
| " |
| RDEPEND="${DEPEND} |
| python? ( $(add_kdebase_dep krosspython "${PYTHON_USEDEP}") ) |
| " |
| |
| pkg_setup() { |
| use python && python-single-r1_pkg_setup |
| kde4-base_pkg_setup |
| } |
| |
| src_configure() { |
| local mycmakeargs=( |
| $(cmake-utils_use_with python PythonLibs) |
| ) |
| |
| kde4-base_src_configure |
| } |