| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
case $PV in *9999*) VCS_ECLASS="git-r3" ;; *) VCS_ECLASS="" ;; esac
inherit qmake-utils ${VCS_ECLASS}
DESCRIPTION="./configure like generator for qmake-based projects"
HOMEPAGE="https://github.com/psi-im/qconf"
if [ -n "${VCS_ECLASS}" ]; then
KEYWORDS=""
EGIT_REPO_URI="https://github.com/psi-im/qconf.git"
else
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
SRC_URI="http://psi-im.org/files/qconf/${P}.tar.xz"
fi
LICENSE="GPL-2"
SLOT="0"
# There is no one to one match to autotools-based configure
QA_CONFIGURE_OPTIONS=".*"
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtxml:5
"
DEPEND="${RDEPEND}"
src_configure() {
econf \
--qtselect=5 \
--extraconf=QMAKE_STRIP= \
--verbose || die
# just to set all the Gentoo toolchain flags
eqmake5
}
src_install() {
emake INSTALL_ROOT="${D}" install
einstalldocs
insinto /usr/share/doc/${PF}
doins -r examples
}
dev-qt/qtcore:5 dev-qt/qtxml:5
dev-qt/qtcore:5 dev-qt/qtxml:5