From: Bo Ørsted Andresen Date: Fri, 15 Feb 2008 19:48:40 +0000 (+0000) Subject: Remove qimageblitz dependency from kdeutils modules that don't use it. Upstream alrea... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=de93eabee397a74474d0c327ff60e8a7e8f29103;p=gentoo.git Remove qimageblitz dependency from kdeutils modules that don't use it. Upstream already committed a fix to make it optional to trunk. --- diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass index b8c140fca587..81c13f49ac49 100644 --- a/eclass/kde4-meta.eclass +++ b/eclass/kde4-meta.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.1 2008/01/16 22:51:47 ingmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.2 2008/02/15 19:48:40 zlin Exp $ # # @ECLASS: kde4-meta.eclass # @MAINTAINER: @@ -402,6 +402,16 @@ kde4-meta_change_cmakelists() { esac fi ;; + # This is sort of a hack to avoid patching 16 kdeutils packages with + # r775410 from upstream trunk which makes blitz optional so superkaramba + # only gets compiled when it is found. Bug #209324. Remove this no later + # than 4.1. + kdeutils) + if [[ ${PN} != superkaramba && ${SLOT} == kde-4 ]]; then + sed -i -e '/find_package(Blitz REQUIRED)/d' "${S}"/CMakeLists.txt \ + || die "${LINENO}: sed to remove dependency on Blitz failed." + fi + ;; koffice) if [[ ${PN} != koffice-libs ]]; then sed -i -e '/^INSTALL(FILES.*koffice.desktop/ s/^/#DONOTINSTALL /' \