summaryrefslogtreecommitdiff
path: root/dev-util/kdevelop-qmake/kdevelop-qmake-9999.ebuild
blob: a5aec437d6b79cabd6e6d19d2f0afdc7da0516ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

KMNAME="kdev-qmake"
inherit kde4-base

DESCRIPTION="Adds suppport for qmake projects to kdevelop."
HOMEPAGE="http://www.kdevelop.org"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS=""
IUSE="tools"

RESTRICT="test" #Tests fail, and we usually don't want to run tests on live
				#versions anyway
DEPEND="
	dev-util/kdevelop
	>=dev-util/kdevplatform-1.3.60
	dev-util/kdevelop-pg-qt
"
RDEPEND="${DEPEND}"

src_configure() {
	mycmakeargs=(
		$(cmake-utils_use_build tools qmake_parser)
	)
	kde4-base_src_configure
}

src_install() {
	kde4-base_src_install
	#Move this file to prevent a collision with kappwizard
	mv "${D}"/usr/share/apps/kdevappwizard/templates/qmake_qt4guiapp.tar.bz2 "${D}"/usr/share/apps/kdevappwizard/templates/kdevelop-qmake_qt4guiapp.tar.bz2
}