diff options
Diffstat (limited to 'app-editors/kile')
-rw-r--r-- | app-editors/kile/Manifest | 2 | ||||
-rw-r--r-- | app-editors/kile/kile-2.9.91_p20180208.ebuild | 73 |
2 files changed, 75 insertions, 0 deletions
diff --git a/app-editors/kile/Manifest b/app-editors/kile/Manifest index 4dfcc91fe804..d6819fe49f75 100644 --- a/app-editors/kile/Manifest +++ b/app-editors/kile/Manifest @@ -1,3 +1,5 @@ DIST kile-2.9.91_p20171209.tar.gz 3624273 BLAKE2B d6e4798869b8f5be7a2a6b00b1b067957245373f560a7485334ce1f3f932670a0cb8ef0b551fde2eea1d54a6114e8405025dbd3daea587a2d30b74fe614d332e SHA512 b7e4a6e434057cf04e8712f543cdd74a40659843b1e2777d0a031b5a665e1de34e36ec9b3f5d9bd3bf9202f9dca8595fcee9a81ab4875bc4b6da3a2fb449b2c6 +DIST kile-2.9.91_p20180208.tar.gz 3635083 BLAKE2B 0579dac072a97f152009a4462759f40bfcdff4d4b6d463affcba7d71cda023f8c43d2173511bd268be22f2cc4412f091ec7ab70793e16781f5cf2023b1303db0 SHA512 24bc9221524f2213b0651d96273f35871a5fdf5c65edc4a5d72cb6e2635b1d23e55549ba60172a94691b7793d0a57e116cd94010be28e61231b8ee59b3f369dd EBUILD kile-2.9.91_p20171209.ebuild 1706 BLAKE2B ec74f5a929c6175221729fe36f1510134f2b08a66c9cc189a6f318d1f53b514028597b52ba049f8086a34cb503cba44a87489eee7311f6136314ee1c7b0ff2d4 SHA512 82aed7dc966deb239c17ddcd4b4b62a5a8f5e50c36d6fb544f4cec206732be514f69d59852fc8b0cdee3290ea22a981c1a7466a56a8954738d969096e176520a +EBUILD kile-2.9.91_p20180208.ebuild 1708 BLAKE2B 4d47bcaedbc0587eed8267aff223ff7c6fc9908a23a4f15df603f96cc8abe1cf464b777c69131f658caad44fc218a9e1a65361a4ae12e9aaa7b70d044e59575a SHA512 03fdf7f5545ac7eaa20dd5b9e8d9e56238c295c42dc96324fd4fb1d00a0169768a204faed7e180340d37217c57b8bca68959941e19c10b410d26b327830884dc MISC metadata.xml 476 BLAKE2B a152c0446aad3c66df2574332dc89f6797a16db142daafc82c3845f159b68bfcb922615f5912429d9965141ede27945512e5af1f5811ccbfa761026cc105b4b3 SHA512 82eaa93d944622e571887200fc50166b34ad4098ca2612749e72fff4e80f9f3fa07736cb8cd171fe3258fcd18209f7e60b01c859ad3cf20e4e238eab9dc3e486 diff --git a/app-editors/kile/kile-2.9.91_p20180208.ebuild b/app-editors/kile/kile-2.9.91_p20180208.ebuild new file mode 100644 index 000000000000..61b5aa39876b --- /dev/null +++ b/app-editors/kile/kile-2.9.91_p20180208.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +COMMIT=be912e1b8644053d80e5e37d3ccd07448670fb10 +KDE_HANDBOOK="forceoptional" +inherit kde5 vcs-snapshot + +DESCRIPTION="Latex Editor and TeX shell based on KDE Frameworks" +HOMEPAGE="https://kile.sourceforge.io/" +SRC_URI="https://github.com/KDE/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="FDL-1.2 GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="+pdf +png" + +DEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep kdoctools) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep khtml) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kinit) + $(add_frameworks_dep kio) + $(add_frameworks_dep kparts) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_kdeapps_dep okular) + $(add_qt_dep qtdbus) + $(add_qt_dep qtscript) + $(add_qt_dep qttest) + $(add_qt_dep qtwidgets) + pdf? ( app-text/poppler[qt5] ) +" +RDEPEND="${DEPEND} + !app-editors/kile:4 + $(add_kdeapps_dep konsole) + $(add_kdeapps_dep okular 'pdf?') + virtual/latex-base + virtual/tex-base + pdf? ( + >=app-text/texlive-core-2014 + app-text/ghostscript-gpl + ) + png? ( + app-text/dvipng + virtual/imagemagick-tools[png?] + ) +" + +DOCS=( kile-remote-control.txt ) + +src_prepare() { + kde5_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 +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package pdf Poppler) + ) + + kde5_src_configure +} |