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