summaryrefslogtreecommitdiff
path: root/kde-apps
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-04-07 23:36:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-04-07 23:40:01 +0200
commit6030fbef207d9909a9b53078b9fbe824a3ff5fc1 (patch)
treeb6ce57517efd38e0f8649b234a67f08f35c8022f /kde-apps
parent72a6c97b2e98cb864ee5fabcefb67776271d7f81 (diff)
downloadkde-6030fbef207d9909a9b53078b9fbe824a3ff5fc1.tar.gz
kde-6030fbef207d9909a9b53078b9fbe824a3ff5fc1.tar.bz2
kde-6030fbef207d9909a9b53078b9fbe824a3ff5fc1.zip
kde-apps/konsolekalendar: Remove colliding calendarjanitor translations
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/konsolekalendar/konsolekalendar-17.04.49.9999.ebuild8
-rw-r--r--kde-apps/konsolekalendar/konsolekalendar-9999.ebuild8
2 files changed, 14 insertions, 2 deletions
diff --git a/kde-apps/konsolekalendar/konsolekalendar-17.04.49.9999.ebuild b/kde-apps/konsolekalendar/konsolekalendar-17.04.49.9999.ebuild
index 16dab1145b6..f64d77c1b1d 100644
--- a/kde-apps/konsolekalendar/konsolekalendar-17.04.49.9999.ebuild
+++ b/kde-apps/konsolekalendar/konsolekalendar-17.04.49.9999.ebuild
@@ -28,6 +28,12 @@ DEPEND="
RDEPEND="${DEPEND}"
src_prepare() {
- cmake_comment_add_subdirectory calendarjanitor
kde5_src_prepare
+
+ # delete colliding calendarjanitor translations
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ rm po/*/calendarjanitor.po || die
+ fi
+
+ cmake_comment_add_subdirectory calendarjanitor
}
diff --git a/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild b/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild
index 16dab1145b6..f64d77c1b1d 100644
--- a/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild
+++ b/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild
@@ -28,6 +28,12 @@ DEPEND="
RDEPEND="${DEPEND}"
src_prepare() {
- cmake_comment_add_subdirectory calendarjanitor
kde5_src_prepare
+
+ # delete colliding calendarjanitor translations
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ rm po/*/calendarjanitor.po || die
+ fi
+
+ cmake_comment_add_subdirectory calendarjanitor
}