/[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.2 - (hide annotations) (download)
Fri Aug 10 21:51:13 2012 UTC (20 months ago) by blueness
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable ppc, bug #429042

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 pesa 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 blueness 1.2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/qscintilla-2.6.2.ebuild,v 1.1 2012/06/27 13:31:54 pesa Exp $
4 pesa 1.1
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 blueness 1.2 KEYWORDS="~alpha ~amd64 ~ia64 ppc ~ppc64 ~sparc ~x86"
18 pesa 1.1 IUSE="doc python"
19    
20     DEPEND="
21     x11-libs/qt-core:4
22     x11-libs/qt-gui: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