build/linux: Re-add ghostscript using a new release candidate
This is not a full new release but we might as well test the new
release-candidate to see if it fixes the build issues with GCC 15.
Partially reverts 4ae861f5ac
This commit is contained in:
parent
eeeaca928b
commit
faf0fd7401
1 changed files with 48 additions and 0 deletions
|
|
@ -317,6 +317,54 @@
|
|||
"/lib/pkgconfig"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ghostscript",
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10060rc1/ghostscript-10.06.0rc1.tar.gz",
|
||||
"sha512": "5702574db8465c7af7d608029a0f86c9a16c249585fb912fb748ea0c077dadef420f8ae4648688b78389ce125de3a8719094154655baa6cc999dec06929a43a8",
|
||||
"x-checker-data": {
|
||||
"//": "Bypass broken url-template with anitya checker - See https://github.com/flathub/flatpak-external-data-checker/issues/360",
|
||||
"type": "json",
|
||||
"url": "https://api.github.com/repos/ArtifexSoftware/ghostpdl-downloads/releases/latest",
|
||||
"version-query": ".name | split(\" \") | .[1]",
|
||||
"url-query": ".assets[] | select(.name|test(\"^ghostscript-(.*).tar.gz$\")) | .browser_download_url"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} freetype/builds/unix/",
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} ijs/",
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} jpeg/",
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} libpng/",
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} lcms2mt/",
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} tiff/config/",
|
||||
"rm -rf libpng/pngread.c"
|
||||
]
|
||||
}
|
||||
],
|
||||
"config-opts": [
|
||||
"--disable-cups",
|
||||
"--disable-gtk",
|
||||
"--without-tesseract",
|
||||
"--without-libpaper",
|
||||
"--without-pdftoraster"
|
||||
],
|
||||
"make-args": [
|
||||
"so"
|
||||
],
|
||||
"make-install-args": [
|
||||
"soinstall"
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/include",
|
||||
"/lib/pkgconfig",
|
||||
"/share"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "libmypaint",
|
||||
"sources": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue