commit: d76f8841e03a434e5c85aba1f9ce6c4a8979e6ba Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Mon May 11 18:24:32 2015 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Mon May 11 18:24:32 2015 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d76f8841
[net-libs/accounts-qt] Introduce doc USE flag. This avoids build failure with app-doc/doxygen is missing. Package-Manager: portage-2.2.18 net-libs/accounts-qt/accounts-qt-1.13.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net-libs/accounts-qt/accounts-qt-1.13.ebuild b/net-libs/accounts-qt/accounts-qt-1.13.ebuild index a031fba..0b44287 100644 --- a/net-libs/accounts-qt/accounts-qt-1.13.ebuild +++ b/net-libs/accounts-qt/accounts-qt-1.13.ebuild @@ -13,20 +13,25 @@ SRC_URI="https://accounts-sso.googlecode.com/files/${PN}-1.11.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="doc" -DEPEND=" +RDEPEND=" net-libs/libaccounts-glib dev-libs/glib:2 dev-qt/qtcore:5 dev-qt/qttest:5 dev-qt/qtxml:5 " -RDEPEND="${DEPEND}" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) +" 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 } src_configure() {
