commit:     5eadbec835bd392175d640a0152b4f5d13befaf9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 18 05:08:49 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 18 05:08:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eadbec8

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 <AT> gentoo.org>

 app-text/ghostscript-gpl/ghostscript-gpl-10.03.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

Reply via email to