public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Davide Pesavento" <pesa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-creator/
Date: Fri, 16 Mar 2018 20:07:22 +0000 (UTC)	[thread overview]
Message-ID: <1521230831.732c263c3b626541d2f838f7012ff61a87aa3740.pesa@gentoo> (raw)

commit:     732c263c3b626541d2f838f7012ff61a87aa3740
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 16 20:06:53 2018 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Fri Mar 16 20:07:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=732c263c

dev-qt/qt-creator: add 4.5.2

Closes: https://bugs.gentoo.org/650510
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-qt/qt-creator/Manifest                |   1 +
 dev-qt/qt-creator/qt-creator-4.5.2.ebuild | 172 ++++++++++++++++++++++++++++++
 2 files changed, 173 insertions(+)

diff --git a/dev-qt/qt-creator/Manifest b/dev-qt/qt-creator/Manifest
index 02b8cee5840..93809d0a535 100644
--- a/dev-qt/qt-creator/Manifest
+++ b/dev-qt/qt-creator/Manifest
@@ -1,3 +1,4 @@
 DIST qt-creator-opensource-src-4.4.1.tar.xz 20822304 BLAKE2B 23c05b5e86fcbc3387cd9e8a82fb97e3b4e20182b41e2b24de7801126b0d5bbd708ca842ddcd828536fb279b6d2e4954909b8c40bfe14e050baa109095889e6d SHA512 f0e836fd2106f909cb405f75457e0d4158ecdd134ec5cfa97b373e5818b5f715245ac8454a657801251302ef817c1de66580f2e45b12b3e23d3107ccf3985336
 DIST qt-creator-opensource-src-4.5.0.tar.xz 21641628 BLAKE2B 83d8ef57b87278994451d34b69a17a7d6c872b014c82940593c83c53e4a693054bdcfa38c4706083ed2bc0386ae5fa8afcea4747d1dee67a2a9b1e0a3fa6aeed SHA512 9296ebef4a3d5ae40a9fa3a4039e77b8e407dfb52af3a88b4cc615a89e163d92de420d9db614bc689adc695879f0c2e1906e9a218e7a6b96c4b222d52c94912c
+DIST qt-creator-opensource-src-4.5.2.tar.xz 21745192 BLAKE2B 4860c6041542758647d27ae3aaac15dbbc72bbecbcf335e3bceab378c720979a3e89777762936a4b68eacec02a7b285dec08a19003ac3260de1e2e4ee12706c0 SHA512 cc3f20c109e810e8958495fd0d84461bc9ead7b4172600229969a6a331341f0b76069a71893f1ba279550293b131f6cca5b79c112d67f3aebb6244415489c223
 DIST qt-creator-opensource-src-4.6.0-beta1.tar.xz 23559992 BLAKE2B 20a89a2e833fd5f618cc8b7301530abe3cb2f54f687fe3f08a3881e3ffdd90f98cf32ccd7e7461bfb4b80547bd5cfbd732257626ea938a6459a69ba9a72f7958 SHA512 034735898b24884822ede430dd777066a5b93f38c383861d85268d0d65a140116f3a2d639b0c33862768127e3e0881a7b08ff710c5a210ccfa42c5e8a9fe1ff6

