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/dev-util/kdevelop/kdevelop-4.6.0.ebuild

52 lines
1.4 KiB

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-4.6.0.ebuild,v 1.2 2014/03/13 09:48:04 johu Exp $
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 uk zh_CN zh_TW"
VIRTUALX_REQUIRED=test
inherit kde4-base
DESCRIPTION="Integrated Development Environment for Unix, supporting KDE/Qt, C/C++ and many other languages."
LICENSE="GPL-2 LGPL-2"
IUSE="+cmake +cxx debug okteta qthelp"
SRC_URI="mirror://kde/stable/kdevelop/${KDEVELOP_VERSION}/src/${P}.tar.xz"
if [[ $PV == *9999* ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64 ~ppc ~x86"
fi
DEPEND="
dev-libs/qjson
>=dev-util/kdevplatform-${KDEVPLATFORM_VERSION}
$(add_kdebase_dep ksysguard)
$(add_kdebase_dep libkworkspace)
okteta? ( $(add_kdebase_dep okteta) )
qthelp? ( dev-qt/qthelp:4 )
"
RDEPEND="${DEPEND}
$(add_kdebase_dep kapptemplate)
dev-qt/qtdeclarative:4[webkit]
cxx? ( >=sys-devel/gdb-7.0[python] )
"
RESTRICT="test"
# see bug 366471
src_configure() {
mycmakeargs=(
$(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
}