diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2016-03-23 16:32:38 +0300 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2016-03-23 16:32:38 +0300 |
commit | 764d668f5f8bb4a447eb1d478e174a3fe8463554 (patch) | |
tree | 7ecae855f3908e8900b346488ac3a72afc267efc | |
parent | net-im/psi: require Qt4 version of sys-devel/qconf (diff) | |
download | gentoo-764d668f5f8bb4a447eb1d478e174a3fe8463554.tar.gz gentoo-764d668f5f8bb4a447eb1d478e174a3fe8463554.tar.bz2 gentoo-764d668f5f8bb4a447eb1d478e174a3fe8463554.zip |
sys-devel/qconf: version bump to 2.0
Package-Manager: portage-2.2.28
-rw-r--r-- | sys-devel/qconf/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/qconf/qconf-2.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-devel/qconf/Manifest b/sys-devel/qconf/Manifest index 95d8d19e5f37..adfa77ac7b5a 100644 --- a/sys-devel/qconf/Manifest +++ b/sys-devel/qconf/Manifest @@ -1 +1,2 @@ DIST qconf-1.5_pre717.tar.bz2 42010 SHA256 16ece50ac3f9533cf05d7abb44a025503ef8a3ea985fb70ba4c2224f27fdf903 SHA512 c3dcabe1d8aeaf1cabacd6e2e37dcbaaea85b28ec212fa2a0a48cfeec6b0bddea35eb2bd1828a5985daad3f2ad5e2cb6edaa2fbf3fda54b9fd3cfa64d5d3aa99 WHIRLPOOL e351cc97b30b1d166d8a6cf6327833c49a95c55c68ae50959e2b0fd0d12b86ade638348cc816e665d01692abf3ea0f8721400ba89243badd2c8cda0380f2d1e6 +DIST qconf-2.0.tar.bz2 50507 SHA256 772022c9757530c192d3bb1d31c4d6076b3464a8395dc06d3019923c44f999f2 SHA512 8820dfe191149b8bf7aa2cd631a6c4900b821c30817c6bffcf79734271c47165daceef11507690d495881c8dc8d19f8dec441c7adeb2a3e36b355b66b4f5c43a WHIRLPOOL facc512a3df046e131825a45afc928b76d8c87446b8d4161695165e6551cebfb586497b2cad3c69a9a75afa0791b9c915e6f7019ead9925d867c01d7bd573f09 diff --git a/sys-devel/qconf/qconf-2.0.ebuild b/sys-devel/qconf/qconf-2.0.ebuild new file mode 100644 index 000000000000..8414d6d9adfe --- /dev/null +++ b/sys-devel/qconf/qconf-2.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit qmake-utils + +DESCRIPTION="./configure like generator for qmake-based projects" +HOMEPAGE="http://delta.affinix.com/qconf/" +SRC_URI="http://delta.affinix.com/download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="+qt4 qt5" + +RDEPEND=" + qt4? ( dev-qt/qtcore:4 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtxml:5 + ) +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS README.md TODO ) + +REQUIRED_USE="^^ ( qt4 qt5 )" + +src_configure() { + # Fake ./configure. Fails on unknown options + ./configure \ + --prefix="${EPREFIX}/usr" \ + $(use qt4 && echo "--qtdir=$(qt4_get_libdir)") \ + $(use qt5 && echo "--qtdir=$(qt5_get_libdir)/qt5") \ + --extraconf=QMAKE_STRIP= \ + --verbose || die + + [ ! -f Makefile ] && die "Makefile generation failure" + + use qt4 && eqmake4 + use qt5 && eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${ED}" install + einstalldocs + insinto /usr/share/doc/${PF} + doins -r examples +} |