diff --git a/dev-qt/qt-creator/qt-creator-4.5.2.ebuild b/dev-qt/qt-creator/qt-creator-4.5.2.ebuild
new file mode 100644
index 00000000000..6581a0d4a74
--- /dev/null
+++ b/dev-qt/qt-creator/qt-creator-4.5.2.ebuild
@@ -0,0 +1,172 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PLOCALES="cs de fr ja pl ru sl uk zh-CN zh-TW"
+
+inherit llvm qmake-utils virtualx xdg
+
+DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt"
+HOMEPAGE="https://doc.qt.io/qtcreator/"
+LICENSE="GPL-3"
+SLOT="0"
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://code.qt.io/${PN}/${PN}.git"
+else
+	MY_PV=${PV/_/-}
+	MY_P=${PN}-opensource-src-${MY_PV}
+	[[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development
+	SRC_URI="https://download.qt.io/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.xz"
+	KEYWORDS="~amd64 ~arm ~x86"
+	S=${WORKDIR}/${MY_P}
+fi
+
+# TODO: unbundle sqlite
+
+QTC_PLUGINS=('android:android|qmakeandroidsupport' autotools:autotoolsprojectmanager baremetal bazaar
+	'clangcodemodel:clangcodemodel|clangrefactoring|clangpchmanager' clangstaticanalyzer clearcase
+	cmake:cmakeprojectmanager cvs designer git glsl:glsleditor ios mercurial modeling:modeleditor
+	nim perforce python:pythoneditor qbs:qbsprojectmanager qnx scxml:scxmleditor subversion valgrind
+	winrt)
+IUSE="doc systemd test +webengine ${QTC_PLUGINS[@]%:*}"
+
+# minimum Qt version required
+QT_PV="5.6.2:5"
+
+CDEPEND="
+	=dev-libs/botan-1.10*[-bindist,threads]
+	>=dev-qt/qtconcurrent-${QT_PV}
+	>=dev-qt/qtcore-${QT_PV}
+	>=dev-qt/qtdeclarative-${QT_PV}[widgets]
+	>=dev-qt/qtgui-${QT_PV}
+	>=dev-qt/qthelp-${QT_PV}
+	>=dev-qt/qtnetwork-${QT_PV}[ssl]
+	>=dev-qt/qtprintsupport-${QT_PV}
+	>=dev-qt/qtquickcontrols-${QT_PV}
+	>=dev-qt/qtscript-${QT_PV}
+	>=dev-qt/qtsql-${QT_PV}[sqlite]
+	>=dev-qt/qtsvg-${QT_PV}
+	>=dev-qt/qtwidgets-${QT_PV}
+	>=dev-qt/qtx11extras-${QT_PV}
+	>=dev-qt/qtxml-${QT_PV}
+	clangcodemodel? ( >=sys-devel/clang-3.9:= )
+	designer? ( >=dev-qt/designer-${QT_PV} )
+	qbs? ( >=dev-util/qbs-1.10.1 )
+	systemd? ( sys-apps/systemd:= )
+	webengine? ( >=dev-qt/qtwebengine-${QT_PV}[widgets] )
+"
+DEPEND="${CDEPEND}
+	>=dev-qt/linguist-tools-${QT_PV}
+	virtual/pkgconfig
+	doc? ( >=dev-qt/qdoc-${QT_PV} )
+	test? (
+		>=dev-qt/qtdeclarative-${QT_PV}[localstorage,xml]
+		>=dev-qt/qtquickcontrols2-${QT_PV}
+		>=dev-qt/qttest-${QT_PV}
+	)
+"
+RDEPEND="${CDEPEND}
+	sys-devel/gdb[client,python]
+	autotools? ( sys-devel/autoconf )
+	bazaar? ( dev-vcs/bzr )
+	clangstaticanalyzer? ( >=sys-devel/clang-3.9:* )
+	cmake? ( dev-util/cmake[server(+)] )
+	cvs? ( dev-vcs/cvs )
+	git? ( dev-vcs/git )
+	mercurial? ( dev-vcs/mercurial )
+	subversion? ( dev-vcs/subversion )
+	valgrind? ( dev-util/valgrind )
+"
+# qt translations must also be installed or qt-creator translations won't be loaded
+for x in ${PLOCALES}; do
+	IUSE+=" l10n_${x}"
+	RDEPEND+=" l10n_${x}? ( >=dev-qt/qttranslations-${QT_PV} )"
+done
+unset x
+
+pkg_setup() {
+	use clangcodemodel && llvm_pkg_setup
+}
+
+src_prepare() {
+	default
+
+	# disable unwanted plugins
+	for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
+		if ! use ${plugin%:*}; then
+			einfo "Disabling ${plugin%:*} plugin"
+			sed -i -re "/(^\s+|SUBDIRS\s*\+=\s*)(${plugin#*:})\>/d" \
+				src/plugins/plugins.pro || die "failed to disable ${plugin%:*} plugin"
+		fi
+	done
+
+	# avoid building unused support libraries
+	if ! use clangcodemodel; then
+		sed -i -e '/clangbackendipc/d' src/libs/libs.pro || die
+	fi
+	if ! use glsl; then
+		sed -i -e '/glsl/d' src/libs/libs.pro || die
+	fi
+	if ! use modeling; then
+		sed -i -e '/modelinglib/d' src/libs/libs.pro || die
+	fi
+
+	# automagic dep on qtwebengine
+	if ! use webengine; then
+		sed -i -e 's/isEmpty(QT\.webenginewidgets\.name)/true/' src/plugins/help/help.pro || die
+	fi
+
+	# disable broken or unreliable tests
+	sed -i -e 's/\(manual\|tools\|unit\)//g' tests/tests.pro || die
+	sed -i -e '/sdktool/ d' tests/auto/auto.pro || die
+	sed -i -e '/\(dumpers\|offsets\)\.pro/ d' tests/auto/debugger/debugger.pro || die
+	sed -i -e '/CONFIG -=/ s/$/ testcase/' tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin?/plugin?.pro || die
+	sed -i -e '/timeline\(items\|notes\|selection\)renderpass/ d' tests/auto/timeline/timeline.pro || die
+	sed -i -e 's/\<memcheck\>//' tests/auto/valgrind/valgrind.pro || die
+
+	# fix path to some clang headers
+	sed -i -e "/^CLANG_RESOURCE_DIR\s*=/ s:\$\${LLVM_LIBDIR}:${EPREFIX}/usr/lib:" src/shared/clang/clang_defines.pri || die
+
+	# fix translations
+	local lang languages=
+	for lang in ${PLOCALES}; do
+		use l10n_${lang} && languages+=" ${lang/-/_}"
+	done
+	sed -i -e "/^LANGUAGES\s*=/ s:=.*:=${languages}:" share/qtcreator/translations/translations.pro || die
+
+	# remove bundled qbs
+	rm -rf src/shared/qbs || die
+}
+
+src_configure() {
+	eqmake5 IDE_LIBRARY_BASENAME="$(get_libdir)" \
+		IDE_PACKAGE_MODE=1 \
+		$(use clangcodemodel && echo LLVM_INSTALL_DIR="$(get_llvm_prefix)") \
+		$(use qbs && echo QBS_INSTALL_DIR="${EPREFIX}/usr") \
+		CONFIG+=qbs_disable_rpath \
+		CONFIG+=qbs_enable_project_file_updates \
+		$(use systemd && echo CONFIG+=journald) \
+		$(use test && echo BUILD_TESTS=1) \
+		USE_SYSTEM_BOTAN=1
+}
+
+src_test() {
+	cd tests/auto && virtx default
+}
+
+src_install() {
+	emake INSTALL_ROOT="${ED}usr" install
+
+	dodoc dist/{changes-*,known-issues}
+
+	# install documentation
+	if use doc; then
+		emake docs
+		# don't use ${PF} or the doc will not be found
+		insinto /usr/share/doc/qtcreator
+		doins share/doc/qtcreator/qtcreator{,-dev}.qch
+		docompress -x /usr/share/doc/qtcreator/qtcreator{,-dev}.qch
+	fi
+}


             reply	other threads:[~2018-03-16 20:07 UTC|newest]

Thread overview: 178+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-16 20:07 Davide Pesavento [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-29 17:07 [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-creator/ Ionen Wolkens
2024-10-22  8:04 Jakov Smolić
2024-10-02  4:35 Ionen Wolkens
2024-10-02  4:35 Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2024-08-25  5:26 Arthur Zamarin
2024-08-07 14:32 Ionen Wolkens
2024-07-25 15:59 Ionen Wolkens
2024-07-25 15:59 Ionen Wolkens
2024-07-25  6:26 Ionen Wolkens
2024-07-25  6:26 Ionen Wolkens
2024-07-04  1:54 Ionen Wolkens
2024-07-02 15:10 Ionen Wolkens
2024-06-19 19:43 Arthur Zamarin
2024-06-18 18:14 Ionen Wolkens
2024-06-06 15:47 Ionen Wolkens
2024-05-13 13:23 Arthur Zamarin
2024-05-13  5:49 Ionen Wolkens
2024-05-07 14:28 Ionen Wolkens
2024-05-06  1:37 Ionen Wolkens
2024-04-04 16:39 Ionen Wolkens
2024-04-04 16:39 Ionen Wolkens
2024-04-02 15:50 Ionen Wolkens
2024-03-20  7:17 Ionen Wolkens
2024-02-28 19:56 Arthur Zamarin
2024-02-25 18:46 Ionen Wolkens
2024-02-22  6:16 Ionen Wolkens
2024-02-10 11:26 Ionen Wolkens
2024-02-08  3:16 Ionen Wolkens
2024-01-09 18:06 Arthur Zamarin
2024-01-08 12:59 Ionen Wolkens
2023-12-12 13:17 Ionen Wolkens
2023-11-24  0:05 Ionen Wolkens
2023-11-17  5:14 Ionen Wolkens
2023-10-22  5:55 Ionen Wolkens
2023-09-28 13:07 Ionen Wolkens
2023-09-26  8:06 Ionen Wolkens
2023-09-20  8:32 Ionen Wolkens
2023-09-11 21:20 Ionen Wolkens
2022-11-07  6:57 Sam James
2022-11-05  6:35 Sam James
2022-11-05  6:35 Sam James
2022-11-05  6:35 Sam James
2022-11-05  6:35 Sam James
2022-10-29 15:08 Sam James
2022-10-29 15:08 Sam James
2022-02-20 18:17 Davide Pesavento
2021-12-02 19:09 Davide Pesavento
2021-11-29  5:36 Davide Pesavento
2021-11-29  5:36 Davide Pesavento
2021-11-29  5:36 Davide Pesavento
2021-11-23  4:19 Davide Pesavento
2021-11-23  4:19 Davide Pesavento
2021-11-23  4:19 Davide Pesavento
2021-11-22  1:41 Davide Pesavento
2021-11-22  1:06 Davide Pesavento
2021-11-22  1:06 Davide Pesavento
2021-11-22  1:06 Davide Pesavento
2021-11-21 21:23 Davide Pesavento
2021-11-21 21:23 Davide Pesavento
2021-11-21 21:23 Davide Pesavento
2021-11-21 20:10 Davide Pesavento
2021-11-21 20:02 Davide Pesavento
2021-07-11  5:37 Davide Pesavento
2021-07-11  5:37 Davide Pesavento
2021-07-11  4:53 Davide Pesavento
2021-07-11  4:53 Davide Pesavento
2021-07-11  4:53 Davide Pesavento
2021-07-11  4:53 Davide Pesavento
2021-07-11  4:53 Davide Pesavento
2021-02-09 19:59 Sam James
2020-09-08 18:08 Andreas Sturmlechner
2020-07-30 22:11 Michał Górny
2020-07-13 16:26 Sam James
2020-07-12  3:50 Davide Pesavento
2020-07-12  3:50 Davide Pesavento
2020-07-12  2:02 Davide Pesavento
2020-07-11 23:16 Davide Pesavento
2020-07-11 23:16 Davide Pesavento
2020-07-11 20:30 Davide Pesavento
2020-07-11  6:21 Davide Pesavento
2020-07-11  6:21 Davide Pesavento
2020-07-11  3:45 Davide Pesavento
2020-07-11  3:29 Davide Pesavento
2020-07-11  3:21 Davide Pesavento
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-05-06  3:01 Jason A. Donenfeld
2020-04-27 13:56 Mikle Kolyada
2019-12-03  1:19 Davide Pesavento
2019-10-27  5:52 Davide Pesavento
2019-10-27  5:52 Davide Pesavento
2019-10-26 20:13 Davide Pesavento
2019-10-26 19:29 Davide Pesavento
2019-08-04  1:25 Davide Pesavento
2019-07-06 19:30 Davide Pesavento
2019-07-06 19:30 Davide Pesavento
2019-06-07  5:10 Davide Pesavento
2019-06-07  5:10 Davide Pesavento
2019-05-12  2:38 Davide Pesavento
2019-05-11  6:40 Davide Pesavento
2019-03-16 22:42 Andreas Sturmlechner
2019-03-12  7:10 Andreas Sturmlechner
2018-12-24  6:35 Davide Pesavento
2018-12-23 18:42 Davide Pesavento
2018-12-23  8:49 Davide Pesavento
2018-07-20  2:58 Davide Pesavento
2018-07-20  2:58 Davide Pesavento
2018-06-16 17:09 Davide Pesavento
2018-06-16 17:09 Davide Pesavento
2018-05-21  5:11 Davide Pesavento
2018-05-21  5:11 Davide Pesavento
2018-05-21  5:11 Davide Pesavento
2018-05-20 23:56 Davide Pesavento
2018-05-20 23:49 Davide Pesavento
2018-03-24  1:29 Davide Pesavento
2018-03-24  1:25 Davide Pesavento
2018-03-17  0:15 Davide Pesavento
2018-03-17  0:15 Davide Pesavento
2018-03-17  0:15 Davide Pesavento
2018-02-07 13:28 Jason Donenfeld
2018-02-07 13:11 Jason Donenfeld
2018-01-23 23:06 Davide Pesavento
2018-01-23 23:06 Davide Pesavento
2018-01-05 15:38 Ulrich Müller
2017-10-08 23:48 Davide Pesavento
2017-10-08 22:55 Davide Pesavento
2017-10-05 19:08 Davide Pesavento
2017-09-16 21:02 Davide Pesavento
2017-09-03  1:14 Davide Pesavento
2017-08-19 17:15 Davide Pesavento
2017-08-19 17:15 Davide Pesavento
2017-07-23  3:01 Michael Palimaka
2017-07-18 18:43 Davide Pesavento
2017-07-18 18:43 Davide Pesavento
2017-05-26 22:57 Davide Pesavento
2017-05-26 22:57 Davide Pesavento
2017-04-29 19:46 Davide Pesavento
2017-04-29 19:46 Davide Pesavento
2017-04-29 19:46 Davide Pesavento
2017-04-29 19:46 Davide Pesavento
2017-04-15  5:48 Davide Pesavento
2017-03-14 22:23 Davide Pesavento
2017-03-14 22:23 Davide Pesavento
2016-12-18  3:59 Davide Pesavento
2016-11-21 19:37 Davide Pesavento
2016-11-21 19:37 Davide Pesavento
2016-07-09 14:06 Davide Pesavento
2016-07-09 14:06 Davide Pesavento
2016-06-16 16:49 Davide Pesavento
2016-06-16 16:20 Michael Palimaka
2016-06-16 11:46 Davide Pesavento
2016-06-10  0:54 Davide Pesavento
2016-06-10  0:54 Davide Pesavento
2016-06-08 16:50 Davide Pesavento
2016-05-13 16:15 Davide Pesavento
2016-04-29 17:47 Davide Pesavento
2016-04-23 12:09 Davide Pesavento
2016-04-21  1:45 Davide Pesavento
2016-04-02 18:40 Davide Pesavento
2016-04-02 18:40 Davide Pesavento
2016-01-24 23:59 Davide Pesavento
2015-12-17  2:34 Davide Pesavento
2015-10-23 20:13 Davide Pesavento
2015-10-18  2:20 Davide Pesavento
2015-10-18  1:48 Davide Pesavento
2015-09-20 22:27 Davide Pesavento
2015-09-20 21:58 Davide Pesavento
2015-09-14  0:21 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=1521230831.732c263c3b626541d2f838f7012ff61a87aa3740.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