diff options
Diffstat (limited to 'app-leechcraft/lc-monocle/lc-monocle-0.6.70.ebuild')
-rw-r--r-- | app-leechcraft/lc-monocle/lc-monocle-0.6.70.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-leechcraft/lc-monocle/lc-monocle-0.6.70.ebuild b/app-leechcraft/lc-monocle/lc-monocle-0.6.70.ebuild new file mode 100644 index 000000000000..6b871b0f0a14 --- /dev/null +++ b/app-leechcraft/lc-monocle/lc-monocle-0.6.70.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-monocle/lc-monocle-0.6.70.ebuild,v 1.1 2014/08/03 18:57:35 maksbotan Exp $ + +EAPI="5" + +inherit leechcraft + +DESCRIPTION="Monocle, the modular document viewer for LeechCraft" + +SLOT="0" +KEYWORDS=" ~amd64 ~x86" +IUSE="debug +djvu doc +fb2 +mobi +pdf +postscript" + +REQUIRED_USE="postscript? ( pdf )" + +CDEPEND="~app-leechcraft/lc-core-${PV} + pdf? ( app-text/poppler[qt4] ) + djvu? ( app-text/djvu )" + +RDEPEND="${CDEPEND} + postscript? ( app-text/ghostscript-gpl )" + +DEPEND="${CDEPEND} + doc? ( app-doc/doxygen[dot] )" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_enable djvu MONOCLE_SEEN) + $(cmake-utils_use_with doc DOCS) + $(cmake-utils_use_enable fb2 MONOCLE_FXB) + $(cmake-utils_use_enable mobi MONOCLE_DIK) + $(cmake-utils_use_enable pdf MONOCLE_PDF) + $(cmake-utils_use_enable postscript MONOCLE_POSTRUS) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + use doc && dohtml -r "${CMAKE_BUILD_DIR}"/out/html/* +}
\ No newline at end of file |