summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-06-18 06:08:49 +0100
committerSam James <sam@gentoo.org>2024-06-18 06:08:49 +0100
commit5eadbec835bd392175d640a0152b4f5d13befaf9 (patch)
tree45dce2956521c9d0e6a01e2c8aaabb8bc1b7cd37 /app-text
parentdev-python/wxpython: fix build w/ some doxygen versions (diff)
downloadgentoo-5eadbec835bd392175d640a0152b4f5d13befaf9.tar.gz
gentoo-5eadbec835bd392175d640a0152b4f5d13befaf9.tar.bz2
gentoo-5eadbec835bd392175d640a0152b4f5d13befaf9.zip
app-text/ghostscript-gpl: update SRC_URI
Upstream changed the path back to the old one. Note that if you hit this bug, you should fix your GENTOO_MIRRORS. Closes: https://bugs.gentoo.org/933686 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/ghostscript-gpl/ghostscript-gpl-10.03.1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-10.03.1.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-10.03.1.ebuild
index 56448bed0f2a..191b93c50073 100644
--- a/app-text/ghostscript-gpl/ghostscript-gpl-10.03.1.ebuild
+++ b/app-text/ghostscript-gpl/ghostscript-gpl-10.03.1.ebuild
@@ -7,6 +7,8 @@ inherit autotools flag-o-matic toolchain-funcs
MY_PN=${PN/-gpl}
MY_P="${MY_PN}-${PV/_}"
+PVM=$(ver_cut 1-2)
+PVM_S=$(ver_rs 1-2 "")
# Use https://gitweb.gentoo.org/proj/codec/ghostscript-gpl-patches.git/ for patches
# See 'index' branch for README
@@ -14,7 +16,7 @@ MY_PATCHSET="ghostscript-gpl-10.0-patches.tar.xz"
DESCRIPTION="Interpreter for the PostScript language and PDF"
HOMEPAGE="https://ghostscript.com/ https://git.ghostscript.com/?p=ghostpdl.git;a=summary"
-SRC_URI="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/${PV}/${MY_P}.tar.xz"
+SRC_URI="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PVM_S}/${MY_P}.tar.xz"
if [[ -n "${MY_PATCHSET}" ]] ; then
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCHSET}"
fi