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: kde-misc/kdiff3/
Date: Sun,  3 Sep 2017 09:27:29 +0000 (UTC)	[thread overview]
Message-ID: <1504430840.a6c0c2f43a3e498095a6194f163da2aab2a198e9.asturm@gentoo> (raw)

commit:     a6c0c2f43a3e498095a6194f163da2aab2a198e9
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  3 09:24:50 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Sep  3 09:27:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6c0c2f4

kde-misc/kdiff3: Drop USE=debug,handbook,kde,qt4

kde-frameworks/kdelibs is deprecated and going to be removed.
Plasma users are served well by the kf5-based snapshot, everyone else
probably does not care about USE=kde in this version of kdiff3 anymore.

- Remove obsolete REQUIRED_USE
- Bump to EAPI 6
- Drop kde4-base.eclass
- sed in place and add missing || die

KDE_LINGUAS and USE=handbook only ever worked with USE=kde enabled.
The remaining bits and pieces install exactly as USE=-kde did before.

Gentoo-bug: 629018
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 kde-misc/kdiff3/kdiff3-0.9.98-r1.ebuild | 89 +++++++--------------------------
 1 file changed, 18 insertions(+), 71 deletions(-)

diff --git a/kde-misc/kdiff3/kdiff3-0.9.98-r1.ebuild b/kde-misc/kdiff3/kdiff3-0.9.98-r1.ebuild
index 56c3427c41e..3490fd344f0 100644
--- a/kde-misc/kdiff3/kdiff3-0.9.98-r1.ebuild
+++ b/kde-misc/kdiff3/kdiff3-0.9.98-r1.ebuild
@@ -1,101 +1,48 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-if [[ ${PV} != *9999* ]]; then
-	KDE_LINGUAS="ar bg br bs ca ca@valencia cs cy da de el en_GB eo es et fr ga
-	gl hi hne hr hu is it ja ka lt mai ml nb nds nl nn pl pt pt_BR ro ru rw sk
-	sv ta tg tr ug uk zh_CN zh_TW"
-	SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-	KEYWORDS="amd64 x86 ~amd64-linux"
-	KDE_HANDBOOK="optional"
-else
-	KEYWORDS=""
-fi
-
-KDE_REQUIRED="optional"
-inherit kde4-base qmake-utils
+inherit qmake-utils
 
 DESCRIPTION="Qt/KDE based frontend to diff3"
 HOMEPAGE="http://kdiff3.sourceforge.net/"
-EGIT_REPO_URI=( "git://git.code.sf.net/p/kdiff3/code" )
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="4"
-IUSE="debug kde +qt4 qt5"
-
-REQUIRED_USE="kde? ( qt4 )
-	^^ ( qt4 qt5 )"
+KEYWORDS="amd64 x86 ~amd64-linux"
+IUSE="qt5"
 
