Gentoo Archives: gentoo-commits

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.9.ebuild ChangeLog
Date: Thu, 30 Apr 2015 13:36:36
Message-Id: 20150430133626.12B7F992@oystercatcher.gentoo.org
1 pesa 15/04/30 13:36:24
2
3 Modified: ChangeLog
4 Added: qscintilla-2.9.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)
9
10 Revision Changes Path
11 1.110 x11-libs/qscintilla/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qscintilla/ChangeLog?rev=1.110&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qscintilla/ChangeLog?rev=1.110&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qscintilla/ChangeLog?r1=1.109&r2=1.110
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v
20 retrieving revision 1.109
21 retrieving revision 1.110
22 diff -u -r1.109 -r1.110
23 --- ChangeLog 14 Apr 2015 12:36:55 -0000 1.109
24 +++ ChangeLog 30 Apr 2015 13:36:24 -0000 1.110
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-libs/qscintilla
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v 1.109 2015/04/14 12:36:55 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v 1.110 2015/04/30 13:36:24 pesa Exp $
30 +
31 +*qscintilla-2.9 (30 Apr 2015)
32 +
33 + 30 Apr 2015; Davide Pesavento <pesa@g.o> +qscintilla-2.9.ebuild:
34 + Version bump.
35
36 14 Apr 2015; Agostino Sarubbo <ago@g.o> qscintilla-2.8.4-r1.ebuild:
37 Stable for ia64, wrt bug #524466
38
39
40
41 1.1 x11-libs/qscintilla/qscintilla-2.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qscintilla/qscintilla-2.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qscintilla/qscintilla-2.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qscintilla-2.9.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/qscintilla-2.9.ebuild,v 1.1 2015/04/30 13:36:24 pesa Exp $
51
52 EAPI=5
53
54 inherit flag-o-matic qmake-utils
55
56 MY_P=QScintilla-gpl-${PV}
57
58 DESCRIPTION="A Qt port of Neil Hodgson's Scintilla C++ editor class"
59 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
60 SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz"
61
62 LICENSE="|| ( GPL-2 GPL-3 )"
63 SLOT="0/12"
64 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
65 IUSE="designer doc"
66
67 DEPEND="
68 >=dev-qt/qtcore-4.8.5:4
69 >=dev-qt/qtgui-4.8.5:4
70 designer? ( >=dev-qt/designer-4.8.5:4 )
71 "
72 RDEPEND="${DEPEND}"
73
74 S=${WORKDIR}/${MY_P}
75
76 src_unpack() {
77 default
78
79 # Sub-slot sanity check
80 local subslot=${SLOT#*/}
81 local version=$(sed -nre 's:.*VERSION\s*=\s*([0-9\.]+):\1:p' "${S}"/Qt4Qt5/qscintilla.pro)
82 local major=${version%%.*}
83 if [[ ${subslot} != ${major} ]]; then
84 eerror
85 eerror "Ebuild sub-slot (${subslot}) does not match QScintilla major version (${major})"
86 eerror "Please update SLOT variable as follows:"
87 eerror " SLOT=\"${SLOT%%/*}/${major}\""
88 eerror
89 die "sub-slot sanity check failed"
90 fi
91 }
92
93 src_configure() {
94 pushd Qt4Qt5 > /dev/null
95 eqmake4
96 popd > /dev/null
97
98 if use designer; then
99 # prevent building against system version (bug 466120)
100 append-cxxflags -I../Qt4Qt5
101 append-ldflags -L../Qt4Qt5
102
103 pushd designer-Qt4Qt5 > /dev/null
104 eqmake4
105 popd > /dev/null
106 fi
107 }
108
109 src_compile() {
110 pushd Qt4Qt5 > /dev/null
111 emake
112 popd > /dev/null
113
114 if use designer; then
115 pushd designer-Qt4Qt5 > /dev/null
116 emake
117 popd > /dev/null
118 fi
119 }
120
121 src_install() {
122 pushd Qt4Qt5 > /dev/null
123 emake INSTALL_ROOT="${D}" install
124 popd > /dev/null
125
126 if use designer; then
127 pushd designer-Qt4Qt5 > /dev/null
128 emake INSTALL_ROOT="${D}" install
129 popd > /dev/null
130 fi
131
132 dodoc NEWS
133
134 if use doc; then
135 docinto html
136 dodoc -r doc/html-Qt4Qt5/*
137 fi
138 }