1 |
pesa 12/12/30 21:47:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qt-creator-2.6.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 17A85C72) |
9 |
|
10 |
Revision Changes Path |
11 |
1.140 dev-util/qt-creator/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/ChangeLog?rev=1.140&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/ChangeLog?rev=1.140&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/ChangeLog?r1=1.139&r2=1.140 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v |
20 |
retrieving revision 1.139 |
21 |
retrieving revision 1.140 |
22 |
diff -u -r1.139 -r1.140 |
23 |
--- ChangeLog 9 Nov 2012 03:57:24 -0000 1.139 |
24 |
+++ ChangeLog 30 Dec 2012 21:47:18 -0000 1.140 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-util/qt-creator |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v 1.139 2012/11/09 03:57:24 pesa Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v 1.140 2012/12/30 21:47:18 pesa Exp $ |
30 |
+ |
31 |
+*qt-creator-2.6.1 (30 Dec 2012) |
32 |
+ |
33 |
+ 30 Dec 2012; Davide Pesavento <pesa@g.o> +qt-creator-2.6.1.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*qt-creator-2.6.0 (09 Nov 2012) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-util/qt-creator/qt-creator-2.6.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/qt-creator-2.6.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/qt-creator-2.6.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: qt-creator-2.6.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/qt-creator-2.6.1.ebuild,v 1.1 2012/12/30 21:47:18 pesa Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
|
54 |
PLOCALES="cs de fr hu ja pl ru sl zh_CN" |
55 |
|
56 |
inherit eutils flag-o-matic l10n multilib qt4-r2 |
57 |
|
58 |
DESCRIPTION="Lightweight IDE for C++ 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 |
SRC_URI="http://releases.qt-project.org/qtcreator/${MY_PV}/${MY_P}.tar.gz" |
70 |
S=${WORKDIR}/${MY_P} |
71 |
fi |
72 |
|
73 |
SLOT="0" |
74 |
KEYWORDS="~amd64 ~x86" |
75 |
|
76 |
QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar |
77 |
clearcase cmake:cmakeprojectmanager cvs fakevim git |
78 |
madde mercurial perforce qnx subversion valgrind) |
79 |
IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}" |
80 |
|
81 |
# minimum Qt version required |
82 |
QT_PV="4.8.0:4" |
83 |
|
84 |
CDEPEND=" |
85 |
>=x11-libs/qt-assistant-${QT_PV}[doc?] |
86 |
>=x11-libs/qt-core-${QT_PV}[ssl] |
87 |
>=x11-libs/qt-declarative-${QT_PV} |
88 |
>=x11-libs/qt-gui-${QT_PV} |
89 |
>=x11-libs/qt-script-${QT_PV} |
90 |
>=x11-libs/qt-sql-${QT_PV} |
91 |
>=x11-libs/qt-svg-${QT_PV} |
92 |
debug? ( >=x11-libs/qt-test-${QT_PV} ) |
93 |
!botan-bundled? ( >=dev-libs/botan-1.10.2 ) |
94 |
" |
95 |
DEPEND="${CDEPEND} |
96 |
!botan-bundled? ( virtual/pkgconfig ) |
97 |
" |
98 |
RDEPEND="${CDEPEND} |
99 |
>=sys-devel/gdb-7.2[python] |
100 |
examples? ( >=x11-libs/qt-demo-${QT_PV} ) |
101 |
" |
102 |
PDEPEND=" |
103 |
autotools? ( sys-devel/autoconf ) |
104 |
bazaar? ( dev-vcs/bzr ) |
105 |
cmake? ( dev-util/cmake ) |
106 |
cvs? ( dev-vcs/cvs ) |
107 |
git? ( dev-vcs/git ) |
108 |
mercurial? ( dev-vcs/mercurial ) |
109 |
subversion? ( dev-vcs/subversion ) |
110 |
valgrind? ( dev-util/valgrind ) |
111 |
" |
112 |
|
113 |
src_prepare() { |
114 |
qt4-r2_src_prepare |
115 |
|
116 |
# disable unwanted plugins |
117 |
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do |
118 |
if ! use ${plugin%:*}; then |
119 |
einfo "Disabling ${plugin%:*} plugin" |
120 |
sed -i -re "/(^|SUBDIRS\s+\+=)\s+plugin_${plugin#*:}\>/d" src/plugins/plugins.pro \ |
121 |
|| die "failed to disable ${plugin} plugin" |
122 |
fi |
123 |
done |
124 |
|
125 |
# fix translations |
126 |
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \ |
127 |
share/qtcreator/translations/translations.pro || die |
128 |
|
129 |
if ! use botan-bundled; then |
130 |
# identify system botan and pkg-config file |
131 |
local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2) |
132 |
local lib_botan=$(pkg-config --libs botan-${botan_version}) |
133 |
einfo "Major version of system's botan library to be used: ${botan_version}" |
134 |
|
135 |
# drop bundled libBotan. Bug #383033 |
136 |
rm -rf "${S}"/src/libs/3rdparty/botan || die |
137 |
# remove references to bundled botan |
138 |
sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die |
139 |
for x in testrunner parsertests modeldemo; do |
140 |
sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die |
141 |
done |
142 |
sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die |
143 |
sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die |
144 |
# link to system botan |
145 |
sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die |
146 |
sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die |
147 |
# append botan refs to compiler flags |
148 |
append-flags $(pkg-config --cflags --libs botan-${botan_version}) |
149 |
fi |
150 |
} |
151 |
|
152 |
src_configure() { |
153 |
eqmake4 qtcreator.pro \ |
154 |
IDE_LIBRARY_BASENAME="$(get_libdir)" \ |
155 |
IDE_PACKAGE_MODE=yes |
156 |
} |
157 |
|
158 |
src_compile() { |
159 |
emake |
160 |
use doc && emake docs |
161 |
} |
162 |
|
163 |
src_install() { |
164 |
emake INSTALL_ROOT="${ED}usr" install |
165 |
|
166 |
dodoc dist/{changes-2.*,known-issues} |
167 |
|
168 |
# Install documentation |
169 |
if use doc; then |
170 |
insinto /usr/share/doc/${PF} |
171 |
doins share/doc/qtcreator/qtcreator{,-dev}.qch |
172 |
docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch |
173 |
fi |
174 |
|
175 |
# Install desktop file |
176 |
make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE' |
177 |
} |