/[gentoo-x86]/dev-util/kdevplatform/kdevplatform-1.3.1.ebuild
Gentoo

Contents of /dev-util/kdevplatform/kdevplatform-1.3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Thu Aug 23 06:03:02 2012 UTC (9 months ago) by xmw
Branch: MAIN
Changes since 1.3: +2 -2 lines
ppc stable (bug 418959).

(Portage version: 2.1.11.10/cvs/Linux x86_64)

1 johu 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 xmw 1.4 # $Header: /var/cvsroot/gentoo-x86/dev-util/kdevplatform/kdevplatform-1.3.1.ebuild,v 1.3 2012/06/05 13:15:02 johu Exp $
4 johu 1.1
5     EAPI=4
6    
7     KMNAME="kdevelop"
8     KDE_SCM="git"
9     KDE_MINIMAL="4.7"
10     VIRTUALX_REQUIRED=test
11     KDE_LINGUAS="bs ca ca@valencia da de el en_GB es et fi fr gl it nb nds nl pl pt
12     pt_BR ru sl sv th uk zh_CN zh_TW"
13     EGIT_REPONAME="${PN}"
14    
15     inherit kde4-base
16    
17     DESCRIPTION="KDE development support libraries and apps"
18     LICENSE="GPL-2 LGPL-2"
19     IUSE="cvs debug git reviewboard subversion"
20    
21     if [[ $PV == *9999 ]]; then
22     KEYWORDS=""
23     else
24 xmw 1.4 KEYWORDS="amd64 ppc ~ppc64 x86"
25 johu 1.1 fi
26    
27     # Moved to playground for now
28     # bazaar? ( dev-vcs/bzr )
29     # kompare? ( $(add_kdebase_dep kompare) )
30     # mercurial? ( dev-vcs/mercurial )
31     DEPEND="
32     dev-libs/boost
33     "
34     RDEPEND="${DEPEND}
35     !<dev-util/kdevelop-${KDEVELOP_VERSION}:4
36     $(add_kdebase_dep konsole)
37     cvs? ( dev-vcs/cvs )
38     git? ( dev-vcs/git )
39     reviewboard? ( dev-libs/qjson )
40     subversion? ( dev-vcs/subversion )
41     "
42    
43     src_prepare() {
44     kde4-base_src_prepare
45    
46     # FindKDevPlatform.cmake is installed by kdelibs
47     sed -i \
48     -e '/cmakeFiles/s/^/#DONOTINSTALL/' \
49     cmake/modules/CMakeLists.txt || die
50     }
51    
52     # Moved to playground for now
53     # $(cmake-utils_use_build bazaar)
54     # $(cmake-utils_use_with kompare)
55     # $(cmake-utils_use_build mercurial)
56     src_configure() {
57     mycmakeargs=(
58     $(cmake-utils_use_build cvs)
59     $(cmake-utils_use_build git)
60     $(cmake-utils_use_with reviewboard QJSON)
61     $(cmake-utils_use_build subversion)
62     $(cmake-utils_use_with subversion SubversionLibrary)
63     )
64    
65     kde4-base_src_configure
66     }
67    
68     # bug 276208
69     src_test() { : ; }

  ViewVC Help
Powered by ViewVC 1.1.13