From 1bb6fcb6bf65eed559d7b7a4958643c36f48b369 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 26 Apr 2020 16:46:46 +0200 Subject: ecm.eclass: Revert "Disable overzealous upstream disable-deprecated-before" No longer necessary as upstream devs saw the problem with that and largely diffused these. Signed-off-by: Andreas Sturmlechner --- eclass/ecm.eclass | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'eclass/ecm.eclass') diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index 5724c745003..12b31e4ef32 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -423,14 +423,8 @@ ecm_src_prepare() { done fi + # limit playing field of locale stripping to kde-*/ categories if [[ ${CATEGORY} = kde-* ]] ; then - # overzealous upstream disable-deprecated-before by .git dir detection - if [[ -e .git ]]; then - sed -e "/^if.*EXISTS.*CMAKE_SOURCE_DIR.*\.git/s/$/ # removed by ecm.eclass/" \ - -e "/^if.*EXISTS.*CMAKE_SOURCE_DIR.*\.git/s/(.*)/(FALSE)/" \ - -i CMakeLists.txt || die - fi - # always install unconditionally for kconfigwidgets - if you use # language X as system language, and there is a combobox with language # names, the translated language name for language Y is taken from -- cgit v1.2.3