this versions needs to set the locale to UTF-8
Bug: https://bugs.gentoo.org/362069
Closes: https://bugs.gentoo.org/362069
Package-Manager: Portage-2.3.82, Repoman-2.3.18
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>hd_brummy@gentoo.org</email>
+ <name>Joerg Bornkessel</name>
+ </maintainer>
<maintainer type="project">
<email>vdr@gentoo.org</email>
<name>Gentoo VDR Project</name>
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit eutils
+EAPI=7
MY_P=${PN#vdr-channel-}-${PV}
S=${WORKDIR}/logos
-RDEPEND="app-text/convmv"
+BDEPEND="app-text/convmv"
+
+_test_charmap() {
+ local charmap=$(locale charmap)
+
+ if [ "${charmap}" != "UTF-8" ]; then
+ eerror "You need locale UTF-8 to use the logos"
+ die "missing locale UTF-8 on your system"
+ fi
+}
src_prepare() {
+ default
+
+ _test_charmap
convmv --notest --replace -f iso-8859-1 -t utf-8 -r "${S}"/
}