Gentoo Archives: gentoo-commits

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/xlog/
Date: Sat, 08 Dec 2018 10:35:16
Message-Id: 1544265284.aa5dfa5e093d5efe5cf22c488b1c94344238cc8a.tomjbe@gentoo
1 commit: aa5dfa5e093d5efe5cf22c488b1c94344238cc8a
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 8 10:33:55 2018 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 8 10:34:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa5dfa5e
7
8 media-radio/xlog: Fix broken .png files
9
10 Reported-by: Toralf Förster <toralf <AT> gentoo.org>
11 Closes: https://bugs.gentoo.org/670616
12 Package-Manager: Portage-2.3.52, Repoman-2.3.12
13 Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
14
15 media-radio/xlog/xlog-2.0.15.ebuild | 13 ++++++++++++-
16 1 file changed, 12 insertions(+), 1 deletion(-)
17
18 diff --git a/media-radio/xlog/xlog-2.0.15.ebuild b/media-radio/xlog/xlog-2.0.15.ebuild
19 index 122b4ea8208..41a2bb14fd6 100644
20 --- a/media-radio/xlog/xlog-2.0.15.ebuild
21 +++ b/media-radio/xlog/xlog-2.0.15.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 +# Copyright 1999-2018 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=6
28 @@ -19,6 +19,7 @@ RDEPEND="media-libs/hamlib
29 dev-libs/glib:2
30 x11-libs/gtk+:2"
31 DEPEND="${RDEPEND}
32 + media-libs/libpng:0
33 sys-devel/gettext
34 virtual/pkgconfig"
35
36 @@ -37,6 +38,16 @@ src_prepare() {
37 sed -i -e "s:HAMLIB_LIBS@:HAMLIB_LIBS@ -lm:g" src/Makefile.am || die
38 eautoreconf
39
40 + # Fix broken png files<<
41 + einfo "Fixing broken png files."
42 + pushd "${S}"/data/doc/manual/output/html
43 + for png in xlog-clock.png xlog-dropdown.png xlog-editbox.png; do
44 + pngfix -q --out=out.png ${png}
45 + mv -f out.png "${png}" || die
46 + done
47 + popd
48 + einfo "done ..."
49 +
50 eapply_user
51 }