/[gentoo-x86]/dev-qt/qtchooser/qtchooser-0_p20140613.ebuild
Gentoo

Contents of /dev-qt/qtchooser/qtchooser-0_p20140613.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Jan 9 22:06:42 2015 UTC (5 years ago) by pesa
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
New snapshot.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-qt/qtchooser/qtchooser-0_p20140613.ebuild,v 1.5 2014/12/30 17:42:23 maekke Exp $
4
5 EAPI=5
6
7 inherit qmake-utils toolchain-funcs
8
9 DESCRIPTION="Qt4/Qt5 version chooser"
10 HOMEPAGE="https://qt.gitorious.org/qt/qtchooser"
11 SRC_URI="http://dev.gentoo.org/~pesa/distfiles/${P}.tar.xz"
12
13 LICENSE="|| ( LGPL-2.1 GPL-3 )"
14 SLOT="0"
15 KEYWORDS="~amd64 ~arm ~hppa ~mips ~x86"
16 IUSE="qt5 test"
17
18 DEPEND="qt5? ( test? (
19 dev-qt/qtcore:5
20 dev-qt/qttest:5
21 ) )"
22 RDEPEND="
23 !<dev-qt/assistant-4.8.6:4
24 !<dev-qt/designer-4.8.6:4
25 !<dev-qt/linguist-4.8.6:4
26 !<dev-qt/pixeltool-4.8.6:4
27 !<dev-qt/qdbusviewer-4.8.6:4
28 !<dev-qt/qt3support-4.8.6:4
29 !<dev-qt/qtbearer-4.8.6:4
30 !<dev-qt/qtcore-4.8.6:4
31 !<dev-qt/qtdbus-4.8.6:4
32 !<dev-qt/qtdeclarative-4.8.6:4
33 !<dev-qt/qtdemo-4.8.6:4
34 !<dev-qt/qtgui-4.8.6:4
35 !<dev-qt/qthelp-4.8.6:4
36 !<dev-qt/qtmultimedia-4.8.6:4
37 !<dev-qt/qtopengl-4.8.6:4
38 !<dev-qt/qtopenvg-4.8.6:4
39 !<dev-qt/qtphonon-4.8.6:4
40 !<dev-qt/qtscript-4.8.6:4
41 !<dev-qt/qtsql-4.8.6:4
42 !<dev-qt/qtsvg-4.8.6:4
43 !<dev-qt/qttest-4.8.6:4
44 !<dev-qt/qtwebkit-4.8.6:4
45 !<dev-qt/qtxmlpatterns-4.8.6:4
46 "
47
48 qtchooser_make() {
49 emake \
50 CXX="$(tc-getCXX)" \
51 LFLAGS="${LDFLAGS}" \
52 prefix="${EPREFIX}/usr" \
53 "$@"
54 }
55
56 src_compile() {
57 qtchooser_make
58 }
59
60 src_test() {
61 use qt5 || return
62
63 pushd tests/auto >/dev/null || die
64 eqmake5
65 popd >/dev/null || die
66
67 qtchooser_make check
68 }
69
70 src_install() {
71 qtchooser_make INSTALL_ROOT="${D}" install
72
73 keepdir /etc/xdg/qtchooser
74
75 # TODO: bash and zsh completion
76 # newbashcomp scripts/${PN}.bash ${PN}
77 }

  ViewVC Help
Powered by ViewVC 1.1.20