summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Rösner <rndxelement@protonmail.com>2021-12-06 01:26:07 +0100
committerSam James <sam@gentoo.org>2021-12-06 22:45:43 +0000
commit9110a9e30beca811f3e1cba5e232bb803e11407b (patch)
tree15452d46d35d3465b05bed16bc94ab68db8be5e9 /app-text
parentsys-devel/binutils: grow stack size for musl (diff)
downloadgentoo-9110a9e30beca811f3e1cba5e232bb803e11407b.tar.gz
gentoo-9110a9e30beca811f3e1cba5e232bb803e11407b.tar.bz2
gentoo-9110a9e30beca811f3e1cba5e232bb803e11407b.zip
app-text/mupdf: Added messages to die calls
As pointed out in PR #23174 calls to die didn't have meaningful error messages attached. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Philipp Roesner <rndxelement@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/23193 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/mupdf/metadata.xml9
-rw-r--r--app-text/mupdf/mupdf-1.19.0.ebuild8
2 files changed, 12 insertions, 5 deletions
diff --git a/app-text/mupdf/metadata.xml b/app-text/mupdf/metadata.xml
index 115e9d64a669..5d2f87cc3174 100644
--- a/app-text/mupdf/metadata.xml
+++ b/app-text/mupdf/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>rndxelement@protonmail.com</email>
+ <name>Philipp Rösner</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
</pkgmetadata>
diff --git a/app-text/mupdf/mupdf-1.19.0.ebuild b/app-text/mupdf/mupdf-1.19.0.ebuild
index 88ff8063033b..9d1dae31213a 100644
--- a/app-text/mupdf/mupdf-1.19.0.ebuild
+++ b/app-text/mupdf/mupdf-1.19.0.ebuild
@@ -67,7 +67,7 @@ src_prepare() {
-e "1iAR = $(tc-getAR)" \
-e "1iverbose = yes" \
-e "1ibuild = debug" \
- -i Makerules || die
+ -i Makerules || die "Failed adding build variables to Makerules in src_prepare()"
}
_emake() {
@@ -122,14 +122,14 @@ src_install() {
domenu platform/debian/${PN}.desktop
doicon platform/debian/${PN}.xpm
else
- rm docs/man/${PN}.1 || die
+ rm docs/man/${PN}.1 || die "Failed to remove man page in src_install()"
fi
sed -i \
-e "1iprefix = ${ED}/usr" \
-e "1ilibdir = ${ED}/usr/$(get_libdir)" \
-e "1idocdir = ${ED}/usr/share/doc/${PF}" \
- -i Makerules || die
+ -i Makerules || die "Failed adding liprefix, lilibdir and lidocdir to Makerules in src_install()"
_emake install
@@ -144,7 +144,7 @@ src_install() {
fi
# Respect libdir (bug #734898)
- sed -i -e "s:/lib:/$(get_libdir):" platform/debian/${PN}.pc || die
+ sed -i -e "s:/lib:/$(get_libdir):" platform/debian/${PN}.pc || die "Failed to sed pkgconfig file to respect libdir in src_install()"
insinto /usr/$(get_libdir)/pkgconfig
doins platform/debian/${PN}.pc