Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/kile/
Date: Fri, 09 Feb 2018 23:08:56
Message-Id: 1518217715.e36480f861b6023e0fb14f814d846801d527bc03.asturm@gentoo
1 commit: e36480f861b6023e0fb14f814d846801d527bc03
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 9 22:50:42 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 9 23:08:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e36480f8
7
8 app-editors/kile: Add 2.9.91_p20180208 snapshot
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-editors/kile/Manifest | 1 +
13 app-editors/kile/kile-2.9.91_p20180208.ebuild | 73 +++++++++++++++++++++++++++
14 2 files changed, 74 insertions(+)
15
16 diff --git a/app-editors/kile/Manifest b/app-editors/kile/Manifest
17 index 8e9da89d7bd..95ec48b0920 100644
18 --- a/app-editors/kile/Manifest
19 +++ b/app-editors/kile/Manifest
20 @@ -1 +1,2 @@
21 DIST kile-2.9.91_p20171209.tar.gz 3624273 BLAKE2B d6e4798869b8f5be7a2a6b00b1b067957245373f560a7485334ce1f3f932670a0cb8ef0b551fde2eea1d54a6114e8405025dbd3daea587a2d30b74fe614d332e SHA512 b7e4a6e434057cf04e8712f543cdd74a40659843b1e2777d0a031b5a665e1de34e36ec9b3f5d9bd3bf9202f9dca8595fcee9a81ab4875bc4b6da3a2fb449b2c6
22 +DIST kile-2.9.91_p20180208.tar.gz 3635083 BLAKE2B 0579dac072a97f152009a4462759f40bfcdff4d4b6d463affcba7d71cda023f8c43d2173511bd268be22f2cc4412f091ec7ab70793e16781f5cf2023b1303db0 SHA512 24bc9221524f2213b0651d96273f35871a5fdf5c65edc4a5d72cb6e2635b1d23e55549ba60172a94691b7793d0a57e116cd94010be28e61231b8ee59b3f369dd
23
24 diff --git a/app-editors/kile/kile-2.9.91_p20180208.ebuild b/app-editors/kile/kile-2.9.91_p20180208.ebuild
25 new file mode 100644
26 index 00000000000..61b5aa39876
27 --- /dev/null
28 +++ b/app-editors/kile/kile-2.9.91_p20180208.ebuild
29 @@ -0,0 +1,73 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +COMMIT=be912e1b8644053d80e5e37d3ccd07448670fb10
36 +KDE_HANDBOOK="forceoptional"
37 +inherit kde5 vcs-snapshot
38 +
39 +DESCRIPTION="Latex Editor and TeX shell based on KDE Frameworks"
40 +HOMEPAGE="https://kile.sourceforge.io/"
41 +SRC_URI="https://github.com/KDE/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="FDL-1.2 GPL-2"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="+pdf +png"
46 +
47 +DEPEND="
48 + $(add_frameworks_dep kconfig)
49 + $(add_frameworks_dep kcoreaddons)
50 + $(add_frameworks_dep kcrash)
51 + $(add_frameworks_dep kdbusaddons)
52 + $(add_frameworks_dep kdoctools)
53 + $(add_frameworks_dep kguiaddons)
54 + $(add_frameworks_dep khtml)
55 + $(add_frameworks_dep ki18n)
56 + $(add_frameworks_dep kiconthemes)
57 + $(add_frameworks_dep kinit)
58 + $(add_frameworks_dep kio)
59 + $(add_frameworks_dep kparts)
60 + $(add_frameworks_dep ktexteditor)
61 + $(add_frameworks_dep kwindowsystem)
62 + $(add_frameworks_dep kxmlgui)
63 + $(add_kdeapps_dep okular)
64 + $(add_qt_dep qtdbus)
65 + $(add_qt_dep qtscript)
66 + $(add_qt_dep qttest)
67 + $(add_qt_dep qtwidgets)
68 + pdf? ( app-text/poppler[qt5] )
69 +"
70 +RDEPEND="${DEPEND}
71 + !app-editors/kile:4
72 + $(add_kdeapps_dep konsole)
73 + $(add_kdeapps_dep okular 'pdf?')
74 + virtual/latex-base
75 + virtual/tex-base
76 + pdf? (
77 + >=app-text/texlive-core-2014
78 + app-text/ghostscript-gpl
79 + )
80 + png? (
81 + app-text/dvipng
82 + virtual/imagemagick-tools[png?]
83 + )
84 +"
85 +
86 +DOCS=( kile-remote-control.txt )
87 +
88 +src_prepare() {
89 + kde5_src_prepare
90 +
91 + # I know upstream wants to help us but it doesn't work..
92 + sed -e '/INSTALL( FILES AUTHORS/s/^/#DISABLED /' \
93 + -i CMakeLists.txt || die
94 +}
95 +
96 +src_configure() {
97 + local mycmakeargs=(
98 + $(cmake-utils_use_find_package pdf Poppler)
99 + )
100 +
101 + kde5_src_configure
102 +}