summaryrefslogtreecommitdiff
path: root/net-libs/accounts-qt/accounts-qt-1.13.ebuild
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-05-12 22:43:26 +1000
committerMichael Palimaka <kensington@gentoo.org>2015-05-12 22:43:26 +1000
commit8d80529377d162d36ff445c979fefe5f674ad191 (patch)
tree029ebe0f2055c60e0390e08e57250e419288c982 /net-libs/accounts-qt/accounts-qt-1.13.ebuild
parent566f1ffe7353e0fe3231fc0e91c7eb35f939407a (diff)
downloadkde-8d80529377d162d36ff445c979fefe5f674ad191.tar.gz
kde-8d80529377d162d36ff445c979fefe5f674ad191.tar.bz2
kde-8d80529377d162d36ff445c979fefe5f674ad191.zip
[net-libs/accounts-qt] Introduce test USE flag to make dev-qt/qttest dependency optional.
Also, restrict them because they fail. Package-Manager: portage-2.2.18
Diffstat (limited to 'net-libs/accounts-qt/accounts-qt-1.13.ebuild')
-rw-r--r--net-libs/accounts-qt/accounts-qt-1.13.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-libs/accounts-qt/accounts-qt-1.13.ebuild b/net-libs/accounts-qt/accounts-qt-1.13.ebuild
index 0b442873f7f..d330f0ded40 100644
--- a/net-libs/accounts-qt/accounts-qt-1.13.ebuild
+++ b/net-libs/accounts-qt/accounts-qt-1.13.ebuild
@@ -13,25 +13,28 @@ SRC_URI="https://accounts-sso.googlecode.com/files/${PN}-1.11.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc"
+IUSE="doc test"
+
+# killed by stack smashing detector
+RESTRICT="test"
RDEPEND="
net-libs/libaccounts-glib
dev-libs/glib:2
dev-qt/qtcore:5
- dev-qt/qttest:5
dev-qt/qtxml:5
"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
+ test? ( dev-qt/qttest:5 )
"
S="${WORKDIR}/${PN}-1.11"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.11-to-1.13.patch
- sed -i -e '/^SUBDIRS/s/tests//' accounts-qt.pro || die "couldn't disable tests"
use doc || sed -e "/include( doc\/doc.pri )/d" -i ${PN}.pro || die
+ use test || sed -i -e '/^SUBDIRS/s/tests//' accounts-qt.pro || die "couldn't disable tests"
}
src_configure() {