diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2015-05-12 04:24:32 +1000 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2015-05-12 04:24:32 +1000 |
| commit | d76f8841e03a434e5c85aba1f9ce6c4a8979e6ba (patch) | |
| tree | 946b7addb2fcf0b8a56ee959d7ddcde4a9e77d95 | |
| parent | 0bd80237694c991392157898deb59820d3ae64e2 (diff) | |
| download | kde-d76f8841e03a434e5c85aba1f9ce6c4a8979e6ba.tar.gz kde-d76f8841e03a434e5c85aba1f9ce6c4a8979e6ba.tar.bz2 kde-d76f8841e03a434e5c85aba1f9ce6c4a8979e6ba.zip | |
[net-libs/accounts-qt] Introduce doc USE flag.
This avoids build failure with app-doc/doxygen is missing.
Package-Manager: portage-2.2.18
| -rw-r--r-- | net-libs/accounts-qt/accounts-qt-1.13.ebuild | 9 |
1 files 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 a031fbaa42d..0b442873f7f 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() { |
