summaryrefslogtreecommitdiff
path: root/dev-util/kdevplatform/kdevplatform-1.0.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/kdevplatform/kdevplatform-1.0.0.ebuild')
-rw-r--r--dev-util/kdevplatform/kdevplatform-1.0.0.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-util/kdevplatform/kdevplatform-1.0.0.ebuild b/dev-util/kdevplatform/kdevplatform-1.0.0.ebuild
new file mode 100644
index 00000000000..e55c5630b46
--- /dev/null
+++ b/dev-util/kdevplatform/kdevplatform-1.0.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+if [[ ${PV} != *9999* ]]; then
+ KDE_LINGUAS="ca ca@valencia da de en_GB es et fr gl it nds pt pt_BR sv tr uk zh_CN zh_TW"
+fi
+
+KMNAME="kdevelop"
+inherit kde4-base
+
+DESCRIPTION="KDE development support libraries and apps"
+
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="~amd64 ~x86"
+# Moved to playground for now
+# bazaar git kompare mercurial
+IUSE="cvs debug subversion"
+
+# Moved to playground for now
+# bazaar? ( dev-vcs/bzr )
+# kompare? ( >=kde-base/kompare-${KDE_MINIMAL} )
+# mercurial? ( dev-vcs/mercurial )
+# git? ( dev-vcs/git )
+# block - some plugins moved to kdevplatform from kdevelop
+DEPEND="
+ dev-libs/boost
+ cvs? ( dev-util/cvs )
+ subversion? ( >=dev-util/subversion-1.3 )
+"
+RDEPEND="${DEPEND}
+ !<dev-util/kdevelop-${KDEVELOP_VERSION}
+"
+
+src_prepare() {
+ kde4-base_src_prepare
+
+ # FindKDevPlatform.cmake is installed by kdelibs
+ sed -i \
+ -e '/cmakeFiles/s/^/#DONOTINSTALL/' \
+ cmake/modules/CMakeLists.txt || die
+}
+
+# Moved to playground for now
+# $(cmake-utils_use_build bazaar)
+# $(cmake-utils_use_build git)
+# $(cmake-utils_use_with kompare)
+# $(cmake-utils_use_build mercurial)
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_build cvs)
+ $(cmake-utils_use_build subversion)
+ $(cmake-utils_use_with subversion SubversionLibrary)
+ )
+
+ kde4-base_src_configure
+}