diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-16 17:00:31 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-16 17:00:50 +0100 |
commit | aa0a9e66429a0a17df09977be70951a9a0661e31 (patch) | |
tree | 5ac87e1bfa43e5e2f04768e1680aca5a2c2b6e32 /dev-util/kdbg | |
parent | games-simulation/openrct2: Bump to 0.2.1, bug #669226 (diff) | |
download | gentoo-aa0a9e66429a0a17df09977be70951a9a0661e31.tar.gz gentoo-aa0a9e66429a0a17df09977be70951a9a0661e31.tar.bz2 gentoo-aa0a9e66429a0a17df09977be70951a9a0661e31.zip |
dev-util/kdbg: QA: Fix broken .png files
Closes: https://bugs.gentoo.org/673236
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/kdbg')
-rw-r--r-- | dev-util/kdbg/kdbg-3.0.0.ebuild | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/dev-util/kdbg/kdbg-3.0.0.ebuild b/dev-util/kdbg/kdbg-3.0.0.ebuild index ecb39833107d..d6e46f2cfd5a 100644 --- a/dev-util/kdbg/kdbg-3.0.0.ebuild +++ b/dev-util/kdbg/kdbg-3.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -14,7 +14,7 @@ LICENSE="GPL-2" KEYWORDS="" KEYWORDS="~amd64 ~x86" -DEPEND=" +COMMON_DEPEND=" $(add_frameworks_dep kconfig) $(add_frameworks_dep kconfigwidgets) $(add_frameworks_dep kcoreaddons) @@ -26,10 +26,13 @@ DEPEND=" $(add_qt_dep qtgui) $(add_qt_dep qtwidgets) " -RDEPEND="${DEPEND} +RDEPEND="${COMMON_DEPEND} !dev-util/kdbg:4 sys-devel/gdb " +DEPEND="${COMMON_DEPEND} + media-libs/libpng:0 +" src_prepare() { # allow documentation to be handled by eclass @@ -37,5 +40,12 @@ src_prepare() { sed -i -e '/add_subdirectory(doc)/d' kdbg/CMakeLists.txt || die echo "add_subdirectory ( doc ) " >> CMakeLists.txt || die + local png + for png in kdbg/pics/*.png; do + pngfix -q --out=${png/.png/fixed.png} ${png} + [[ $? -gt 15 ]] && die "Failed to fix ${png}" + mv -f ${png/.png/fixed.png} ${png} || die + done + kde5_src_prepare } |