From: "Davide Pesavento" <pesa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qt-creator/
Date: Fri, 8 Mar 2013 09:37:12 +0000 (UTC) [thread overview]
Message-ID: <1362735411.c74c9b900c5391d9c179d0fe770270b0fde03ab0.pesa@gentoo> (raw)
commit: c74c9b900c5391d9c179d0fe770270b0fde03ab0
Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com>
AuthorDate: Fri Mar 8 09:36:51 2013 +0000
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Fri Mar 8 09:36:51 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=c74c9b90
[dev-qt/qt-creator] Sync with gx86.
---
dev-qt/qt-creator/metadata.xml | 1 -
dev-qt/qt-creator/qt-creator-9999.ebuild | 63 +++++++++++-------------------
2 files changed, 23 insertions(+), 41 deletions(-)
diff --git a/dev-qt/qt-creator/metadata.xml b/dev-qt/qt-creator/metadata.xml
index 76b9c24..78606ab 100644
--- a/dev-qt/qt-creator/metadata.xml
+++ b/dev-qt/qt-creator/metadata.xml
@@ -14,7 +14,6 @@
<flag name="android">Build Android plugin</flag>
<flag name="autotools">Enable autotools project manager plugin</flag>
<flag name="bazaar">Add support for <pkg>dev-vcs/bzr</pkg> version control system</flag>
- <flag name="botan-bundled">Use the bundled copy of <pkg>dev-libs/botan</pkg></flag>
<flag name="clearcase">Add support for IBM ClearCase version control system (requires manual installation of ClearCase client)</flag>
<flag name="cmake">Enable cmake project manager plugin</flag>
<flag name="fakevim">Enable support for vim-like key bindings</flag>
diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild
index a274577..48b13ff 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
@@ -1,14 +1,14 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0_rc.ebuild,v 1.1 2013/03/08 09:24:01 pesa Exp $
-EAPI=4
+EAPI=5
-PLOCALES="cs de fr hu ja pl ru sl zh_CN"
+PLOCALES="cs de es fr hu it ja pl ru sl uk zh_CN zh_TW"
-inherit eutils flag-o-matic l10n multilib qt4-r2
+inherit eutils l10n multilib qt4-r2
-DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
+DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt"
HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
LICENSE="LGPL-2.1"
@@ -29,24 +29,24 @@ KEYWORDS=""
QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar
clearcase cmake:cmakeprojectmanager cvs fakevim git
madde mercurial perforce qnx subversion valgrind)
-IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}"
+IUSE="debug doc examples test ${QTC_PLUGINS[@]%:*}"
# minimum Qt version required
QT_PV="4.8.0:4"
CDEPEND="
- >=dev-qt/qthelp-${QT_PV}[doc?]
+ =dev-libs/botan-1.10*
>=dev-qt/qtcore-${QT_PV}[ssl]
>=dev-qt/qtdeclarative-${QT_PV}
>=dev-qt/qtgui-${QT_PV}
+ >=dev-qt/qthelp-${QT_PV}[doc?]
>=dev-qt/qtscript-${QT_PV}
>=dev-qt/qtsql-${QT_PV}
>=dev-qt/qtsvg-${QT_PV}
- debug? ( >=dev-qt/qttest-${QT_PV} )
- !botan-bundled? ( >=dev-libs/botan-1.10.2 )
"
DEPEND="${CDEPEND}
- !botan-bundled? ( virtual/pkgconfig )
+ virtual/pkgconfig
+ test? ( >=dev-qt/qttest-${QT_PV} )
"
RDEPEND="${CDEPEND}
>=sys-devel/gdb-7.2[python]
@@ -70,7 +70,7 @@ src_prepare() {
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
if ! use ${plugin%:*}; then
einfo "Disabling ${plugin%:*} plugin"
- sed -i -e "/^[[:space:]]\+plugin_${plugin#*:}/d" src/plugins/plugins.pro \
+ sed -i -re "/(^|SUBDIRS\s+\+=)\s+plugin_${plugin#*:}\>/d" src/plugins/plugins.pro \
|| die "failed to disable ${plugin} plugin"
fi
done
@@ -78,39 +78,21 @@ src_prepare() {
# fix translations
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
share/qtcreator/translations/translations.pro || die
-
- if ! use botan-bundled; then
- # identify system botan and pkg-config file
- local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2)
- local lib_botan=$(pkg-config --libs botan-${botan_version})
- einfo "Major version of system's botan library to be used: ${botan_version}"
-
- # drop bundled libBotan. Bug #383033
- rm -rf "${S}"/src/libs/3rdparty/botan || die
- # remove references to bundled botan
- sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die
- for x in testrunner parsertests modeldemo; do
- sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die
- done
- sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die
- sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die
- # link to system botan
- sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die
- sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die
- # append botan refs to compiler flags
- append-flags $(pkg-config --cflags --libs botan-${botan_version})
- fi
}
src_configure() {
eqmake4 qtcreator.pro \
IDE_LIBRARY_BASENAME="$(get_libdir)" \
- IDE_PACKAGE_MODE=yes
+ IDE_PACKAGE_MODE=1 \
+ TEST=$(use test && echo 1 || echo 0) \
+ USE_SYSTEM_BOTAN=1
}
-src_compile() {
- emake
- use doc && emake docs
+src_test() {
+ echo ">>> Test phase [QTest]: ${CATEGORY}/${PF}"
+ cd tests/auto || die
+ eqmake4 IDE_LIBRARY_BASENAME="$(get_libdir)"
+ emake check
}
src_install() {
@@ -118,13 +100,14 @@ src_install() {
dodoc dist/{changes-2.*,known-issues}
- # Install documentation
+ # install documentation
if use doc; then
+ emake docs
insinto /usr/share/doc/${PF}
doins share/doc/qtcreator/qtcreator{,-dev}.qch
docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
fi
- # Install desktop file
- make_desktop_entry qtcreator 'Qt Creator' qtcreator 'Qt;Development;IDE'
+ # install desktop file
+ make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
}
next reply other threads:[~2013-03-08 9:37 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 9:37 Davide Pesavento [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-06-10 4:30 [gentoo-commits] proj/qt:master commit in: dev-qt/qt-creator/ Davide Pesavento
2013-06-30 23:52 Davide Pesavento
2013-07-27 8:33 Davide Pesavento
2013-08-15 8:23 Davide Pesavento
2013-10-23 13:12 Davide Pesavento
2013-12-19 22:34 Davide Pesavento
2014-10-21 17:34 Davide Pesavento
2015-01-20 2:37 Davide Pesavento
2015-01-26 2:58 Davide Pesavento
2015-02-24 18:00 Davide Pesavento
2015-03-29 14:01 Davide Pesavento
2015-04-01 14:55 Davide Pesavento
2015-04-23 15:38 Davide Pesavento
2015-05-04 19:52 Davide Pesavento
2015-09-14 0:53 Davide Pesavento
2015-10-18 1:53 Davide Pesavento
2015-12-17 2:39 Davide Pesavento
2016-04-21 15:38 Davide Pesavento
2016-05-13 16:16 Davide Pesavento
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1362735411.c74c9b900c5391d9c179d0fe770270b0fde03ab0.pesa@gentoo \
--to=pesa@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox