From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A485139694 for ; Sat, 8 Apr 2017 08:31:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 569B621C03C; Sat, 8 Apr 2017 08:31:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 337A321C03C for ; Sat, 8 Apr 2017 08:31:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A751340AC7 for ; Sat, 8 Apr 2017 08:31:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2B42742A for ; Sat, 8 Apr 2017 08:31:16 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1491601200.2c1115db45dd591e25f83c8c4c51ca27c3616d7b.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kwrite/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/kwrite/kwrite-17.04.49.9999.ebuild kde-apps/kwrite/kwrite-9999.ebuild X-VCS-Directories: kde-apps/kwrite/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 2c1115db45dd591e25f83c8c4c51ca27c3616d7b X-VCS-Branch: master Date: Sat, 8 Apr 2017 08:31:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9e03a3d8-5e76-40f4-91f9-f70c524e7334 X-Archives-Hash: 1713e341fcc94d948f6f9cb4027a4859 commit: 2c1115db45dd591e25f83c8c4c51ca27c3616d7b Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Apr 7 21:34:17 2017 +0000 Commit: Andreas Sturmlechner gentoo 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