/[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.5 - (show annotations) (download)
Thu Jun 4 18:58:57 2015 UTC (4 years ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +5 -5 lines
Move various kde-base packages to kde-apps.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)

1 # Copyright 1999-2015 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.4 2014/12/08 16:34:07 kensington 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_kdeapps_dep kdebase-data)
26 $(add_kdeapps_dep konsole)
27 || (
28 $(add_kdeapps_dep okular 'pdf?,postscript')
29 app-text/acroread
30 )
31 virtual/latex-base
32 virtual/tex-base
33 pdf? (
34 || (
35 app-text/dvipdfmx
36 >=app-text/texlive-core-2014
37 )
38 app-text/ghostscript-gpl
39 )
40 png? (
41 app-text/dvipng
42 media-gfx/imagemagick[png]
43 )
44 "
45
46 S=${WORKDIR}/${MY_P}
47
48 DOCS=( kile-remote-control.txt )
49
50 src_prepare() {
51 kde4-base_src_prepare
52
53 # I know upstream wants to help us but it doesn't work..
54 sed -e '/INSTALL( FILES AUTHORS/s/^/#DISABLED /' \
55 -i CMakeLists.txt || die
56
57 [[ ${PV} != *9999* ]] && { use handbook || rm -fr doc ; }
58 }

  ViewVC Help
Powered by ViewVC 1.1.20