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.
gentoo-overlay/kde-base/kdebase-data/kdebase-data-4.9.2.ebuild

40 lines
1005 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-data/kdebase-data-4.9.2.ebuild,v 1.2 2012/10/17 20:01:22 maekke Exp $
EAPI=4
KMNAME="kde-runtime"
KMNOMODULE="true"
inherit kde4-meta
DESCRIPTION="Icons, localization data and various .desktop files from kdebase."
IUSE="+wallpapers"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
wallpapers? ( $(add_kdebase_dep kde-wallpapers) )
$(add_kdebase_dep oxygen-icons)
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
}