diff options
-rw-r--r-- | dev-util/qt-creator/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/qt-creator/Manifest | 6 | ||||
-rw-r--r-- | dev-util/qt-creator/metadata.xml | 1 | ||||
-rw-r--r-- | dev-util/qt-creator/qt-creator-1.3.1.ebuild | 101 |
4 files changed, 113 insertions, 3 deletions
diff --git a/dev-util/qt-creator/ChangeLog b/dev-util/qt-creator/ChangeLog index 527bdb7723da..7b7909ce92c0 100644 --- a/dev-util/qt-creator/ChangeLog +++ b/dev-util/qt-creator/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/qt-creator # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v 1.37 2010/01/11 02:03:39 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v 1.38 2010/01/19 18:21:03 hwoarang Exp $ + +*qt-creator-1.3.1 (19 Jan 2010) + + 19 Jan 2010; Markos Chandras <hwoarang@gentoo.org> + +qt-creator-1.3.1.ebuild, metadata.xml: + Version bump. Add qml use flag for Qt Declarative module 11 Jan 2010; Brent Baude <ranger@gentoo.org> qt-creator-1.2.1.ebuild: Marking qt-creator-1.2.1 ppc64 for bug 281662 diff --git a/dev-util/qt-creator/Manifest b/dev-util/qt-creator/Manifest index d62a9d54b24d..4e0ca7ca691b 100644 --- a/dev-util/qt-creator/Manifest +++ b/dev-util/qt-creator/Manifest @@ -1,7 +1,9 @@ AUX docs_gen.patch 603 RMD160 9711ddb1c59e8ddd1ad17ba34f89c8e4c89b4504 SHA1 83cd745baabd1545a1079c59edef6279b254074a SHA256 7428155e6f09201d60f308c3934153aa5fa5b25296a96d86dad80354dc8e3b93 DIST qt-creator-1.2.1-src.zip 8631249 RMD160 6aea12a39bd5827422afa6e02cfcad2174dc6582 SHA1 41d10717a83d3b7de7bc5218a35a38f25408a8d6 SHA256 9b955421050c1a9dacefa1ed888a971bffa86258a18598a1a1b297e5d8d23cbf DIST qt-creator-1.3.0-src.tar.gz 10613989 RMD160 d1c339dea74538a840317792b62b7a38ef10bcd0 SHA1 ccb1228411b9b7d5f3a734ee1a667b4a17ef0a26 SHA256 dd964ae6a9512904da94e681c461fbbfffd4505af33972e41b44b7f55ab846e1 +DIST qt-creator-1.3.1-src.tar.gz 10623442 RMD160 37bebc4566cfef85d5a7901c1efd8b917b3a0584 SHA1 49b61c3e8010d94d6d595fef38d3da737b26cd80 SHA256 b738a327b64276c5d8c0a01cbb840e316a657635514bc8e41c6cfa1c77e691ed EBUILD qt-creator-1.2.1.ebuild 2894 RMD160 c2273fb5ecd97c45d0f90004aa41c298185730a9 SHA1 1ac8a0a953ff7802ea424ffc29b4315efeebce00 SHA256 f7b71ac5b08e649a48ef68647e922250060419b9866dc9b054c7c5dba600038b EBUILD qt-creator-1.3.0.ebuild 2846 RMD160 950588a2fbb4c1aa795f842ce291810e7665da8a SHA1 0dbefd7404c2dd3042d6c4287a425ea92777e0c1 SHA256 e2ba3a6474e40021f7b95c94dd17534cbc35b5c3acadb964cd7fd3b3d559bcbb -MISC ChangeLog 5386 RMD160 057ea50560a609650086d4f9a3e0d1bfda6b33b8 SHA1 75f56927d81066147ee22ad9dd87d0c420aad13d SHA256 6d91d4ca2de8639477fd654ed7557aaea96667843c5484e8d0b8e146222fccb3 -MISC metadata.xml 950 RMD160 136ec99e9aec67089e3829caa726b03d2834b154 SHA1 85223091cfbeb8aa99b0f37004a334d25c430d92 SHA256 106347aee363bb389a5a912a1b6180aeaddff31f0e80cf834cd41ba596571917 +EBUILD qt-creator-1.3.1.ebuild 3168 RMD160 1c5997a9c4a1217effbfce394d942eb98cba01ff SHA1 3bbc0ba099ec3fb8b884525b4be3073870284e3d SHA256 f4f12215ca9edc157e3ff0f4448a8a48b7aff284abcedd68c991e34ee84de444 +MISC ChangeLog 5576 RMD160 f5811c615ba5af5a1370f3eacc54162b09a43c6a SHA1 65d492d72dd2faa7640cb452cf4cf5f9c68ae10a SHA256 75549d169fdc9c381c848c96634faa9236ce81267f3da71c8aaa55cc655af054 +MISC metadata.xml 1033 RMD160 0b058403d52323334eb6b761f4fb2589d31d3bc3 SHA1 7d24c0b85f2db72266957079050bc6d220ed56c7 SHA256 4b4ace82370a5e11e600a2dad2e48361aba79b07cada8ef84389950aef58de3d diff --git a/dev-util/qt-creator/metadata.xml b/dev-util/qt-creator/metadata.xml index 8b8ac7440ddf..777ffd1493a9 100644 --- a/dev-util/qt-creator/metadata.xml +++ b/dev-util/qt-creator/metadata.xml @@ -16,6 +16,7 @@ <flag name="git">enable git plugin</flag> <flag name="mercurial">enable mercurial plugin</flag> <flag name="perforce">enable perforce software configuration manager plugin</flag> + <flag name="qml">Simple way of building UIs based on Qt Declarative module</flag> <flag name="qtscript">enable qt script editor plugin</flag> <flag name="subversion">enable subersion plugin</flag> </use> diff --git a/dev-util/qt-creator/qt-creator-1.3.1.ebuild b/dev-util/qt-creator/qt-creator-1.3.1.ebuild new file mode 100644 index 000000000000..a68b9d011544 --- /dev/null +++ b/dev-util/qt-creator/qt-creator-1.3.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/qt-creator-1.3.1.ebuild,v 1.1 2010/01/19 18:21:03 hwoarang Exp $ + +EAPI="2" +LANGS="de es fr it ja pl ru sl" + +inherit qt4-r2 multilib +MY_PN="${PN/-/}" + +DESCRIPTION="Lightweight IDE for C++ development centering around Qt" +HOMEPAGE="http://labs.qtsoftware.com/page/Projects/Tools/QtCreator" +SRC_URI="http://get.qt.nokia.com/${MY_PN}/${P}-src.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="bineditor bookmarks +cmake cvs debug +debugger +designer doc examples fakevim git kde mercurial perforce qml qtscript subversion" + +DEPEND=">=x11-libs/qt-assistant-4.6.0:4 + >=x11-libs/qt-gui-4.6.0:4[dbus,qt3support]" + +RDEPEND="${DEPEND} + >=x11-libs/qt-sql-4.6.1:4 + >=x11-libs/qt-svg-4.6.1:4 + >=x11-libs/qt-test-4.6.1:4 + >=x11-libs/qt-webkit-4.6.1:4 + !kde? ( || ( >=x11-libs/qt-phonon-4.6.1:4 media-sound/phonon ) ) + kde? ( media-sound/phonon ) + cmake? ( dev-util/cmake ) + cvs? ( dev-util/cvs ) + debugger? ( sys-devel/gdb ) + examples? ( >=x11-libs/qt-demo-4.6.1:4 ) + git? ( dev-util/git ) + mercurial? ( dev-util/mercurial ) + qml? ( >=x11-libs/qt-declarative-4.6.1:4 ) + qtscript? ( >=x11-libs/qt-script-4.6.1:4 ) + subversion? ( dev-util/subversion )" + +PLUGINS="bookmarks bineditor cmake cvs debugger designer fakevim git mercurial perforce qml qtscript subversion" + +S="${WORKDIR}"/"${P}"-src + +src_prepare() { + qt4_src_prepare + + # bug 263087 + for plugin in ${PLUGINS};do + if ! use ${plugin};then + einfo "Disabling ${plugin} support" + if [[ ${plugin} == "cmake" ]];then + plugin="cmakeprojectmanager" + elif [[ ${plugin} == "qtscript" ]];then + plugin="qtscripteditor" + fi + if [[ ${plugin} == "qml" ]]; then + plugin="qmleditor" + einfo "Disabling qmlprojectmanager support" + sed -i "/plugin_qmlprojectmanager/s:^:#:" src/plugins/plugins.pro \ + || die "Failed to disable qmlprojectmanager plugin" + fi + sed -i "/plugin_${plugin}/s:^:#:" src/plugins/plugins.pro \ + || die "Failed to disable ${plugin} plugin" + fi + done + + if use perforce;then + ewarn + ewarn "You have enabled perforce plugin." + ewarn "In order to use it, you need to manually" + ewarn "download perforce client from http://www.perforce.com/perforce/downloads/index.html" + ewarn + ebeep 5 + fi +} + +src_configure() { + eqmake4 ${MY_PN}.pro IDE_LIBRARY_BASENAME="$(get_libdir)" +} + +src_install() { + emake INSTALL_ROOT="${D}/usr" install_subtargets || die "emake install failed" + # fix binary name bug 275859 + mv "${D}"/usr/bin/${MY_PN}.bin "${D}"/usr/bin/${MY_PN} || die "failed to rename executable" + if use doc;then + emake INSTALL_ROOT="${D}/usr" install_qch_docs || die "emake install qch_docs failed" + fi + make_desktop_entry ${MY_PN} QtCreator qtcreator_logo_48 \ + 'Qt;Development;IDE' || die "make_desktop_entry failed" + + # install translations + insinto /usr/share/${MY_PN}/translations/ + for x in ${LINGUAS};do + for lang in ${LANGS};do + if [[ ${x} == ${lang} ]];then + doins share/${MY_PN}/translations/${MY_PN}_${x}.qm \ + || die "failed to install translations" + fi + done + done +} |