summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kde-l10n/kde-l10n-15.08.0-r1.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/kde-apps/kde-l10n/kde-l10n-15.08.0-r1.ebuild b/kde-apps/kde-l10n/kde-l10n-15.08.0-r1.ebuild
index 2e5e8a539c1b..4c2dbb923393 100644
--- a/kde-apps/kde-l10n/kde-l10n-15.08.0-r1.ebuild
+++ b/kde-apps/kde-l10n/kde-l10n-15.08.0-r1.ebuild
@@ -17,6 +17,7 @@ RDEPEND="
!<kde-apps/kde4-l10n-${PV}
!kde-apps/kde4-l10n[-minimal]
!<kde-apps/kdepim-l10n-${PV}
+ !<kde-apps/ktp-l10n-${PV}
"
KEYWORDS=" ~amd64 ~x86"
@@ -71,6 +72,13 @@ src_prepare() {
-exec sed -i -e "/add_subdirectory( *${subdir} *)/ s/^/#/" {} +
done
+ # Remove ktp translations (part of kde-apps/ktp-l10n)
+ # Drop that hack (and kde-apps/ktp-l10n) after ktp:4 removal
+ find "${S}"/${DIR}/5/${LNG}/messages/kdenetwork -type f \
+ \( -name kaccounts*po -o -name kcm_ktp*po -o -name kcmtelepathy*po \
+ -o -name kded_ktp*po -o -name ktp*po -o -name plasma*ktp*po \) \
+ -delete
+
# Handbook optional
sed -e '/KF5DocTools/ s/ REQUIRED//'\
-i "${S}"/${DIR}/5/${LNG}/CMakeLists.txt || die