1 |
commit: 6030fbef207d9909a9b53078b9fbe824a3ff5fc1 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 7 21:36:29 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 7 21:40:01 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6030fbef |
7 |
|
8 |
kde-apps/konsolekalendar: Remove colliding calendarjanitor translations |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
kde-apps/konsolekalendar/konsolekalendar-17.04.49.9999.ebuild | 8 +++++++- |
13 |
kde-apps/konsolekalendar/konsolekalendar-9999.ebuild | 8 +++++++- |
14 |
2 files changed, 14 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/kde-apps/konsolekalendar/konsolekalendar-17.04.49.9999.ebuild b/kde-apps/konsolekalendar/konsolekalendar-17.04.49.9999.ebuild |
17 |
index 16dab1145b..f64d77c1b1 100644 |
18 |
--- a/kde-apps/konsolekalendar/konsolekalendar-17.04.49.9999.ebuild |
19 |
+++ b/kde-apps/konsolekalendar/konsolekalendar-17.04.49.9999.ebuild |
20 |
@@ -28,6 +28,12 @@ DEPEND=" |
21 |
RDEPEND="${DEPEND}" |
22 |
|
23 |
src_prepare() { |
24 |
- cmake_comment_add_subdirectory calendarjanitor |
25 |
kde5_src_prepare |
26 |
+ |
27 |
+ # delete colliding calendarjanitor translations |
28 |
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then |
29 |
+ rm po/*/calendarjanitor.po || die |
30 |
+ fi |
31 |
+ |
32 |
+ cmake_comment_add_subdirectory calendarjanitor |
33 |
} |
34 |
|
35 |
diff --git a/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild b/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild |
36 |
index 16dab1145b..f64d77c1b1 100644 |
37 |
--- a/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild |
38 |
+++ b/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild |
39 |
@@ -28,6 +28,12 @@ DEPEND=" |
40 |
RDEPEND="${DEPEND}" |
41 |
|
42 |
src_prepare() { |
43 |
- cmake_comment_add_subdirectory calendarjanitor |
44 |
kde5_src_prepare |
45 |
+ |
46 |
+ # delete colliding calendarjanitor translations |
47 |
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then |
48 |
+ rm po/*/calendarjanitor.po || die |
49 |
+ fi |
50 |
+ |
51 |
+ cmake_comment_add_subdirectory calendarjanitor |
52 |
} |