diff options
author | Sergey Ilinykh <rion4ik@gmail.com> | 2017-03-26 09:54:02 +0500 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-03-26 11:04:00 +0200 |
commit | 1fcc537e829a1b559a86c23c11a679a088438197 (patch) | |
tree | f8ddbc81998622257a801ec7f9dfcf404c0fd681 /sys-devel/qconf/qconf-2.3.ebuild | |
parent | dev-ruby/term-ansicolor: cleanup (diff) | |
download | gentoo-1fcc537e829a1b559a86c23c11a679a088438197.tar.gz gentoo-1fcc537e829a1b559a86c23c11a679a088438197.tar.bz2 gentoo-1fcc537e829a1b559a86c23c11a679a088438197.zip |
sys-devel/qconf: version bump to 2.3
Closes: https://github.com/gentoo/gentoo/pull/4298
Diffstat (limited to 'sys-devel/qconf/qconf-2.3.ebuild')
-rw-r--r-- | sys-devel/qconf/qconf-2.3.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sys-devel/qconf/qconf-2.3.ebuild b/sys-devel/qconf/qconf-2.3.ebuild new file mode 100644 index 000000000000..11d8d88cd3f0 --- /dev/null +++ b/sys-devel/qconf/qconf-2.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit qmake-utils + +DESCRIPTION="./configure like generator for qmake-based projects" +HOMEPAGE="https://github.com/psi-plus/qconf" +SRC_URI="http://psi-im.org/files/qconf/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="qt4 +qt5" + +# There is no one to one match to autotools-based configure +QA_CONFIGURE_OPTIONS=".*" + +RDEPEND=" + qt4? ( dev-qt/qtcore:4 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtxml:5 + ) +" +DEPEND="${RDEPEND}" + +REQUIRED_USE="^^ ( qt4 qt5 )" + +src_configure() { + use qt4 && QTVERSION=4 + use qt5 && QTVERSION=5 + econf \ + --qtselect="${QTVERSION}" \ + --extraconf=QMAKE_STRIP= \ + --verbose || die + + # just to set all the Gentoo toolchain flags + eqmake${QTVERSION} +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs + insinto /usr/share/doc/${PF} + doins -r examples +} |