mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-10-29 03:57:05 -07:00
48 lines
1.2 KiB
Bash
48 lines
1.2 KiB
Bash
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
KDE_LINGUAS="bs ca ca@valencia da de el en_GB es et fi fr gl hu it kk nb nds nl
|
|
pl pt pt_BR ru sk sl sv th tr uk zh_CN zh_TW"
|
|
VIRTUALX_REQUIRED="test"
|
|
WEBKIT_REQUIRED="always"
|
|
inherit kde4-base
|
|
|
|
DESCRIPTION="Integrated Development Environment, supporting KDE/Qt, C/C++ and much more"
|
|
LICENSE="GPL-2 LGPL-2"
|
|
IUSE="+cmake +cxx debug okteta qthelp"
|
|
|
|
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
|
KEYWORDS="amd64 x86"
|
|
fi
|
|
|
|
DEPEND="
|
|
dev-libs/qjson
|
|
dev-qt/qtdeclarative:4[webkit]
|
|
okteta? ( $(add_kdeapps_dep okteta) )
|
|
qthelp? ( dev-qt/qthelp:4 )
|
|
"
|
|
RDEPEND="${DEPEND}
|
|
$(add_kdeapps_dep kapptemplate)
|
|
$(add_kdeapps_dep kdebase-kioslaves)
|
|
cxx? ( >=sys-devel/gdb-7.0[python] )
|
|
"
|
|
RESTRICT="test"
|
|
# see bug 366471
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DWITH_KDE4Workspace=OFF
|
|
$(cmake-utils_use_build cmake)
|
|
$(cmake-utils_use_build cmake cmakebuilder)
|
|
$(cmake-utils_use_build cxx cpp)
|
|
$(cmake-utils_use_with okteta LibKasten)
|
|
$(cmake-utils_use_with okteta LibOkteta)
|
|
$(cmake-utils_use_with okteta LibOktetaKasten)
|
|
$(cmake-utils_use_build qthelp)
|
|
)
|
|
|
|
kde4-base_src_configure
|
|
}
|