Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qt-creator/
Date: Sun, 30 Jun 2013 23:52:30
Message-Id: 1372636354.4caed6cea6aae91e4192c3f9e3c6959238052785.pesa@gentoo
1 commit: 4caed6cea6aae91e4192c3f9e3c6959238052785
2 Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com>
3 AuthorDate: Sun Jun 30 23:52:34 2013 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 30 23:52:34 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=4caed6ce
7
8 [dev-qt/qt-creator] Remove 2.8.0_beta, rc is in tree.
9
10 Package-Manager: portage-2.2.0_alpha186
11
12 ---
13 dev-qt/qt-creator/Manifest | 1 -
14 dev-qt/qt-creator/qt-creator-2.8.0_beta.ebuild | 118 -------------------------
15 2 files changed, 119 deletions(-)
16
17 diff --git a/dev-qt/qt-creator/Manifest b/dev-qt/qt-creator/Manifest
18 deleted file mode 100644
19 index 2ab0a7f..0000000
20 --- a/dev-qt/qt-creator/Manifest
21 +++ /dev/null
22 @@ -1 +0,0 @@
23 -DIST qt-creator-2.8.0-beta-src.tar.gz 22839011 SHA256 00f77b6edb2da05f9fc3173c6fabf7225464afc60ff454118116dbbdc85d4c51 SHA512 67a1b6c52ddfa72eb33f0b2d0edd9fcda3d1bf82599bc476763693e2b23f2d8d98bbe6aa27f2351a9e6bab270e1220edc70af52f4bcdfab49a6d7a53dfc376a5 WHIRLPOOL a0d417d183dc39f3c9d71c0ebad2443d9be94945e21434666f27c47430aa3adacf61407a2d569242ab2a5f0dfa8cf94e17f49b5bc1f9fcf6d89849a3f7313913
24
25 diff --git a/dev-qt/qt-creator/qt-creator-2.8.0_beta.ebuild b/dev-qt/qt-creator/qt-creator-2.8.0_beta.ebuild
26 deleted file mode 100644
27 index 288b2d8..0000000
28 --- a/dev-qt/qt-creator/qt-creator-2.8.0_beta.ebuild
29 +++ /dev/null
30 @@ -1,118 +0,0 @@
31 -# Copyright 1999-2013 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $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 $
34 -
35 -EAPI=5
36 -
37 -PLOCALES="cs de es fr it ja pl ru sl uk zh_CN zh_TW"
38 -
39 -inherit eutils l10n multilib qt4-r2
40 -
41 -DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt"
42 -HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
43 -LICENSE="LGPL-2.1"
44 -
45 -if [[ ${PV} == *9999* ]]; then
46 - inherit git-2
47 - EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
48 - https://git.gitorious.org/${PN}/${PN}.git"
49 -else
50 - MY_PV=${PV/_/-}
51 - MY_P=${PN}-${MY_PV}-src
52 - [[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development
53 - SRC_URI="http://download.qt-project.org/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz"
54 - S=${WORKDIR}/${MY_P}
55 -fi
56 -
57 -SLOT="0"
58 -KEYWORDS="~amd64 ~arm ~ppc ~x86"
59 -
60 -QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar
61 - clearcase cmake:cmakeprojectmanager cvs fakevim git
62 - madde mercurial perforce qnx subversion valgrind)
63 -IUSE="debug doc examples test ${QTC_PLUGINS[@]%:*}"
64 -
65 -# minimum Qt version required
66 -QT_PV="4.8.0:4"
67 -
68 -CDEPEND="
69 - =dev-libs/botan-1.10*
70 - >=dev-qt/qtcore-${QT_PV}[ssl]
71 - >=dev-qt/qtdeclarative-${QT_PV}
72 - >=dev-qt/qtgui-${QT_PV}
73 - >=dev-qt/qthelp-${QT_PV}[doc?]
74 - >=dev-qt/qtscript-${QT_PV}
75 - >=dev-qt/qtsql-${QT_PV}
76 - >=dev-qt/qtsvg-${QT_PV}
77 -"
78 -DEPEND="${CDEPEND}
79 - virtual/pkgconfig
80 - test? ( >=dev-qt/qttest-${QT_PV} )
81 -"
82 -RDEPEND="${CDEPEND}
83 - >=sys-devel/gdb-7.2[python]
84 - examples? ( >=dev-qt/qtdemo-${QT_PV} )
85 -"
86 -PDEPEND="
87 - autotools? ( sys-devel/autoconf )
88 - bazaar? ( dev-vcs/bzr )
89 - cmake? ( dev-util/cmake )
90 - cvs? ( dev-vcs/cvs )
91 - git? ( dev-vcs/git )
92 - mercurial? ( dev-vcs/mercurial )
93 - subversion? ( dev-vcs/subversion )
94 - valgrind? ( dev-util/valgrind )
95 -"
96 -
97 -src_prepare() {
98 - qt4-r2_src_prepare
99 -
100 - # disable unwanted plugins
101 - for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
102 - if ! use ${plugin%:*}; then
103 - einfo "Disabling ${plugin%:*} plugin"
104 - sed -i -re "/^\s+${plugin#*:}\>/d" src/plugins/plugins.pro \
105 - || die "failed to disable ${plugin%:*} plugin"
106 - fi
107 - done
108 -
109 - # fix translations
110 - sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
111 - share/qtcreator/translations/translations.pro || die
112 -}
113 -
114 -src_configure() {
115 - EQMAKE4_EXCLUDE="share/qtcreator/templates/*
116 - tests/*"
117 - eqmake4 IDE_LIBRARY_BASENAME="$(get_libdir)" \
118 - IDE_PACKAGE_MODE=1 \
119 - TEST=$(use test && echo 1 || echo 0) \
120 - USE_SYSTEM_BOTAN=1
121 -}
122 -
123 -src_test() {
124 - echo ">>> Test phase [QTest]: ${CATEGORY}/${PF}"
125 - cd tests/auto || die
126 -
127 - EQMAKE4_EXCLUDE="valgrind/*"
128 - eqmake4 IDE_LIBRARY_BASENAME="$(get_libdir)"
129 -
130 - emake check
131 -}
132 -
133 -src_install() {
134 - emake INSTALL_ROOT="${ED}usr" install
135 -
136 - dodoc dist/{changes-*,known-issues}
137 -
138 - # install documentation
139 - if use doc; then
140 - emake docs
141 - insinto /usr/share/doc/${PF}
142 - doins share/doc/qtcreator/qtcreator{,-dev}.qch
143 - docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
144 - fi
145 -
146 - # install desktop file
147 - make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
148 -}