diff options
-rw-r--r-- | dev-util/qt-creator/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/qt-creator/Manifest | 32 | ||||
-rw-r--r-- | dev-util/qt-creator/qt-creator-2.5.1.ebuild | 138 |
3 files changed, 161 insertions, 16 deletions
diff --git a/dev-util/qt-creator/ChangeLog b/dev-util/qt-creator/ChangeLog index 369685d84eb3..2292fca56c37 100644 --- a/dev-util/qt-creator/ChangeLog +++ b/dev-util/qt-creator/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/qt-creator # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v 1.123 2012/07/12 11:09:56 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v 1.124 2012/07/27 08:35:52 pesa Exp $ + +*qt-creator-2.5.1 (27 Jul 2012) + + 27 Jul 2012; Davide Pesavento <pesa@gentoo.org> +qt-creator-2.5.1.ebuild: + Version bump. 12 Jul 2012; Davide Pesavento <pesa@gentoo.org> -files/qt-creator-2.1.0_rc1-qml-plugin.patch, -qt-creator-2.1.0.ebuild, diff --git a/dev-util/qt-creator/Manifest b/dev-util/qt-creator/Manifest index b897c228c2ac..b8ab617ce08b 100644 --- a/dev-util/qt-creator/Manifest +++ b/dev-util/qt-creator/Manifest @@ -1,24 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 DIST qt-creator-2.5.0-src.tar.gz 22848008 SHA256 e7132ca5c489b567edd9c813d56182e4bb4b0037a71112036a2fbd8a76a327fa SHA512 b97c8a9d6ca36495fe88bf1ea1e80b85dfca0729c205a2fab4509f2888c1c9f927c89e4461b9db06330cfa0bf2b18c0e778a08468e7b2841bf71581860039692 WHIRLPOOL 88e1c422754209b30af07e5e8885fdae4993a494fd55ede1b27ff97cf79004e9faab9606a88d944b214f9798557809b85088954a12ca43bf2ede74c37f0cece1 +DIST qt-creator-2.5.1-src.tar.gz 22523194 SHA256 909e84727d55f9cbd5d212e2027ea405a0bd6e892492ade63d5b572e64081920 SHA512 aa0b35d6924d5a63e9723afef4a3594cd99fc464d9c38132bde530366228a98b60a1b552650c88b386047a00b4155f660d91f91abc4f2348621778a9e28f5c2a WHIRLPOOL bd3d8c33028de85de6ffd8701de130427414c1ad73763a3538626eb7f280c0f4b4e2f14cc6da0ba9179dc97255b345023ea6dc690877df5ecf21618cca6615e4 EBUILD qt-creator-2.5.0.ebuild 4223 SHA256 73c41c586cd0acde173df069b8fafef153dfae51e972051dd4e9bb16000a2e22 SHA512 f89f3102d0b8859014e5817ffdbcd733cdb9545a60f95ce832d579fe00f3d659522c82699b3d7f49eead41b14b515f0735266d892bd2a0267ed85a424c5f3345 WHIRLPOOL 423ed619e69688a3bb4021ab3201287406d1dcf71368dde745c0c58ea4990fbb914ed994213e405dca1a51bf9a0c3098ed1721c931f0eeccb8f4f4dfd81836fe -MISC ChangeLog 19370 SHA256 68662c24f7f082fd5ec164291d9254e0b8226d4d155a83b0aafecfc0aeb0b477 SHA512 4d7a95e64908d4e568dd4f215761f4373432f2efde029ca8a5365e05bdb9aa1f6f022785366c4eb25490cfbe4f0cb706ffcdc5d45fc04b73e51f8f0f55f53ab9 WHIRLPOOL d7425880f9da2017a9639aa5149e4933ac94fb5ffa4d1a2a09c553000498a2c6116a2ccdef15ea85971d3c66a9588930596d147397de202d952818fad603e497 +EBUILD qt-creator-2.5.1.ebuild 4228 SHA256 7473210e9a52753f664944ac914899682562c5a1875ce7d71cc05e8deec8e175 SHA512 87282b8f925bae66c1abf7a22c1d80a25d158a6290f4bb68e818bbe5ccd95196d45e0ea3f762c1d152b30c9e083d6b4c9fe02274b8a94bd47a24a5c40a302dc4 WHIRLPOOL e7a3b7d3b9156731c98c58d80065697eb3ae312be0ff1ac620f0eeca41216fafcb6b5ab55b6c2250f11683d822c1270f824f95398674bddabdd76aecbaff7ee0 +MISC ChangeLog 19496 SHA256 086eac1f82f21bf7910f8116bf3f890ddad626c519d07a58184ac54b97b6f7ec SHA512 b08066af7f6d15728e39fe15db50f090fba002d33d3a23e73eb3c3585fd80d85a2bcd89fb6871d05e57e280b4d0563b146f33d17edb6342e7a5ae9a07413a6bc WHIRLPOOL 1ccecba8aea5af26bca85e7207f23398a289fa3a3bdf5f60cc165e8fc05d34809ce0253956d5d2b503cc5b1dbefadb4b26ec312a1c3586f9de9c229d7e441a8a MISC metadata.xml 1257 SHA256 d8a2f3107d2c0d41ef497dd162bcea73f673369cab0c4d0092959ec5492487cd SHA512 0dea62ef4b9c8089c028704ba918921eee62a62842fb5f8b1cdcab70df1a44ad5278c8f0e8017c5e37b9f1ef94c591e67b7f6ee98318ce9e64471b41fc05b886 WHIRLPOOL 86873da8f70537fe20b19269da32e7259ffb20f78d678560c7ebabf39cb40e4522d2477423e8faa4edd4ae8f19fa10e5da8719a80736e975860dd6cf0ff66a5b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJP/rCcAAoJENXLsxwXqFxyuVYP/1dF8MUjR4ycWSt3sgjIYcXX -6EXk9EDceqnjjtmU0j0Fz8YmxRESp28AxfhyLNbV5fIswDB/QlxqEVsVseBBqotu -QOtOD0/uOYFZ5Q8B+wV4wDgGM1CBXBGOIMDJPruSuO3QCP2jxBJTgnH658YRdfHq -A2vBQPXRhLLfZoOOZjAZxi1fnbayuZQ3oQSmqcOyFfWXqqGlXG90D2P6WVB/mvUW -sgtkj/HQPirKkkEf/PHUZ8T1Be3/4j7spULZ+rrmyJOE5XZ1QF3U88QcvrjmMV8l -gTr9MsvVVB7WTCgL1MPTMgoGwlFo5SKMebEFZpQA9OjadpRSSr8X4Ba3ZxaHlbxy -jcFeuUpe06/NCS3Yn5dFbO6I5uIBZo/nc2eGb1YiOU8TKGeoy3JWRkfk4VkmxZD4 -TUNafPIOljzEcjWvWIKGsMu9KJSj4mfikSpZ54nALnQVTo6I7tY52UCqr5s9NU8N -sXs6OT34zChKykmh4IkYOZvlDsEiAIfr9ozyutxas8Uiscy42G3fCR3qebVtZGvI -Hl6/alge5oLsfzk8dkTIga7Sa797ZXtozr1N56XD2dPHmNIRtPLzhUo65sANIVyn -4zzra1zVEow8OjrpKPowQ1Mzc7fj0HIcNUHtSOk6tuR8Wmqk+Baea3sAosPhgXSo -U2l44N3wyiCDiecJlsIe -=G0eq +iQIcBAEBCAAGBQJQElL5AAoJENXLsxwXqFxy6xwP/2vq1h39VeMonddfpBfpdf3C +55nMHEHWb10Q0sdPdo/yxJS4JsNqQghaB+Y4peaSYmx1wTZZAjcBMNqYWkQ8rSmI +8sOCGhEco2ua30kMyOqahD5uCqPiL4fHEJRqQZ1odhu9Lpdg3mo3/qG15PhdHg58 +P0R2LB1u6xIz8TAZyYkkf4pfyhJnW/vAyRRG2tagabDHnZ8K23uy/ZBXczMgAfcW +y3LyndcoPiMiMcc5n3/4fJZp++HqDEgmmuzw+SrQ9AQ9JhWr7QBk/JjP7hupTZzG +vHR0Cs8Ahfnnu6IkuC0vyuU/jDSJaEU1XUOHVfhrVapdFtm41o0qEFBsJmPDqhyI +OvPYPrdgZciHrV6cgV1q05v2d8wQM+Wah4JGDHKz3zQkUPHulBD/xXleinfvuFO7 +Hsl6mlz1Y68wjHnML4j8W15euiTjics2Qz1Ff9vnCDdZj4j/ZTQ1WPxV0ey22THS +ZGTRioyBbyZ2UdzTQm/RAF/vHDtFP3Hft6bf0WYy4ILttropEq/g/Np8P5PqZGsP +mKP6mMZXi2PPH+OxPzHv6TcSe+0YexsTdsYEQN5YZkah1fjhs945RZW+VjIP3f8D +L/nP+4qTOy/p16IZTdiqlmjo6AUdb4UoYfi+ZTffdt2Afe+uQlTlPZ4yHt8tg+zT +Y7Bfitpx7HeWENvo98cb +=/muj -----END PGP SIGNATURE----- diff --git a/dev-util/qt-creator/qt-creator-2.5.1.ebuild b/dev-util/qt-creator/qt-creator-2.5.1.ebuild new file mode 100644 index 000000000000..4fc80b0de700 --- /dev/null +++ b/dev-util/qt-creator/qt-creator-2.5.1.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/qt-creator-2.5.1.ebuild,v 1.1 2012/07/27 08:35:52 pesa Exp $ + +EAPI=4 + +LANGS="cs de es fr hu it ja pl ru sl uk zh_CN" + +inherit multilib eutils flag-o-matic qt4-r2 + +MY_P=${PN}-${PV/_/-}-src + +DESCRIPTION="Lightweight IDE for C++ development centering around Qt" +HOMEPAGE="http://qt.nokia.com/products/developer-tools" +SRC_URI="http://get.qt.nokia.com/qtcreator/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +QTC_PLUGINS=(autotools:autotoolsprojectmanager bazaar cmake:cmakeprojectmanager + cvs fakevim git madde mercurial perforce subversion valgrind) +IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}" + +QT_PV="4.7.4:4" + +CDEPEND=" + >=x11-libs/qt-assistant-${QT_PV}[doc?] + >=x11-libs/qt-core-${QT_PV}[private-headers(+),ssl] + >=x11-libs/qt-declarative-${QT_PV}[private-headers(+)] + >=x11-libs/qt-gui-${QT_PV}[private-headers(+)] + >=x11-libs/qt-script-${QT_PV}[private-headers(+)] + >=x11-libs/qt-sql-${QT_PV} + >=x11-libs/qt-svg-${QT_PV} + debug? ( >=x11-libs/qt-test-${QT_PV} ) + !botan-bundled? ( =dev-libs/botan-1.8* ) +" +DEPEND="${CDEPEND} + !botan-bundled? ( virtual/pkgconfig ) +" +RDEPEND="${CDEPEND} + >=sys-devel/gdb-7.2[python] + examples? ( >=x11-libs/qt-demo-${QT_PV} ) +" +PDEPEND=" + autotools? ( sys-devel/autoconf ) + bazaar? ( dev-vcs/bzr ) + cmake? ( dev-util/cmake ) + cvs? ( dev-vcs/cvs ) + git? ( dev-vcs/git ) + mercurial? ( dev-vcs/mercurial ) + subversion? ( dev-vcs/subversion ) + valgrind? ( dev-util/valgrind ) +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + qt4-r2_src_prepare + + # disable unwanted plugins + 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 \ + || die "failed to disable ${plugin} plugin" + fi + done + + if use perforce; then + echo + ewarn "You have enabled the perforce plugin." + ewarn "In order to use it, you need to manually download the perforce client from" + ewarn " http://www.perforce.com/perforce/downloads/index.html" + echo + fi + + # fix translations + sed -i -e "/^LANGUAGES/s:=.*:= ${LANGS}:" \ + 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=true +} + +src_compile() { + emake + use doc && emake docs +} + +src_install() { + emake INSTALL_ROOT="${ED}usr" install + + # Install documentation + if use doc; then + insinto /usr/share/doc/${PF} + doins share/doc/qtcreator/qtcreator{,-dev}.qch + docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch + fi + + # Install icon & desktop file + doicon src/plugins/coreplugin/images/logo/128/qtcreator.png + make_desktop_entry qtcreator 'Qt Creator' qtcreator 'Qt;Development;IDE' + + # Remove unneeded translations + local lang + for lang in ${LANGS}; do + if ! has ${lang} ${LINGUAS}; then + rm "${ED}"usr/share/qtcreator/translations/qtcreator_${lang}.qm \ + || eqawarn "Failed to remove ${lang} translation" + fi + done +} |