-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
-IUSE="debug doc examples icu test zlib"
+IUSE="debug doc icu test zlib"
RDEPEND="
dev-qt/qtcore:4[ssl]
dev-qt/qtgui:4
dev-qt/qtsql:4
- examples? ( dev-qt/qtwebkit:4 )
icu? ( dev-libs/icu:= )
zlib? ( sys-libs/zlib )
"
sed -i -e '/SUBDIRS.*=/s/benchmarks//' messagingframework.pro || die
- if ! use examples; then
- sed -i -e '/SUBDIRS.*=/s/examples//' messagingframework.pro || die
- fi
+ # disable examples which require dev-qt/qtwebkit:4
+ sed -i -e '/SUBDIRS.*=/s/examples//' messagingframework.pro || die
+
if ! use test; then
sed -i -e '/SUBDIRS.*=/s/tests//' messagingframework.pro || die
fi