aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2013-03-03 08:25:02 +0200
committerAlex Alexander <wired@gentoo.org>2013-03-03 08:25:02 +0200
commit9f26676be31397718bd2c1be968a9744440ed323 (patch)
tree7ddba87496273cea7cc1782d729640be4d9da9b2 /dev-util
parentPyQt4/sip: Automated version bump, remove old (diff)
downloadqt-9f26676be31397718bd2c1be968a9744440ed323.tar.gz
qt-9f26676be31397718bd2c1be968a9744440ed323.tar.bz2
qt-9f26676be31397718bd2c1be968a9744440ed323.zip
x11-libs/qt-* => dev-qt/qt*
Following the portage tree move, I moved qt-* stuff to dev-qt. Adjusted qt deps using the script from the qt-move branch. Also adjusted sets, keyword files and scripts. Hopefully I didn't forget anything :)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/qt-creator/metadata.xml28
-rw-r--r--dev-util/qt-creator/qt-creator-9999.ebuild130
-rw-r--r--dev-util/qtchooser/qtchooser-9.ebuild4
3 files changed, 2 insertions, 160 deletions
diff --git a/dev-util/qt-creator/metadata.xml b/dev-util/qt-creator/metadata.xml
deleted file mode 100644
index 76b9c24e..00000000
--- a/dev-util/qt-creator/metadata.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>qt</herd>
-<maintainer>
- <email>hwoarang@gentoo.org</email>
- <name>Markos Chandras</name>
-</maintainer>
-<maintainer>
- <email>pesa@gentoo.org</email>
- <name>Davide Pesavento</name>
-</maintainer>
-<use>
- <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>
- <flag name="git">Add support for <pkg>dev-vcs/git</pkg> version control system</flag>
- <flag name="madde">Enable integration with MADDE (Maemo Application Development and Debugging Environment)</flag>
- <flag name="mercurial">Add support for <pkg>dev-vcs/mercurial</pkg> version control system</flag>
- <flag name="perforce">Add support for Perforce version control system (requires manual installation of Perforce client)</flag>
- <flag name="qnx">Build QNX/Blackberry plugin</flag>
- <flag name="valgrind">Add support for memory debugging using <pkg>dev-util/valgrind</pkg></flag>
-</use>
-</pkgmetadata>
diff --git a/dev-util/qt-creator/qt-creator-9999.ebuild b/dev-util/qt-creator/qt-creator-9999.ebuild
deleted file mode 100644
index 38d864be..00000000
--- a/dev-util/qt-creator/qt-creator-9999.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-PLOCALES="cs de fr hu ja pl ru sl zh_CN"
-
-inherit eutils flag-o-matic l10n multilib qt4-r2
-
-DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
-HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
-LICENSE="LGPL-2.1"
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-2
- EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
- https://git.gitorious.org/${PN}/${PN}.git"
-else
- MY_PV=${PV/_/-}
- MY_P=${PN}-${MY_PV}-src
- SRC_URI="http://releases.qt-project.org/qtcreator/${MY_PV}/${MY_P}.tar.gz"
- S=${WORKDIR}/${MY_P}
-fi
-
-SLOT="0"
-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[@]%:*}"
-
-# minimum Qt version required
-QT_PV="4.8.0:4"
-
-CDEPEND="
- >=x11-libs/qt-assistant-${QT_PV}[doc?]
- >=x11-libs/qt-core-${QT_PV}[ssl]
- >=x11-libs/qt-declarative-${QT_PV}
- >=x11-libs/qt-gui-${QT_PV}
- >=x11-libs/qt-script-${QT_PV}
- >=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.10.2 )
-"
-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 )
-"
-
-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
-
- # 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
-}
-
-src_compile() {
- emake
- use doc && emake docs
-}
-
-src_install() {
- emake INSTALL_ROOT="${ED}usr" install
-
- dodoc dist/{changes-2.*,known-issues}
-
- # 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 desktop file
- make_desktop_entry qtcreator 'Qt Creator' qtcreator 'Qt;Development;IDE'
-}
diff --git a/dev-util/qtchooser/qtchooser-9.ebuild b/dev-util/qtchooser/qtchooser-9.ebuild
index 1dbc5a03..a7e40feb 100644
--- a/dev-util/qtchooser/qtchooser-9.ebuild
+++ b/dev-util/qtchooser/qtchooser-9.ebuild
@@ -17,8 +17,8 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
-DEPEND="test? ( x11-libs/qt-test )"
-RDEPEND="!x11-libs/qt-core:4" # FIXME
+DEPEND="test? ( dev-qt/qttest )"
+RDEPEND="!dev-qt/qtcore:4" # FIXME
S=${WORKDIR}/${MY_P}