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] proj/kde:master commit in: kde-apps/kwrite/
Date: Sat,  8 Apr 2017 08:31:16 +0000 (UTC)	[thread overview]
Message-ID: <1491601200.2c1115db45dd591e25f83c8c4c51ca27c3616d7b.asturm@gentoo> (raw)

commit:     2c1115db45dd591e25f83c8c4c51ca27c3616d7b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  7 21:34:17 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Apr  7 21:40:00 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=2c1115db

kde-apps/kwrite: Remove colliding kate translations

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 kde-apps/kwrite/kwrite-17.04.49.9999.ebuild | 9 +++++++++
 kde-apps/kwrite/kwrite-9999.ebuild          | 9 +++++++++
 2 files changed, 18 insertions(+)

diff --git a/kde-apps/kwrite/kwrite-17.04.49.9999.ebuild b/kde-apps/kwrite/kwrite-17.04.49.9999.ebuild
index 97365228e0..a03e9b083e 100644
--- a/kde-apps/kwrite/kwrite-17.04.49.9999.ebuild
+++ b/kde-apps/kwrite/kwrite-17.04.49.9999.ebuild
@@ -30,6 +30,15 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+src_prepare() {
+	kde5_src_prepare
+	# delete colliding kate translations
+	if [[ ${KDE_BUILD_TYPE} = release ]]; then
+		find po -type f -name "*po" -and -not -name "kwrite*" -delete || die
+		rm -rf po/*/docs/kate* || die
+	fi
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DBUILD_addons=FALSE

diff --git a/kde-apps/kwrite/kwrite-9999.ebuild b/kde-apps/kwrite/kwrite-9999.ebuild
index 97365228e0..a03e9b083e 100644
--- a/kde-apps/kwrite/kwrite-9999.ebuild
+++ b/kde-apps/kwrite/kwrite-9999.ebuild
@@ -30,6 +30,15 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+src_prepare() {
+	kde5_src_prepare
+	# delete colliding kate translations
+	if [[ ${KDE_BUILD_TYPE} = release ]]; then
+		find po -type f -name "*po" -and -not -name "kwrite*" -delete || die
+		rm -rf po/*/docs/kate* || die
+	fi
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DBUILD_addons=FALSE


             reply	other threads:[~2017-04-08  8:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-08  8:31 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-25  0:15 [gentoo-commits] proj/kde:master commit in: kde-apps/kwrite/ Andreas Sturmlechner
2022-10-16 11:42 Andreas Sturmlechner
2022-08-22 18:14 Andreas Sturmlechner
2022-08-21  2:46 Sam James
2022-08-20 21:37 Andreas Sturmlechner
2021-11-23 12:28 Andreas Sturmlechner
2021-05-12  7:50 Andreas Sturmlechner
2019-11-16 23:18 Andreas Sturmlechner
2019-08-22 14:14 Andreas Sturmlechner
2017-04-01 14:50 Andreas Sturmlechner
2015-11-04 18:56 Michael Palimaka
2015-11-04 18:56 Michael Palimaka
2015-09-01 18:06 Michael Palimaka
2015-09-01 17:41 Michael Palimaka
2015-08-26 13:59 Michael Palimaka
2015-08-26 13:59 Michael Palimaka
2015-03-14 12:37 Johannes Huber

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=1491601200.2c1115db45dd591e25f83c8c4c51ca27c3616d7b.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