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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Wed Aug 5 08:49:58 2015 UTC (4 years, 11 months ago) by zlogene
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +2 -2 lines
QA: ia64 stable (bug #529196)

(Portage version: 2.2.20/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0x1BDC0E5AC42EB5D6)

1 # Copyright 1999-2015 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_p20150102.ebuild,v 1.9 2015/07/05 13:37:17 klausman 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="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 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