Please ignore this patch. I have sent another one [1] so this one can be
avoided. Sorry for the noise.
[1]
http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121965.html
On 05/23/2016 03:09 AM, [email protected] wrote:
From: Leonardo Sandoval <[email protected]>
Starting at 9.18, latest releases (current and previous release) are placed on
github [1].
[1] https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
[YOCTO #9573]
Signed-off-by: Leonardo Sandoval <[email protected]>
---
meta/recipes-extended/ghostscript/ghostscript_9.18.bb | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.18.bb
b/meta/recipes-extended/ghostscript/ghostscript_9.18.bb
index d4222c7..1d76013 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.18.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.18.bb
@@ -16,7 +16,13 @@ LIC_FILES_CHKSUM =
"file://LICENSE;md5=b17cea54743435ab2a581c237bea294a"
DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libpng"
DEPENDS_class-native = "libpng-native"
-SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz \
+# remove dots on PV, used on SRC_URI_BASE
+python () {
+ version = d.getVar('PV', True).split('.')
+ d.setVar('PV_NODOTS', ''.join(version))
+}
+
+SRC_URI_BASE =
"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PV_NODOTS}/ghostscript-${PV}.tar.gz
\
file://ghostscript-9.15-parallel-make.patch \
file://ghostscript-9.16-Werror-return-type.patch \
file://png_mak.patch \
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core