-CDEPEND="
-	qt4? ( dev-qt/qtcore:4
+DEPEND="
+	!qt5? ( dev-qt/qtcore:4
 		dev-qt/qtgui:4 )
 	qt5? ( dev-qt/qtcore:5
 		dev-qt/qtgui:5
 		dev-qt/qtprintsupport:5
 		dev-qt/qtwidgets:5 )
-	kde? ( kde-frameworks/kdelibs:4 )
-"
-DEPEND="${CDEPEND}
-	sys-devel/gettext
 "
-RDEPEND="${CDEPEND}
+RDEPEND="${DEPEND}
 	sys-apps/diffutils
 "
 
-RESTRICT="!kde? ( test )"
-
-PATCHES=( "${FILESDIR}/${P}-kdelibs-4.14.11.patch" )
-
-src_unpack(){
-	if [[ ${PV} == *9999* ]]; then
-		git-r3_src_unpack
-		mv "${S}"/${PN}/* "${S}" || die
-	else
-		default
-	fi
-}
+RESTRICT="test"
 
 src_prepare() {
-	if ! use kde; then
-		# adapt to Gentoo paths
-		sed -e s,documentation.path.*$,documentation.path\ =\ "${EPREFIX}"/usr/share/doc/"${PF}", \
-		-e s,target.path.*$,target.path\ =\ "${EPREFIX}"/usr/bin, \
-		"${S}"/src-QT4/kdiff3.pro > "${S}"/src-QT4/kdiff3_fixed.pro
-	else
-		kde4-base_src_prepare
-	fi
+	default
+	# adapt to Gentoo paths
+	sed -e s,documentation.path.*$,documentation.path\ =\ "${EPREFIX}"/usr/share/doc/"${PF}", \
+		-e s,target.path.*$,target.path\ =\ "${EPREFIX}"/usr/bin, -i src-QT4/kdiff3.pro || die
 }
 
 src_configure() {
-	if use kde; then
-		kde4-base_src_configure
-	elif use qt4; then
-		eqmake4 "${S}"/src-QT4/kdiff3_fixed.pro
+	if ! use qt5; then
+		eqmake4 "${S}"/src-QT4/kdiff3.pro
 	else
-		eqmake5 "${S}"/src-QT4/kdiff3_fixed.pro
-	fi
-}
-
-src_compile() {
-	if use kde; then
-		kde4-base_src_compile
-	else
-		default
+		eqmake5 "${S}"/src-QT4/kdiff3.pro
 	fi
 }
 
 src_install() {
-	if use kde; then
-		kde4-base_src_install
-	else
-		emake INSTALL_ROOT="${D}" install
-	fi
-}
-
-src_test() {
-	if use kde; then
-		kde4-base_src_test
-	fi
+	emake INSTALL_ROOT="${D}" install
 }


             reply	other threads:[~2017-09-03  9:27 UTC|newest]

Thread overview: 114+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-03  9:27 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-23  7:49 [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdiff3/ Andreas Sturmlechner
2025-02-10 23:18 Sam James
2024-12-12 21:49 Andreas Sturmlechner
2024-12-06  7:49 Sam James
2024-11-08 16:26 Andreas Sturmlechner
2024-10-01 19:27 Andreas Sturmlechner
2024-09-29  0:14 Sam James
2024-09-12 19:29 Andreas Sturmlechner
2024-09-12 19:29 Andreas Sturmlechner
2024-09-07 17:48 Andreas Sturmlechner
2024-09-02 12:44 Andreas Sturmlechner
2024-08-31 21:19 Sam James
2024-08-11  6:54 Andreas Sturmlechner
2024-08-10  7:57 Andreas Sturmlechner
2024-08-09  8:39 Arthur Zamarin
2024-07-21 16:43 Arthur Zamarin
2024-07-02 11:46 Sam James
2024-06-29 18:08 Andreas Sturmlechner
2024-06-29 16:34 Andreas Sturmlechner
2024-06-29 16:34 Andreas Sturmlechner
2024-06-17 19:13 Andreas Sturmlechner
2024-06-17  5:54 Arthur Zamarin
2024-06-17  5:19 Arthur Zamarin
2024-05-20 21:05 Andreas Sturmlechner
2024-01-12  8:17 Arthur Zamarin
2024-01-12  8:17 Arthur Zamarin
2023-12-12 12:12 Andreas Sturmlechner
2023-10-15 10:15 Andreas Sturmlechner
2023-10-15  9:14 Sam James
2023-10-14 16:52 Arthur Zamarin
2023-10-01 11:12 Andreas Sturmlechner
2023-10-01 11:12 Andreas Sturmlechner
2023-09-26 18:04 Andreas Sturmlechner
2023-08-03 17:11 Andreas Sturmlechner
2023-07-11 19:21 Andreas Sturmlechner
2023-05-28 18:45 Andreas Sturmlechner
2023-05-23 18:56 Arthur Zamarin
2023-05-23 18:40 Arthur Zamarin
2023-05-18 11:29 Andreas Sturmlechner
2023-05-18 11:29 Andreas Sturmlechner
2023-05-16 19:17 Andreas Sturmlechner
2023-05-03 11:31 Andreas Sturmlechner
2023-05-03 11:31 Andreas Sturmlechner
2023-03-30 18:18 Andreas Sturmlechner
2023-03-30 18:18 Andreas Sturmlechner
2023-02-25 18:05 Arthur Zamarin
2023-02-25 14:46 Arthur Zamarin
2023-01-18 10:02 Andreas Sturmlechner
2022-07-25  9:22 Andreas Sturmlechner
2022-07-25  7:07 Agostino Sarubbo
2022-07-24 23:23 Sam James
2022-06-27 10:35 Andreas Sturmlechner
2022-03-31 11:22 Andreas Sturmlechner
2022-03-30 20:09 Jakov Smolić
2022-03-30 11:09 Jakov Smolić
2021-12-22 11:14 Andreas Sturmlechner
2021-12-16 21:50 Sam James
2021-12-16 21:49 Sam James
2021-11-22 16:37 Andreas Sturmlechner
2021-10-03 17:52 Agostino Sarubbo
2021-10-02 22:50 Sam James
2021-09-04 17:01 Andreas Sturmlechner
2021-07-15  7:42 Agostino Sarubbo
2021-07-15  7:38 Agostino Sarubbo
2021-07-14 11:08 Andreas Sturmlechner
2021-05-20 18:24 Andreas Sturmlechner
2021-05-20 18:24 Andreas Sturmlechner
2021-05-14 20:59 Andreas Sturmlechner
2021-05-14 20:59 Andreas Sturmlechner
2021-05-03 21:09 Andreas Sturmlechner
2021-02-27 12:47 Andreas Sturmlechner
2021-02-27 12:29 Sam James
2021-02-25 13:54 Agostino Sarubbo
2021-01-21 11:16 Andreas Sturmlechner
2020-10-13 15:02 Andreas Sturmlechner
2020-10-13 10:01 Agostino Sarubbo
2020-10-13  9:26 Agostino Sarubbo
2020-07-30  7:21 Agostino Sarubbo
2020-07-30  6:58 Agostino Sarubbo
2020-06-25 10:09 Andreas Sturmlechner
2020-05-10 11:31 Andreas Sturmlechner
2020-05-10  9:19 Mikle Kolyada
2020-05-10  9:15 Mikle Kolyada
2020-05-01 20:32 Andreas Sturmlechner
2020-03-28 11:54 Andreas Sturmlechner
2020-02-18 20:06 Andreas Sturmlechner
2020-01-26 10:26 Georgy Yakovlev
2020-01-12 11:47 Andreas Sturmlechner
2019-05-19 22:01 Andreas Sturmlechner
2019-05-18  7:14 Andreas Sturmlechner
2019-05-14 13:59 Andreas Sturmlechner
2019-05-14 13:59 Andreas Sturmlechner
2019-04-23 20:25 Andreas Sturmlechner
2019-04-23 20:25 Andreas Sturmlechner
2019-04-03 16:22 Andreas Sturmlechner
2019-04-03 16:22 Andreas Sturmlechner
2019-03-26 20:56 Andreas Sturmlechner
2019-03-26 20:56 Andreas Sturmlechner
2019-03-20 14:02 Andreas Sturmlechner
2019-03-03 15:27 Andreas Sturmlechner
2019-03-03 15:27 Andreas Sturmlechner
2018-05-24 13:10 Andreas Sturmlechner
2017-09-15 19:05 Johannes Huber
2017-09-06 21:00 Michał Górny
2017-06-15  9:54 Agostino Sarubbo
2017-06-14  7:49 Agostino Sarubbo
2017-05-14 10:13 Andreas Sturmlechner
2017-05-06 21:33 Andreas Sturmlechner
2016-07-20 20:03 Michael Palimaka
2016-07-07 17:52 Michael Palimaka
2016-06-02 15:29 Michael Palimaka
2016-06-02 15:29 Michael Palimaka
2016-03-26 16:39 Agostino Sarubbo

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=1504430840.a6c0c2f43a3e498095a6194f163da2aab2a198e9.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