Gentoo Archives: gentoo-commits

From: "Davide Pesavento (pesa)" <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-qt/qt-creator: qt-creator-2.7.1.ebuild qt-creator-2.7.0.ebuild ChangeLog
Date: Mon, 03 Jun 2013 08:01:52
Message-Id: 20130603080145.03DD92171D@flycatcher.gentoo.org
1 pesa 13/06/03 08:01:44
2
3 Modified: qt-creator-2.7.0.ebuild ChangeLog
4 Added: qt-creator-2.7.1.ebuild
5 Log:
6 Version bump, also fixing bug 449992.
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)
9
10 Revision Changes Path
11 1.4 dev-qt/qt-creator/qt-creator-2.7.0.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0.ebuild?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0.ebuild?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0.ebuild?r1=1.3&r2=1.4
16
17 Index: qt-creator-2.7.0.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0.ebuild,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- qt-creator-2.7.0.ebuild 24 Apr 2013 08:25:19 -0000 1.3
24 +++ qt-creator-2.7.0.ebuild 3 Jun 2013 08:01:44 -0000 1.4
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2013 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0.ebuild,v 1.3 2013/04/24 08:25:19 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0.ebuild,v 1.4 2013/06/03 08:01:44 pesa Exp $
30
31 EAPI=5
32
33 @@ -19,7 +19,8 @@
34 else
35 MY_PV=${PV/_/-}
36 MY_P=${PN}-${MY_PV}-src
37 - SRC_URI="http://releases.qt-project.org/qtcreator/${MY_PV}/${MY_P}.tar.gz"
38 + [[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development
39 + SRC_URI="http://download.qt-project.org/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz"
40 S=${WORKDIR}/${MY_P}
41 fi
42
43
44
45
46 1.9 dev-qt/qt-creator/ChangeLog
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/ChangeLog?rev=1.9&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/ChangeLog?rev=1.9&content-type=text/plain
50 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/ChangeLog?r1=1.8&r2=1.9
51
52 Index: ChangeLog
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/ChangeLog,v
55 retrieving revision 1.8
56 retrieving revision 1.9
57 diff -u -r1.8 -r1.9
58 --- ChangeLog 24 Apr 2013 08:25:19 -0000 1.8
59 +++ ChangeLog 3 Jun 2013 08:01:44 -0000 1.9
60 @@ -1,6 +1,12 @@
61 # ChangeLog for dev-qt/qt-creator
62 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
63 -# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/ChangeLog,v 1.8 2013/04/24 08:25:19 ago Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/ChangeLog,v 1.9 2013/06/03 08:01:44 pesa Exp $
65 +
66 +*qt-creator-2.7.1 (03 Jun 2013)
67 +
68 + 03 Jun 2013; Davide Pesavento <pesa@g.o> +qt-creator-2.7.1.ebuild,
69 + qt-creator-2.7.0.ebuild:
70 + Version bump, also fixing bug 449992.
71
72 24 Apr 2013; Agostino Sarubbo <ago@g.o> qt-creator-2.7.0.ebuild:
73 Add ~ppc, wrt bug #460762
74
75
76
77 1.1 dev-qt/qt-creator/qt-creator-2.7.1.ebuild
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.1.ebuild?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.1.ebuild?rev=1.1&content-type=text/plain
81
82 Index: qt-creator-2.7.1.ebuild
83 ===================================================================
84 # Copyright 1999-2013 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.1.ebuild,v 1.1 2013/06/03 08:01:44 pesa Exp $
87
88 EAPI=5
89
90 PLOCALES="cs de es fr hu it ja pl ru sl uk zh_CN zh_TW"
91
92 inherit eutils l10n multilib qt4-r2
93
94 DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt"
95 HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
96 LICENSE="LGPL-2.1"
97
98 if [[ ${PV} == *9999* ]]; then
99 inherit git-2
100 EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
101 https://git.gitorious.org/${PN}/${PN}.git"
102 else
103 MY_PV=${PV/_/-}
104 MY_P=${PN}-${MY_PV}-src
105 [[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development
106 SRC_URI="http://download.qt-project.org/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz"
107 S=${WORKDIR}/${MY_P}
108 fi
109
110 SLOT="0"
111 KEYWORDS="~amd64 ~arm ~ppc ~x86"
112
113 QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar
114 clearcase cmake:cmakeprojectmanager cvs fakevim git
115 madde mercurial perforce qnx subversion valgrind)
116 IUSE="debug doc examples test ${QTC_PLUGINS[@]%:*}"
117
118 # minimum Qt version required
119 QT_PV="4.8.0:4"
120
121 CDEPEND="
122 =dev-libs/botan-1.10*
123 >=dev-qt/qtcore-${QT_PV}[ssl]
124 >=dev-qt/qtdeclarative-${QT_PV}
125 >=dev-qt/qtgui-${QT_PV}
126 >=dev-qt/qthelp-${QT_PV}[doc?]
127 >=dev-qt/qtscript-${QT_PV}
128 >=dev-qt/qtsql-${QT_PV}
129 >=dev-qt/qtsvg-${QT_PV}
130 "
131 DEPEND="${CDEPEND}
132 virtual/pkgconfig
133 test? ( >=dev-qt/qttest-${QT_PV} )
134 "
135 RDEPEND="${CDEPEND}
136 >=sys-devel/gdb-7.2[python]
137 examples? ( >=dev-qt/qtdemo-${QT_PV} )
138 "
139 PDEPEND="
140 autotools? ( sys-devel/autoconf )
141 bazaar? ( dev-vcs/bzr )
142 cmake? ( dev-util/cmake )
143 cvs? ( dev-vcs/cvs )
144 git? ( dev-vcs/git )
145 mercurial? ( dev-vcs/mercurial )
146 subversion? ( dev-vcs/subversion )
147 valgrind? ( dev-util/valgrind )
148 "
149
150 src_prepare() {
151 qt4-r2_src_prepare
152
153 # disable unwanted plugins
154 for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
155 if ! use ${plugin%:*}; then
156 einfo "Disabling ${plugin%:*} plugin"
157 sed -i -re "/(^|SUBDIRS\s+\+=)\s+plugin_${plugin#*:}\>/d" src/plugins/plugins.pro \
158 || die "failed to disable ${plugin} plugin"
159 fi
160 done
161
162 # fix translations
163 sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
164 share/qtcreator/translations/translations.pro || die
165 }
166
167 src_configure() {
168 EQMAKE4_EXCLUDE="share/qtcreator/templates/*" \
169 eqmake4 qtcreator.pro \
170 IDE_LIBRARY_BASENAME="$(get_libdir)" \
171 IDE_PACKAGE_MODE=1 \
172 TEST=$(use test && echo 1 || echo 0) \
173 USE_SYSTEM_BOTAN=1
174 }
175
176 src_test() {
177 echo ">>> Test phase [QTest]: ${CATEGORY}/${PF}"
178 cd tests/auto || die
179 eqmake4 IDE_LIBRARY_BASENAME="$(get_libdir)"
180 emake check
181 }
182
183 src_install() {
184 emake INSTALL_ROOT="${ED}usr" install
185
186 dodoc dist/{changes-*,known-issues}
187
188 # install documentation
189 if use doc; then
190 emake docs
191 insinto /usr/share/doc/${PF}
192 doins share/doc/qtcreator/qtcreator{,-dev}.qch
193 docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
194 fi
195
196 # install desktop file
197 make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
198 }