/[gentoo-x86]/app-editors/kile/kile-2.1.3-r1.ebuild
Gentoo

Contents of /app-editors/kile/kile-2.1.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Nov 4 03:35:58 2014 UTC (4 years, 7 months ago) by patrick
Branch: MAIN
Changes since 1.2: +5 -2 lines
Fix dependencies for new texlive #528116

(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/kile/kile-2.1.3-r1.ebuild,v 1.2 2014/04/26 11:42:42 johu Exp $
4
5 EAPI=5
6
7 KDE_DOC_DIRS="doc"
8 KDE_HANDBOOK="optional"
9 MY_P=${P/_beta/b}
10 inherit kde4-base
11
12 DESCRIPTION="A Latex Editor and TeX shell for KDE"
13 HOMEPAGE="http://kile.sourceforge.net/"
14 [[ ${PV} != *9999* ]] && SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
15
16 LICENSE="FDL-1.2 GPL-2"
17 KEYWORDS="amd64 ~ppc x86"
18 SLOT="4"
19 IUSE="debug +pdf +png"
20
21 DEPEND="
22 x11-misc/shared-mime-info
23 "
24 RDEPEND="${DEPEND}
25 $(add_kdebase_dep kdebase-data)
26 || (
27 $(add_kdebase_dep okular 'pdf?,postscript')
28 app-text/acroread
29 )
30 virtual/latex-base
31 virtual/tex-base
32 pdf? (
33 || (
34 app-text/dvipdfmx
35 >=app-text/texlive-core-2014
36 )
37 app-text/ghostscript-gpl
38 )
39 png? (
40 app-text/dvipng
41 media-gfx/imagemagick[png]
42 )
43 "
44
45 S=${WORKDIR}/${MY_P}
46
47 DOCS=( kile-remote-control.txt )
48
49 src_prepare() {
50 kde4-base_src_prepare
51
52 # I know upstream wants to help us but it doesn't work..
53 sed -e '/INSTALL( FILES AUTHORS/s/^/#DISABLED /' \
54 -i CMakeLists.txt || die
55
56 [[ ${PV} != *9999* ]] && { use handbook || rm -fr doc ; }
57 }

  ViewVC Help
Powered by ViewVC 1.1.20