From: | "Davide Pesavento (pesa)" <pesa@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-libs/qscintilla: qscintilla-2.8-r1.ebuild ChangeLog qscintilla-2.8.ebuild |
Date: | Mon, 30 Dec 2013 02:02:50 |
Message-Id: | 20131230020246.B88892004C@flycatcher.gentoo.org |
1 | pesa 13/12/30 02:02:46 |
2 | |
3 | Modified: ChangeLog |
4 | Added: qscintilla-2.8-r1.ebuild |
5 | Removed: qscintilla-2.8.ebuild |
6 | Log: |
7 | Remove pointless USE flag 'python'. |
8 | |
9 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 17A85C72) |
10 | |
11 | Revision Changes Path |
12 | 1.98 x11-libs/qscintilla/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qscintilla/ChangeLog?rev=1.98&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qscintilla/ChangeLog?rev=1.98&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qscintilla/ChangeLog?r1=1.97&r2=1.98 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v |
21 | retrieving revision 1.97 |
22 | retrieving revision 1.98 |
23 | diff -u -r1.97 -r1.98 |
24 | --- ChangeLog 24 Dec 2013 19:21:54 -0000 1.97 |
25 | +++ ChangeLog 30 Dec 2013 02:02:46 -0000 1.98 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for x11-libs/qscintilla |
28 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v 1.97 2013/12/24 19:21:54 pesa Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v 1.98 2013/12/30 02:02:46 pesa Exp $ |
31 | + |
32 | +*qscintilla-2.8-r1 (30 Dec 2013) |
33 | + |
34 | + 30 Dec 2013; Davide Pesavento <pesa@g.o> +qscintilla-2.8-r1.ebuild, |
35 | + -qscintilla-2.8.ebuild: |
36 | + Remove pointless USE flag 'python'. |
37 | |
38 | 24 Dec 2013; Davide Pesavento <pesa@g.o> |
39 | -files/qscintilla-2.6.2-designer.patch, -qscintilla-2.6.2.ebuild: |
40 | |
41 | |
42 | |
43 | 1.1 x11-libs/qscintilla/qscintilla-2.8-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qscintilla/qscintilla-2.8-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qscintilla/qscintilla-2.8-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: qscintilla-2.8-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2013 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/qscintilla-2.8-r1.ebuild,v 1.1 2013/12/30 02:02:46 pesa Exp $ |
53 | |
54 | EAPI=5 |
55 | |
56 | inherit qt4-r2 |
57 | |
58 | MY_P=QScintilla-gpl-${PV} |
59 | |
60 | DESCRIPTION="A Qt port of Neil Hodgson's Scintilla C++ editor class" |
61 | HOMEPAGE="http://www.riverbankcomputing.co.uk/software/qscintilla/intro" |
62 | SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz" |
63 | |
64 | LICENSE="|| ( GPL-2 GPL-3 )" |
65 | SLOT="0/11" |
66 | KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
67 | IUSE="doc" |
68 | |
69 | DEPEND=" |
70 | >=dev-qt/designer-4.8.5:4 |
71 | >=dev-qt/qtcore-4.8.5:4 |
72 | >=dev-qt/qtgui-4.8.5:4 |
73 | " |
74 | RDEPEND="${DEPEND}" |
75 | |
76 | S=${WORKDIR}/${MY_P} |
77 | |
78 | PATCHES=( |
79 | "${FILESDIR}/${PN}-2.7.1-designer.patch" |
80 | ) |
81 | |
82 | src_unpack() { |
83 | qt4-r2_src_unpack |
84 | |
85 | # Sub-slot sanity check |
86 | local subslot=${SLOT#*/} |
87 | local version=$(sed -nre 's:.*VERSION\s*=\s*([0-9\.]+):\1:p' "${S}"/Qt4Qt5/qscintilla.pro) |
88 | local major=${version%%.*} |
89 | if [[ ${subslot} != ${major} ]]; then |
90 | eerror |
91 | eerror "Ebuild sub-slot (${subslot}) does not match QScintilla major version (${major})" |
92 | eerror "Please update SLOT variable as follows:" |
93 | eerror " SLOT=\"${SLOT%%/*}/${major}\"" |
94 | eerror |
95 | die "sub-slot sanity check failed" |
96 | fi |
97 | } |
98 | |
99 | src_configure() { |
100 | pushd Qt4Qt5 > /dev/null |
101 | einfo "Configuration of qscintilla" |
102 | eqmake4 qscintilla.pro |
103 | popd > /dev/null |
104 | |
105 | pushd designer-Qt4Qt5 > /dev/null |
106 | einfo "Configuration of designer plugin" |
107 | eqmake4 designer.pro |
108 | popd > /dev/null |
109 | } |
110 | |
111 | src_compile() { |
112 | pushd Qt4Qt5 > /dev/null |
113 | einfo "Building of qscintilla" |
114 | emake |
115 | popd > /dev/null |
116 | |
117 | pushd designer-Qt4Qt5 > /dev/null |
118 | einfo "Building of designer plugin" |
119 | emake |
120 | popd > /dev/null |
121 | } |
122 | |
123 | src_install() { |
124 | pushd Qt4Qt5 > /dev/null |
125 | einfo "Installation of qscintilla" |
126 | emake INSTALL_ROOT="${D}" install |
127 | popd > /dev/null |
128 | |
129 | pushd designer-Qt4Qt5 > /dev/null |
130 | einfo "Installation of designer plugin" |
131 | emake INSTALL_ROOT="${D}" install |
132 | popd > /dev/null |
133 | |
134 | dodoc NEWS |
135 | |
136 | if use doc; then |
137 | dohtml doc/html-Qt4Qt5/* |
138 | insinto /usr/share/doc/${PF} |
139 | doins -r doc/Scintilla |
140 | fi |
141 | } |