From d831bd870e20f5d70f9839bc8a4a07cb9b8b78fd Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 11 Feb 2017 20:21:50 +0100 Subject: app-editors/kile: Depend on virtual/imagemagick-tools Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/3907 --- app-editors/kile/kile-2.1.3-r2.ebuild | 62 ----------------------------------- app-editors/kile/kile-2.1.3-r3.ebuild | 57 ++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 62 deletions(-) delete mode 100644 app-editors/kile/kile-2.1.3-r2.ebuild create mode 100644 app-editors/kile/kile-2.1.3-r3.ebuild diff --git a/app-editors/kile/kile-2.1.3-r2.ebuild b/app-editors/kile/kile-2.1.3-r2.ebuild deleted file mode 100644 index cf5ea9072ab..00000000000 --- a/app-editors/kile/kile-2.1.3-r2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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" -KEYWORDS="amd64 x86" -SLOT="4" -IUSE="debug +pdf +png" - -DEPEND=" - x11-misc/shared-mime-info -" -RDEPEND="${DEPEND} - $(add_kdeapps_dep kdebase-data) - $(add_kdeapps_dep konsolepart) - || ( - kde-apps/okular[pdf?,postscript] - app-text/evince - app-text/acroread - ) - virtual/latex-base - virtual/tex-base - pdf? ( - || ( - app-text/dvipdfmx - >=app-text/texlive-core-2014 - ) - app-text/ghostscript-gpl - ) - png? ( - app-text/dvipng - || ( - media-gfx/imagemagick[png] - media-gfx/graphicsmagick[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 ; } -} diff --git a/app-editors/kile/kile-2.1.3-r3.ebuild b/app-editors/kile/kile-2.1.3-r3.ebuild new file mode 100644 index 00000000000..10cbb637086 --- /dev/null +++ b/app-editors/kile/kile-2.1.3-r3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" +KEYWORDS="amd64 x86" +SLOT="4" +IUSE="debug +pdf +png" + +DEPEND=" + x11-misc/shared-mime-info +" +RDEPEND="${DEPEND} + $(add_kdeapps_dep kdebase-data) + $(add_kdeapps_dep konsolepart) + || ( + kde-apps/okular[pdf?,postscript] + app-text/evince + app-text/acroread + ) + virtual/imagemagick-tools[png?] + virtual/latex-base + virtual/tex-base + pdf? ( + || ( + app-text/dvipdfmx + >=app-text/texlive-core-2014 + ) + app-text/ghostscript-gpl + ) + png? ( app-text/dvipng ) +" + +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 ; } +} -- cgit v1.2.1