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.
59 lines
1.2 KiB
59 lines
1.2 KiB
9 years ago
|
# Copyright 1999-2015 Gentoo Foundation
|
||
10 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
10 years ago
|
|
||
|
EAPI=5
|
||
|
|
||
|
KDE_DOC_DIRS="doc"
|
||
|
KDE_HANDBOOK="optional"
|
||
|
MY_P=${P/_beta/b}
|
||
|
inherit kde4-base
|
||
|
|
||
|
DESCRIPTION="A Latex Editor and TeX shell for KDE"
|
||
|
HOMEPAGE="http://kile.sourceforge.net/"
|
||
|
[[ ${PV} != *9999* ]] && SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
|
||
|
|
||
|
LICENSE="FDL-1.2 GPL-2"
|
||
10 years ago
|
KEYWORDS="amd64 ~ppc x86"
|
||
10 years ago
|
SLOT="4"
|
||
|
IUSE="debug +pdf +png"
|
||
|
|
||
|
DEPEND="
|
||
|
x11-misc/shared-mime-info
|
||
|
"
|
||
|
RDEPEND="${DEPEND}
|
||
9 years ago
|
$(add_kdeapps_dep kdebase-data)
|
||
9 years ago
|
|| ( $(add_kdeapps_dep konsolepart) $(add_kdeapps_dep konsole) )
|
||
10 years ago
|
|| (
|
||
9 years ago
|
$(add_kdeapps_dep okular 'pdf?,postscript')
|
||
10 years ago
|
app-text/acroread
|
||
|
)
|
||
|
virtual/latex-base
|
||
|
virtual/tex-base
|
||
|
pdf? (
|
||
10 years ago
|
|| (
|
||
|
app-text/dvipdfmx
|
||
|
>=app-text/texlive-core-2014
|
||
|
)
|
||
10 years ago
|
app-text/ghostscript-gpl
|
||
|
)
|
||
|
png? (
|
||
|
app-text/dvipng
|
||
|
media-gfx/imagemagick[png]
|
||
|
)
|
||
|
"
|
||
|
|
||
|
S=${WORKDIR}/${MY_P}
|
||
|
|
||
|
DOCS=( kile-remote-control.txt )
|
||
|
|
||
|
src_prepare() {
|
||
|
kde4-base_src_prepare
|
||
|
|
||
|
# I know upstream wants to help us but it doesn't work..
|
||
|
sed -e '/INSTALL( FILES AUTHORS/s/^/#DISABLED /' \
|
||
|
-i CMakeLists.txt || die
|
||
|
|
||
|
[[ ${PV} != *9999* ]] && { use handbook || rm -fr doc ; }
|
||
|
}
|