/[gentoo-x86]/x11-libs/qscintilla/qscintilla-2.6.2.ebuild
Gentoo

Contents of /x11-libs/qscintilla/qscintilla-2.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Tue Dec 24 19:21:54 2013 UTC (10 months, 4 weeks ago) by pesa
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/qscintilla-2.6.2.ebuild,v 1.9 2013/07/23 14:22:33 kensington Exp $
4
5 EAPI=4
6
7 inherit qt4-r2
8
9 MY_P=QScintilla-gpl-${PV}
10
11 DESCRIPTION="A Qt port of Neil Hodgson's Scintilla C++ editor class"
12 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
13 SRC_URI="http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/${MY_P}.tar.gz"
14
15 LICENSE="|| ( GPL-2 GPL-3 )"
16 SLOT="0"
17 KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
18 IUSE="doc python"
19
20 DEPEND="
21 dev-qt/qtcore:4
22 || ( ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) <dev-qt/qtgui-4.8.5:4 )
23 "
24 RDEPEND="${DEPEND}"
25 PDEPEND="python? ( ~dev-python/qscintilla-python-${PV} )"
26
27 S=${WORKDIR}/${MY_P}
28
29 PATCHES=(
30 "${FILESDIR}/${PN}-2.6.2-designer.patch"
31 )
32
33 src_configure() {
34 pushd Qt4Qt5 > /dev/null
35 einfo "Configuration of qscintilla"
36 eqmake4 qscintilla.pro
37 popd > /dev/null
38
39 pushd designer-Qt4 > /dev/null
40 einfo "Configuration of designer plugin"
41 eqmake4 designer.pro
42 popd > /dev/null
43 }
44
45 src_compile() {
46 pushd Qt4Qt5 > /dev/null
47 einfo "Building of qscintilla"
48 emake
49 popd > /dev/null
50
51 pushd designer-Qt4 > /dev/null
52 einfo "Building of designer plugin"
53 emake
54 popd > /dev/null
55 }
56
57 src_install() {
58 pushd Qt4Qt5 > /dev/null
59 einfo "Installation of qscintilla"
60 emake INSTALL_ROOT="${D}" install
61 popd > /dev/null
62
63 pushd designer-Qt4 > /dev/null
64 einfo "Installation of designer plugin"
65 emake INSTALL_ROOT="${D}" install
66 popd > /dev/null
67
68 dodoc NEWS
69
70 if use doc; then
71 dohtml doc/html-Qt4Qt5/*
72 insinto /usr/share/doc/${PF}
73 doins -r doc/Scintilla
74 fi
75 }

  ViewVC Help
Powered by ViewVC 1.1.20