diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /dev-qt/qtchooser | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'dev-qt/qtchooser')
-rw-r--r-- | dev-qt/qtchooser/Manifest | 2 | ||||
-rw-r--r-- | dev-qt/qtchooser/qtchooser-66.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-qt/qtchooser/Manifest b/dev-qt/qtchooser/Manifest index 3550f31dc4a9..d5347abf7913 100644 --- a/dev-qt/qtchooser/Manifest +++ b/dev-qt/qtchooser/Manifest @@ -1,3 +1,5 @@ DIST qtchooser-0_p20170803.tar.xz 32012 BLAKE2B a0363ccebfd17c2ad514afbaf7ea80456826a42b88badff3a2ff4259745721f336a1b034f4a51831832f5b2dcd042c7c010c47e0f17b77ecacc5520f0c6f8d53 SHA512 320d898617ad52392fe24834e99ace685dac84e3a7edb1f6e6358baadb6658a51b02ae1af465ef5e081485a002c787c6884b6e1637ffd0406767fe7555fc32a7 +DIST qtchooser-66.tar.xz 32008 BLAKE2B 1faf4a44406655621e65132289af6a8b0d23f0c1027a3b99017c3951705378bebcfbc3cb32aa59975a101f21294ff701ca6eb6ec18ce977b714a426be0fbcd6d SHA512 0c7d3588ddd7b21e6e9d799204924e06e0b0950c898dfd23088f1e7657b7f821a35579aa062658499809f9d9757e82c3c592591aa2e5ec453463929bf2b33bac EBUILD qtchooser-0_p20170803.ebuild 1570 BLAKE2B c386764d8072ba9066f35a1948e173e7cf87bb24cf59853bd24c8b088c050ef620e9e2d34e24ababdd0baf639af3d1e561121f3dd48565ea5f11d9da49ef0096 SHA512 4650af4d9066f9b1ceadff18a02f38634e27ae974fbaa7c1c1894561d0d589900107517c167c2e624b9b5ea51a0c01f9e09c532e6b41da01eb763101f7f57ba3 +EBUILD qtchooser-66.ebuild 990 BLAKE2B 4daa9c42f155e87fb30b94e17494ffcee41ab77b114e1ad1773c03ac2c89d27ccef8394bea2a1e3db615f7e523aef0c67eb9b946f8f56a979fb8532db6181428 SHA512 3865f51a28a2772e1c1a59d90b2652b0380b6fcb9d0e711f53377936621d9ce7e4cee0d78385e2b0f358d9ff45ced66f3b4d1e4f46a55c700f58b9af960b99c9 MISC metadata.xml 247 BLAKE2B 1428e575bd9b69424c4711499480493ae371840c146149819dc41c38335cbd16d7ce50ce8f6b7be1b77db73092ed6900a9a2d8032cc790058a56e533b01f562d SHA512 b43c8e84c3c753b49b203921a5aca792639a36d6efdbe16c069ff9abfbce0585718bb3824c03abdd7bd19ada13fb0a98a378c85ed369ac5fdc53ad3b3d5465d2 diff --git a/dev-qt/qtchooser/qtchooser-66.ebuild b/dev-qt/qtchooser/qtchooser-66.ebuild new file mode 100644 index 000000000000..6582e4b0d479 --- /dev/null +++ b/dev-qt/qtchooser/qtchooser-66.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils toolchain-funcs + +DESCRIPTION="Tool to quickly switch between multiple Qt installations" +HOMEPAGE="https://code.qt.io/cgit/qtsdk/qtchooser.git/" +SRC_URI="http://download.qt.io/official_releases/${PN}/${P}.tar.xz" + +LICENSE="|| ( LGPL-2.1 GPL-3 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="test" + +DEPEND="test? ( + dev-qt/qtcore:5 + dev-qt/qttest:5 + )" +RDEPEND="" + +qtchooser_make() { + emake \ + CXX="$(tc-getCXX)" \ + LFLAGS="${LDFLAGS}" \ + prefix="${EPREFIX}/usr" \ + "$@" +} + +src_compile() { + qtchooser_make +} + +src_test() { + 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} +} |