# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-qt/qtchooser/qtchooser-0_p20150102.ebuild,v 1.3 2015/03/03 07:29:23 dlan Exp $ EAPI=5 inherit qmake-utils toolchain-funcs DESCRIPTION="Qt4/Qt5 version chooser" HOMEPAGE="https://qt.gitorious.org/qt/qtchooser" SRC_URI="http://dev.gentoo.org/~pesa/distfiles/${P}.tar.xz" LICENSE="|| ( LGPL-2.1 GPL-3 )" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86" IUSE="qt5 test" DEPEND="qt5? ( test? ( dev-qt/qtcore:5 dev-qt/qttest:5 ) )" RDEPEND=" !/dev/null || die eqmake5 popd >/dev/null || die qtchooser_make check } src_install() { qtchooser_make INSTALL_ROOT="${D}" install keepdir /etc/xdg/qtchooser # TODO: bash and zsh completion # newbashcomp scripts/${PN}.bash ${PN} }