From 2552594f97467fe0b0491aa31060d51ee89ee486 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Thu, 4 Mar 2021 23:31:42 +0100 Subject: app-doc/selflinux: fix qa warning on png files Also updated to EAPI=7 and corrected license. Closes: https://bugs.gentoo.org/670773 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Conrad Kostecki --- app-doc/selflinux/metadata.xml | 1 + app-doc/selflinux/selflinux-0.13.0-r1.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 app-doc/selflinux/selflinux-0.13.0-r1.ebuild (limited to 'app-doc') diff --git a/app-doc/selflinux/metadata.xml b/app-doc/selflinux/metadata.xml index bb8f2021faa2..cba9aee7fc39 100644 --- a/app-doc/selflinux/metadata.xml +++ b/app-doc/selflinux/metadata.xml @@ -2,6 +2,7 @@ + selflinux diff --git a/app-doc/selflinux/selflinux-0.13.0-r1.ebuild b/app-doc/selflinux/selflinux-0.13.0-r1.ebuild new file mode 100644 index 000000000000..fae5d5e449a9 --- /dev/null +++ b/app-doc/selflinux/selflinux-0.13.0-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="SelfLinux-${PV}" + +DESCRIPTION="A german-language hypertext tutorial about Linux" +HOMEPAGE="https://www.selflinux.org/" +SRC_URI="https://www.selflinux.org/download/${MY_P}/${MY_P}-html.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="FDL-1.1+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +HTML_DOCS=( "." ) + +BDEPEND="media-gfx/pngcrush" + +src_prepare() { + default + + # Fix all png files, as they report "broken IDAT window length" + for png_file in bilder/mwm_mwm_mwm*; do + pngcrush -fix -force -ow "${png_file}" || die + done +} -- cgit v1.2.3-65-gdbad