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>
This commit is contained in:
Sam James
2024-06-18 06:08:49 +01:00
parent e9d357d68f
commit 5eadbec835

View File

@@ -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