commit:     2709f1821026d195978949c842d30bd893da63ec
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  5 23:35:12 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec  5 23:35:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2709f182

media-video/kaffeine: Remove broken pt-BR handbook on pre-KF-5.40

Closes: https://bugs.gentoo.org/639822
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-video/kaffeine/Manifest               | 2 +-
 media-video/kaffeine/kaffeine-2.0.14.ebuild | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/media-video/kaffeine/Manifest b/media-video/kaffeine/Manifest
index 79ed0c9d41c..80ccd95a945 100644
--- a/media-video/kaffeine/Manifest
+++ b/media-video/kaffeine/Manifest
@@ -1,2 +1,2 @@
-DIST kaffeine-2.0.13.tar.xz 4374124 SHA256 
1ac52ac811a9c9e88fcd466a7df13860fcd749cd125e7d533f589e6a6ee176fd SHA512 
710d6c5b35f2b2f82094004e8d09edd33ec95c8e0afb64f6dcf2bc14f3e6619ae87712e2a5bd3cde23e886d1e9300510fb0b0c355c33386d4dd238aada2760f5
 WHIRLPOOL 
3748a8a01289b14a466d3d6651ade04c712350a78ae539811d01ce681b2b2afb96f0882503eccf3e4195ac474429394f874f08560300841f73bc9b9a6860273f
+DIST kaffeine-2.0.13.tar.xz 4374124 BLAKE2B 
14e5d026cf41308e400072b53fdafdb616d4df48ee3413a1115aa4028c7c69407064278e2a60af3b7859dfefc841b09b1827278b093071df29af39491df3a736
 SHA512 
710d6c5b35f2b2f82094004e8d09edd33ec95c8e0afb64f6dcf2bc14f3e6619ae87712e2a5bd3cde23e886d1e9300510fb0b0c355c33386d4dd238aada2760f5
 DIST kaffeine-2.0.14.tar.xz 5972768 BLAKE2B 
b1c8f7338474804ce0003126a0e041a6aefb3d4b6b48c4c45577138f0686100b08c1f64adfd23658a0f04f8638d38df81c9f186d6fab60d607550e238d14a2a0
 SHA512 
03a4ffbfbe7b9c90de546bf7449e8e5f05d5e7023b75b5253297e885c412677a0c4b46c7f60761ef5f48ad3c284591acba6ff0fe4fa7256d5b01ca9a07d7276f

diff --git a/media-video/kaffeine/kaffeine-2.0.14.ebuild 
b/media-video/kaffeine/kaffeine-2.0.14.ebuild
index 5b8d68d6fdf..5ffcfdfea1f 100644
--- a/media-video/kaffeine/kaffeine-2.0.14.ebuild
+++ b/media-video/kaffeine/kaffeine-2.0.14.ebuild
@@ -46,6 +46,13 @@ RDEPEND="${CDEPEND}
 
 DOCS=( Changelog NOTES README.md )
 
+src_prepare() {
+       if has_version '<kde-frameworks/kdoctools-5.40.0-r1'; then
+               rm -r po/pt_BR/docs || die "failed to remove pt-BR handbook"
+       fi
+       kde5_src_prepare
+}
+
 src_configure() {
        # tools working on $HOME directory for a local git checkout
        local mycmakeargs=(

Reply via email to