summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-03-04 23:31:42 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-03-04 23:32:53 +0100
commit2552594f97467fe0b0491aa31060d51ee89ee486 (patch)
tree32b2fb417f6c3a3fcc919e2dc8b84db6d3fd139c /app-doc
parentdev-python/xmlschema: Bump to 1.5.2 (diff)
downloadgentoo-2552594f97467fe0b0491aa31060d51ee89ee486.tar.gz
gentoo-2552594f97467fe0b0491aa31060d51ee89ee486.tar.bz2
gentoo-2552594f97467fe0b0491aa31060d51ee89ee486.zip
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 <conikost@gentoo.org>
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/selflinux/metadata.xml1
-rw-r--r--app-doc/selflinux/selflinux-0.13.0-r1.ebuild28
2 files changed, 29 insertions, 0 deletions
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 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
+ <stabilize-allarches />
<upstream>
<remote-id type="sourceforge">selflinux</remote-id>
</upstream>
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
+}