1 |
pesa 15/06/02 13:33:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qt-creator-3.4.1.ebuild |
5 |
Removed: qt-creator-3.4.0.ebuild |
6 |
Log: |
7 |
Version bump. |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!) |
10 |
|
11 |
Revision Changes Path |
12 |
1.52 dev-qt/qt-creator/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/ChangeLog?rev=1.52&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/ChangeLog?rev=1.52&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/ChangeLog?r1=1.51&r2=1.52 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/ChangeLog,v |
21 |
retrieving revision 1.51 |
22 |
retrieving revision 1.52 |
23 |
diff -u -r1.51 -r1.52 |
24 |
--- ChangeLog 4 May 2015 19:50:14 -0000 1.51 |
25 |
+++ ChangeLog 2 Jun 2015 13:33:06 -0000 1.52 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-qt/qt-creator |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/ChangeLog,v 1.51 2015/05/04 19:50:14 pesa Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/ChangeLog,v 1.52 2015/06/02 13:33:06 pesa Exp $ |
31 |
+ |
32 |
+*qt-creator-3.4.1 (02 Jun 2015) |
33 |
+ |
34 |
+ 02 Jun 2015; Davide Pesavento <pesa@g.o> +qt-creator-3.4.1.ebuild, |
35 |
+ -qt-creator-3.4.0.ebuild: |
36 |
+ Version bump. |
37 |
|
38 |
04 May 2015; Davide Pesavento <pesa@g.o> qt-creator-3.4.0.ebuild: |
39 |
More fixes for building the qbs plugin (bug 548086). |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-qt/qt-creator/qt-creator-3.4.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-3.4.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-3.4.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: qt-creator-3.4.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-3.4.1.ebuild,v 1.1 2015/06/02 13:33:06 pesa Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
PLOCALES="cs de fr ja pl ru sl uk zh_CN zh_TW" |
57 |
|
58 |
inherit eutils l10n multilib qmake-utils virtualx |
59 |
|
60 |
DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt" |
61 |
HOMEPAGE="http://doc.qt.io/qtcreator/" |
62 |
LICENSE="|| ( LGPL-2.1 LGPL-3 )" |
63 |
|
64 |
if [[ ${PV} == *9999 ]]; then |
65 |
inherit git-r3 |
66 |
EGIT_REPO_URI=( |
67 |
"git://code.qt.io/${PN}/${PN}.git" |
68 |
"https://code.qt.io/git/${PN}/${PN}.git" |
69 |
) |
70 |
else |
71 |
MY_PV=${PV/_/-} |
72 |
MY_P=${PN}-opensource-src-${MY_PV} |
73 |
[[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development |
74 |
SRC_URI="http://download.qt.io/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz" |
75 |
S=${WORKDIR}/${MY_P} |
76 |
fi |
77 |
|
78 |
SLOT="0" |
79 |
KEYWORDS="~amd64 ~arm ~x86" |
80 |
|
81 |
QTC_PLUGINS=('android:android|qmakeandroidsupport' autotools:autotoolsprojectmanager baremetal |
82 |
bazaar clang:clangcodemodel clearcase cmake:cmakeprojectmanager cvs git ios mercurial |
83 |
perforce python:pythoneditor qbs:qbsprojectmanager qnx subversion valgrind winrt) |
84 |
IUSE="doc systemd test webkit ${QTC_PLUGINS[@]%:*}" |
85 |
|
86 |
# minimum Qt version required |
87 |
QT_PV="5.3.2:5" |
88 |
|
89 |
RDEPEND=" |
90 |
=dev-libs/botan-1.10*[threads] |
91 |
>=dev-qt/designer-${QT_PV} |
92 |
>=dev-qt/qtconcurrent-${QT_PV} |
93 |
>=dev-qt/qtcore-${QT_PV} |
94 |
>=dev-qt/qtdeclarative-${QT_PV}[widgets] |
95 |
>=dev-qt/qtgui-${QT_PV} |
96 |
>=dev-qt/qthelp-${QT_PV} |
97 |
>=dev-qt/qtnetwork-${QT_PV}[ssl] |
98 |
>=dev-qt/qtprintsupport-${QT_PV} |
99 |
>=dev-qt/qtquick1-${QT_PV} |
100 |
>=dev-qt/qtquickcontrols-${QT_PV} |
101 |
>=dev-qt/qtscript-${QT_PV} |
102 |
>=dev-qt/qtsql-${QT_PV} |
103 |
>=dev-qt/qtsvg-${QT_PV} |
104 |
>=dev-qt/qtwidgets-${QT_PV} |
105 |
>=dev-qt/qtx11extras-${QT_PV} |
106 |
>=dev-qt/qtxml-${QT_PV} |
107 |
>=sys-devel/gdb-7.5[client,python] |
108 |
clang? ( >=sys-devel/clang-3.2:= ) |
109 |
qbs? ( >=dev-util/qbs-1.4.0-r1 ) |
110 |
systemd? ( sys-apps/systemd:= ) |
111 |
webkit? ( >=dev-qt/qtwebkit-${QT_PV} ) |
112 |
" |
113 |
DEPEND="${RDEPEND} |
114 |
>=dev-qt/linguist-tools-${QT_PV} |
115 |
virtual/pkgconfig |
116 |
doc? ( >=dev-qt/qdoc-${QT_PV} ) |
117 |
test? ( >=dev-qt/qttest-${QT_PV} ) |
118 |
" |
119 |
for x in ${PLOCALES}; do |
120 |
# qt translations must be installed for qt-creator translations to work |
121 |
RDEPEND+=" linguas_${x}? ( >=dev-qt/qttranslations-${QT_PV} )" |
122 |
done |
123 |
unset x |
124 |
|
125 |
PDEPEND=" |
126 |
autotools? ( sys-devel/autoconf ) |
127 |
bazaar? ( dev-vcs/bzr ) |
128 |
cmake? ( dev-util/cmake ) |
129 |
cvs? ( dev-vcs/cvs ) |
130 |
git? ( dev-vcs/git ) |
131 |
mercurial? ( dev-vcs/mercurial ) |
132 |
subversion? ( dev-vcs/subversion ) |
133 |
valgrind? ( dev-util/valgrind ) |
134 |
" |
135 |
|
136 |
src_prepare() { |
137 |
# disable unwanted plugins |
138 |
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do |
139 |
if ! use ${plugin%:*}; then |
140 |
einfo "Disabling ${plugin%:*} plugin" |
141 |
sed -i -re "/(^\s+|SUBDIRS\s*\+=\s*)(${plugin#*:})\>/d" \ |
142 |
src/plugins/plugins.pro || die "failed to disable ${plugin%:*} plugin" |
143 |
fi |
144 |
done |
145 |
|
146 |
# automagic dep on qtwebkit (bug 538236) |
147 |
if ! use webkit; then |
148 |
sed -i -e 's/isEmpty(QT\.webkitwidgets\.name)/true/' \ |
149 |
src/plugins/help/help.pro || die "failed to disable webkit" |
150 |
fi |
151 |
|
152 |
# disable broken or unreliable tests |
153 |
sed -i -e '/lexer/d' tests/auto/cplusplus/cplusplus.pro || die |
154 |
sed -i -e '/dumpers\.pro/d' tests/auto/debugger/debugger.pro || die |
155 |
sed -i -e '/CONFIG -=/ s/$/ testcase/' tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin?/plugin?.pro || die |
156 |
sed -i -e '/parsertests\.pro/d' tests/auto/valgrind/memcheck/memcheck.pro || die |
157 |
|
158 |
# fix translations |
159 |
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \ |
160 |
share/qtcreator/translations/translations.pro || die |
161 |
|
162 |
# remove bundled qbs |
163 |
rm -rf src/shared/qbs || die |
164 |
} |
165 |
|
166 |
src_configure() { |
167 |
eqmake5 IDE_LIBRARY_BASENAME="$(get_libdir)" \ |
168 |
IDE_PACKAGE_MODE=1 \ |
169 |
LLVM_INSTALL_DIR="${EPREFIX}/usr" \ |
170 |
QBS_INSTALL_DIR="${EPREFIX}/usr" \ |
171 |
CONFIG+=qbs_disable_rpath \ |
172 |
CONFIG+=qbs_enable_project_file_updates \ |
173 |
$(use systemd && echo CONFIG+=journald) \ |
174 |
$(use test && echo BUILD_TESTS=1) \ |
175 |
USE_SYSTEM_BOTAN=1 |
176 |
} |
177 |
|
178 |
src_test() { |
179 |
cd tests/auto || die |
180 |
VIRTUALX_COMMAND=default virtualmake |
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 |
# don't use ${PF} or the doc will not be found |
192 |
insinto /usr/share/doc/qtcreator |
193 |
doins share/doc/qtcreator/qtcreator{,-dev}.qch |
194 |
docompress -x /usr/share/doc/qtcreator/qtcreator{,-dev}.qch |
195 |
fi |
196 |
|
197 |
# install desktop file |
198 |
make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE' |
199 |
} |