diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-leechcraft/lc-monocle/lc-monocle-9999.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-leechcraft/lc-monocle/lc-monocle-9999.ebuild')
-rw-r--r-- | app-leechcraft/lc-monocle/lc-monocle-9999.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-leechcraft/lc-monocle/lc-monocle-9999.ebuild b/app-leechcraft/lc-monocle/lc-monocle-9999.ebuild new file mode 100644 index 000000000000..fcd13b3dd384 --- /dev/null +++ b/app-leechcraft/lc-monocle/lc-monocle-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit leechcraft + +DESCRIPTION="Monocle, the modular document viewer for LeechCraft" + +SLOT="0" +KEYWORDS="" +IUSE="debug +djvu doc +fb2 +mobi +pdf +postscript" + +REQUIRED_USE="postscript? ( pdf )" + +CDEPEND="~app-leechcraft/lc-core-${PV} + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + dev-qt/qtconcurrent:5 + dev-qt/qtprintsupport:5 + dev-qt/qtxml:5 + pdf? ( app-text/poppler[qt5] ) + djvu? ( app-text/djvu )" + +RDEPEND="${CDEPEND} + postscript? ( app-text/ghostscript-gpl )" + +DEPEND="${CDEPEND} + doc? ( app-doc/doxygen[dot] )" + +src_configure() { + local mycmakeargs=( + -DENABLE_MONOCLE_SEEN=$(usex djvu) + -DWITH_DOCS=$(usex doc) + -DENABLE_MONOCLE_FXB=$(usex fb2) + -DENABLE_MONOCLE_DIK=$(usex mobi) + -DENABLE_MONOCLE_PDF=$(usex pdf) + -DENABLE_MONOCLE_POSTRUS=$(usex postscript) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + use doc && dodoc -r "${CMAKE_BUILD_DIR}"/out/html/* +} |