You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
715 B
28 lines
715 B
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-text/leechcraft-monocle/leechcraft-monocle-9999.ebuild,v 1.4 2012/12/21 13:33:09 pinkbyte Exp $
|
|
|
|
EAPI="4"
|
|
|
|
inherit leechcraft
|
|
|
|
DESCRIPTION="Monocle, the modular document viewer for LeechCraft."
|
|
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
IUSE="+djvu debug +fb2 +pdf"
|
|
|
|
DEPEND="~net-misc/leechcraft-core-${PV}
|
|
pdf? ( app-text/poppler[qt4] )
|
|
djvu? ( app-text/djvu )"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_configure() {
|
|
local mycmakeargs="
|
|
$(cmake-utils_use_enable djvu MONOCLE_SEEN)
|
|
$(cmake-utils_use_enable fb2 MONOCLE_FXB)
|
|
$(cmake-utils_use_enable pdf MONOCLE_PDF)"
|
|
|
|
cmake-utils_src_configure
|
|
}
|