summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2015-08-31 22:23:50 +0200
committerAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2015-09-01 23:06:07 +0200
commite83f2381f773c385f905b755911ffd2b09db6814 (patch)
treecd13b225034842aa5fc5df0b4b7e1aeeeddfec88 /kde-apps
parentkde-apps/kde4-l10n: Fix Homepage (diff)
downloadgentoo-e83f2381f773c385f905b755911ffd2b09db6814.tar.gz
gentoo-e83f2381f773c385f905b755911ffd2b09db6814.tar.bz2
gentoo-e83f2381f773c385f905b755911ffd2b09db6814.zip
kde-apps/kde-l10n: Drop ktp translations
Before move to kde applications, translations were kept internal - that makes old ktp:4 packages collide with kde-apps/kde-l10n Package-Manager: portage-2.2.20.1
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