diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-qt/qtchooser | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-qt/qtchooser')
-rw-r--r-- | dev-qt/qtchooser/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qtchooser/metadata.xml | 5 | ||||
-rw-r--r-- | dev-qt/qtchooser/qtchooser-0_p20150102.ebuild | 77 |
3 files changed, 83 insertions, 0 deletions
diff --git a/dev-qt/qtchooser/Manifest b/dev-qt/qtchooser/Manifest new file mode 100644 index 000000000000..da8277d8904b --- /dev/null +++ b/dev-qt/qtchooser/Manifest @@ -0,0 +1 @@ +DIST qtchooser-0_p20150102.tar.xz 30936 SHA256 7b6d622d3a57a1467c57b4ca368220540085698cb7ad226ed782931599e85757 SHA512 15e08f1aaa22ba45d41adda57b9da76f3667d15ab92448b6a95b44287e5043fcae368ddcea1e2b84565d3a96edacbcd68bc515054ffaa81dde4064c9a992dbae WHIRLPOOL 4617444cf9764a82f10f3ff8fdf1102d9c5fdd76c77966c661a5256a98221117696ffccf83ed5b961a53d7b5ff5e0a7f6454627a6ab43427583edf9e3660a1bb diff --git a/dev-qt/qtchooser/metadata.xml b/dev-qt/qtchooser/metadata.xml new file mode 100644 index 000000000000..dc439f7e84f5 --- /dev/null +++ b/dev-qt/qtchooser/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>qt</herd> +</pkgmetadata> diff --git a/dev-qt/qtchooser/qtchooser-0_p20150102.ebuild b/dev-qt/qtchooser/qtchooser-0_p20150102.ebuild new file mode 100644 index 000000000000..8acfc178f098 --- /dev/null +++ b/dev-qt/qtchooser/qtchooser-0_p20150102.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 x86" +IUSE="qt5 test" + +DEPEND="qt5? ( test? ( + dev-qt/qtcore:5 + dev-qt/qttest:5 + ) )" +RDEPEND=" + !<dev-qt/assistant-4.8.6:4 + !<dev-qt/designer-4.8.6:4 + !<dev-qt/linguist-4.8.6:4 + !<dev-qt/pixeltool-4.8.6:4 + !<dev-qt/qdbusviewer-4.8.6:4 + !<dev-qt/qt3support-4.8.6:4 + !<dev-qt/qtbearer-4.8.6:4 + !<dev-qt/qtcore-4.8.6:4 + !<dev-qt/qtdbus-4.8.6:4 + !<dev-qt/qtdeclarative-4.8.6:4 + !<dev-qt/qtdemo-4.8.6:4 + !<dev-qt/qtgui-4.8.6:4 + !<dev-qt/qthelp-4.8.6:4 + !<dev-qt/qtmultimedia-4.8.6:4 + !<dev-qt/qtopengl-4.8.6:4 + !<dev-qt/qtopenvg-4.8.6:4 + !<dev-qt/qtphonon-4.8.6:4 + !<dev-qt/qtscript-4.8.6:4 + !<dev-qt/qtsql-4.8.6:4 + !<dev-qt/qtsvg-4.8.6:4 + !<dev-qt/qttest-4.8.6:4 + !<dev-qt/qtwebkit-4.8.6:4 + !<dev-qt/qtxmlpatterns-4.8.6:4 +" + +qtchooser_make() { + emake \ + CXX="$(tc-getCXX)" \ + LFLAGS="${LDFLAGS}" \ + prefix="${EPREFIX}/usr" \ + "$@" +} + +src_compile() { + qtchooser_make +} + +src_test() { + use qt5 || return + + pushd tests/auto >/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} +} |