Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: eclass/
Date: Sat, 08 Apr 2017 08:31:20
Message-Id: 1491601200.a5b9dda4d9336b746547e53c6c432993966b5891.asturm@gentoo
1 commit: a5b9dda4d9336b746547e53c6c432993966b5891
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 7 20:52:50 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 7 21:40:00 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=a5b9dda4
7
8 kde5.eclass: LINGUAS handling: Also drop subdir paths
9
10 eclass/kde5.eclass | 1 +
11 1 file changed, 1 insertion(+)
12
13 diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
14 index 245a1427f3..eb6f43d635 100644
15 --- a/eclass/kde5.eclass
16 +++ b/eclass/kde5.eclass
17 @@ -550,6 +550,7 @@ kde5_src_prepare() {
18 rm -r ${lang} || die
19 if [[ -e CMakeLists.txt ]] ; then
20 cmake_comment_add_subdirectory ${lang}
21 + sed -e "/add_subdirectory([[:space:]]*${lang}\/.*[[:space:]]*)/d" -i CMakeLists.txt || die
22 fi
23 elif [[ -f ${lang} ]] && ! has ${lang/.po/} ${LINGUAS} ; then
24 if [[ ${lang} != CMakeLists.txt && ${lang} != ${PN}.pot ]] ; then