2017-03-28 08:41:14 +03:00
|
|
|
# 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"
|
2017-10-01 01:29:21 +03:00
|
|
|
KEYWORDS="amd64 ~arm ~hppa ppc ppc64 ~sparc x86 ~x86-fbsd"
|
2017-09-24 21:16:45 +03:00
|
|
|
IUSE=""
|
2017-03-28 08:41:14 +03:00
|
|
|
|
|
|
|
# There is no one to one match to autotools-based configure
|
|
|
|
QA_CONFIGURE_OPTIONS=".*"
|
|
|
|
|
|
|
|
RDEPEND="
|
2017-09-24 21:16:45 +03:00
|
|
|
dev-qt/qtcore:5
|
|
|
|
dev-qt/qtxml:5
|
2017-03-28 08:41:14 +03:00
|
|
|
"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf \
|
2017-10-01 01:29:21 +03:00
|
|
|
--qtdir="$(qt5_get_libdir)/qt5" \
|
2017-03-28 08:41:14 +03:00
|
|
|
--extraconf=QMAKE_STRIP= \
|
2017-10-01 01:29:21 +03:00
|
|
|
--verbose
|
2017-03-28 08:41:14 +03:00
|
|
|
|
|
|
|
# just to set all the Gentoo toolchain flags
|
2017-09-24 21:16:45 +03:00
|
|
|
eqmake5
|
2017-03-28 08:41:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake INSTALL_ROOT="${D}" install
|
|
|
|
einstalldocs
|
|
|
|
insinto /usr/share/doc/${PF}
|
|
|
|
doins -r examples
|
|
|
|
}
|