| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=5 |
| |
| KMNAME="kde-runtime" |
| KMNOMODULE="true" |
| inherit kde4-meta |
| |
| DESCRIPTION="Icons, localization data and various .desktop files from kdebase" |
| IUSE="+wallpapers" |
| KEYWORDS="~amd64 ~x86" |
| |
| RDEPEND=" |
| wallpapers? ( || ( $(add_kdeapps_dep kde-wallpapers) >=kde-apps/kde-wallpapers-15.08.0:5 ) ) |
| x11-themes/hicolor-icon-theme |
| " |
| |
| KMEXTRA=" |
| l10n/ |
| localization/ |
| pics/ |
| " |
| # Note that the eclass doesn't do this for us, because of KMNOMODULE="true". |
| KMEXTRACTONLY=" |
| config-runtime.h.cmake |
| kde4 |
| " |
| |
| src_configure() { |
| # Remove remnants of hicolor-icon-theme |
| sed -e "s:add_subdirectory[[:space:]]*([[:space:]]*hicolor[[:space:]]*):#donotwant:g" \ |
| -i pics/CMakeLists.txt \ |
| || die "failed to remove remnants of hicolor-icon-theme" |
| |
| kde4-meta_src_configure |
| } |