diff options
Diffstat (limited to 'media-radio/xlog')
-rw-r--r-- | media-radio/xlog/xlog-2.0.15.ebuild | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/media-radio/xlog/xlog-2.0.15.ebuild b/media-radio/xlog/xlog-2.0.15.ebuild index 122b4ea8208d..41a2bb14fd62 100644 --- a/media-radio/xlog/xlog-2.0.15.ebuild +++ b/media-radio/xlog/xlog-2.0.15.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,6 +19,7 @@ RDEPEND="media-libs/hamlib dev-libs/glib:2 x11-libs/gtk+:2" DEPEND="${RDEPEND} + media-libs/libpng:0 sys-devel/gettext virtual/pkgconfig" @@ -37,6 +38,16 @@ src_prepare() { sed -i -e "s:HAMLIB_LIBS@:HAMLIB_LIBS@ -lm:g" src/Makefile.am || die eautoreconf + # Fix broken png files<< + einfo "Fixing broken png files." + pushd "${S}"/data/doc/manual/output/html + for png in xlog-clock.png xlog-dropdown.png xlog-editbox.png; do + pngfix -q --out=out.png ${png} + mv -f out.png "${png}" || die + done + popd + einfo "done ..." + eapply_user } |