Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/qscintilla: qscintilla-2.4.2-r1.ebuild ChangeLog
Date: Mon, 01 Feb 2010 17:44:27
Message-Id: E1Nc0Jw-0006vX-OP@stork.gentoo.org
1 hwoarang 10/02/01 17:44:20
2
3 Modified: ChangeLog
4 Added: qscintilla-2.4.2-r1.ebuild
5 Log:
6 Revbump which changes installation paths according to upstream recommendations. Thanks to Davide Pesavento
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.43 x11-libs/qscintilla/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/ChangeLog?rev=1.43&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/ChangeLog?rev=1.43&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/ChangeLog?r1=1.42&r2=1.43
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v
19 retrieving revision 1.42
20 retrieving revision 1.43
21 diff -u -r1.42 -r1.43
22 --- ChangeLog 21 Jan 2010 21:14:38 -0000 1.42
23 +++ ChangeLog 1 Feb 2010 17:44:20 -0000 1.43
24 @@ -1,6 +1,13 @@
25 # ChangeLog for x11-libs/qscintilla
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v 1.42 2010/01/21 21:14:38 hwoarang Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v 1.43 2010/02/01 17:44:20 hwoarang Exp $
29 +
30 +*qscintilla-2.4.2-r1 (01 Feb 2010)
31 +
32 + 01 Feb 2010; Markos Chandras <hwoarang@g.o>
33 + +qscintilla-2.4.2-r1.ebuild:
34 + Revbump which changes installation paths according to upstream
35 + recommendations. Thanks to Davide Pesavento
36
37 *qscintilla-2.4.2 (21 Jan 2010)
38
39
40
41
42 1.1 x11-libs/qscintilla/qscintilla-2.4.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/qscintilla-2.4.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/qscintilla-2.4.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: qscintilla-2.4.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/qscintilla-2.4.2-r1.ebuild,v 1.1 2010/02/01 17:44:20 hwoarang Exp $
52
53 EAPI="2"
54
55 inherit qt4-r2
56
57 MY_P="QScintilla-gpl-${PV/_pre/-snapshot-}"
58
59 DESCRIPTION="A Qt port of Neil Hodgson's Scintilla C++ editor class"
60 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
61 SRC_URI="http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/${MY_P}.tar.gz"
62
63 LICENSE="|| ( GPL-2 GPL-3 )"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 IUSE="doc python"
67
68 DEPEND="x11-libs/qt-gui:4"
69 RDEPEND="${DEPEND}"
70 PDEPEND="python? ( ~dev-python/qscintilla-python-${PV} )"
71
72 S=${WORKDIR}/${MY_P}
73
74 PATCHES=( "${FILESDIR}/${PN}-2.4-designer.patch" )
75
76 src_configure() {
77 cd "${S}"/Qt4
78 einfo "Configuring qscintilla"
79 eqmake4 qscintilla.pro
80
81 cd "${S}"/designer-Qt4
82 einfo "Configuring designer plugin"
83 eqmake4 designer.pro
84 }
85
86 src_compile() {
87 cd "${S}"/Qt4
88 einfo "Building qscintilla"
89 emake || die "failed to build qscintilla"
90
91 cd "${S}"/designer-Qt4
92 einfo "Building designer plugin"
93 emake || die "failed to build designer plugin"
94 }
95
96 src_install() {
97 cd "${S}"/Qt4
98 einfo "Installing qscintilla"
99 emake INSTALL_ROOT="${D}" install || die "failed to install qscintilla"
100
101 cd "${S}"/designer-Qt4
102 einfo "Installing designer plugin"
103 emake INSTALL_ROOT="${D}" install || die "failed to install designer plugin"
104
105 cd "${S}"
106 dodoc ChangeLog NEWS
107 if use doc; then
108 einfo "Installing documentation"
109 dohtml doc/html-Qt4/* || die
110 insinto /usr/share/doc/${PF}/Scintilla
111 doins doc/Scintilla/* || die
112 fi
113 }