public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/kile/
Date: Wed, 25 Dec 2019 16:27:17 +0000 (UTC)	[thread overview]
Message-ID: <1577290695.152e782c9477c239bbef995cb9a0594521f5da84.asturm@gentoo> (raw)

commit:     152e782c9477c239bbef995cb9a0594521f5da84
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 25 16:18:15 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Dec 25 16:18:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=152e782c

app-editors/kile: Port to ecm.eclass and kde.org.eclass

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-editors/kile/kile-2.9.93.ebuild | 63 ++++++++++++++++++++-----------------
 1 file changed, 34 insertions(+), 29 deletions(-)

diff --git a/app-editors/kile/kile-2.9.93.ebuild b/app-editors/kile/kile-2.9.93.ebuild
index 2d64261c3d4..e13393daca2 100644
--- a/app-editors/kile/kile-2.9.93.ebuild
+++ b/app-editors/kile/kile-2.9.93.ebuild
@@ -3,44 +3,50 @@
 
 EAPI=7
 
-KDE_HANDBOOK="forceoptional"
-inherit kde5
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.60.0
+QTMIN=5.12.3
+inherit ecm kde.org
 
 DESCRIPTION="Latex Editor and TeX shell based on KDE Frameworks"
 HOMEPAGE="https://kile.sourceforge.io/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+if [[ ${KDE_BUILD_TYPE} == release ]]; then
+	SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+	KEYWORDS="amd64 x86"
+fi
 
 LICENSE="FDL-1.2 GPL-2"
-KEYWORDS="amd64 x86"
+SLOT="5"
 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)
+	>=dev-qt/qtdbus-${QTMIN}:5
+	>=dev-qt/qtscript-${QTMIN}:5
+	>=dev-qt/qttest-${QTMIN}:5
+	>=dev-qt/qtwidgets-${QTMIN}:5
+	>=kde-apps/okular-19.04.3:5
+	>=kde-frameworks/kconfig-${KFMIN}:5
+	>=kde-frameworks/kcoreaddons-${KFMIN}:5
+	>=kde-frameworks/kcrash-${KFMIN}:5
+	>=kde-frameworks/kdbusaddons-${KFMIN}:5
+	>=kde-frameworks/kdoctools-${KFMIN}:5
+	>=kde-frameworks/kguiaddons-${KFMIN}:5
+	>=kde-frameworks/khtml-${KFMIN}:5
+	>=kde-frameworks/ki18n-${KFMIN}:5
+	>=kde-frameworks/kiconthemes-${KFMIN}:5
+	>=kde-frameworks/kinit-${KFMIN}:5
+	>=kde-frameworks/kio-${KFMIN}:5
+	>=kde-frameworks/kparts-${KFMIN}:5
+	>=kde-frameworks/ktexteditor-${KFMIN}:5
+	>=kde-frameworks/kwindowsystem-${KFMIN}:5
+	>=kde-frameworks/kxmlgui-${KFMIN}:5
 	pdf? ( app-text/poppler[qt5] )
 "
 RDEPEND="${DEPEND}
 	!app-editors/kile:4
-	$(add_kdeapps_dep konsole)
-	$(add_kdeapps_dep okular 'pdf?')
+	>=kde-apps/konsole-19.04.3:5
+	>=kde-apps/okular-19.04.3:5[pdf?]
 	virtual/latex-base
 	virtual/tex-base
 	pdf? (
@@ -59,8 +65,7 @@ PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
 
 src_configure() {
 	local mycmakeargs=(
-		$(cmake-utils_use_find_package pdf Poppler)
+		$(cmake_use_find_package pdf Poppler)
 	)
-
-	kde5_src_configure
+	ecm_src_configure
 }


             reply	other threads:[~2019-12-25 16:27 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-25 16:27 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-31 21:20 [gentoo-commits] repo/gentoo:master commit in: app-editors/kile/ Sam James
2024-07-21 16:43 Arthur Zamarin
2024-07-06 13:21 Jakov Smolić
2024-07-02 11:46 Sam James
2024-03-11  9:50 Andreas Sturmlechner
2024-03-03 18:12 Andreas Sturmlechner
2022-12-15  4:43 Arthur Zamarin
2022-12-05 18:03 Arthur Zamarin
2022-11-24 18:13 Andreas Sturmlechner
2022-10-17 20:36 Sam James
2021-11-04  5:43 Yixun Lan
2020-11-04  0:52 Sam James
2020-10-29 22:51 Thomas Deutschmann
2019-11-26 11:18 Andreas Sturmlechner
2019-11-22 10:24 Agostino Sarubbo
2019-08-16 22:52 Andreas Sturmlechner
2019-08-16 22:38 Thomas Deutschmann
2019-07-28  2:08 Andreas Sturmlechner
2019-01-16 16:13 Andreas Sturmlechner
2019-01-16 15:29 Mikle Kolyada
2019-01-09  1:36 Thomas Deutschmann
2018-06-07  5:10 Johannes Huber
2018-06-02  9:53 Mikle Kolyada
2018-05-13  6:56 Andreas Sturmlechner
2018-05-13  6:56 Andreas Sturmlechner
2018-04-29 21:18 Andreas Sturmlechner
2018-04-29 21:18 Andreas Sturmlechner
2018-02-09 23:08 Andreas Sturmlechner
2018-01-21  9:44 Johannes Huber
2018-01-04 17:16 Mikle Kolyada
2018-01-04 17:14 Mikle Kolyada
2017-12-28 18:45 Thomas Deutschmann
2017-12-27 23:26 Andreas Sturmlechner
2017-12-27 23:26 Andreas Sturmlechner
2017-12-03 12:37 Andreas Sturmlechner
2017-12-03  0:27 Andreas Sturmlechner
2017-12-03  0:27 Andreas Sturmlechner
2017-11-24 23:08 Andreas Sturmlechner
2017-09-03  9:50 Andreas Sturmlechner
2017-04-01 19:14 Andreas Sturmlechner
2017-02-03 22:28 Maciej Mrozowski
2016-07-20 18:24 Michael Palimaka
2016-07-20 18:24 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1577290695.152e782c9477c239bbef995cb9a0594521f5da84.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox