upg ghostscript

This commit is contained in:
joborun linux 2024-05-20 18:57:44 +03:00
parent 02dd61de79
commit 92c458ca73
2 changed files with 23 additions and 10 deletions

View File

@ -7,8 +7,8 @@
pkgbase=ghostscript
pkgname=(ghostscript ghostxps ghostpcl)
pkgver=10.03.0
pkgrel=02
pkgver=10.03.1
pkgrel=01
pkgdesc="An interpreter for the PostScript language"
url="https://www.ghostscript.com/"
depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec'
@ -70,6 +70,11 @@ prepare() {
build() {
cd ghostpdl-${pkgver}
# gcc14 buildfix
export CFLAGS+=" -Wno-incompatible-pointer-types -Wno-int-conversion"
# export CXXFLAGS+=" -Wno-incompatible-pointer-types -Wno-int-conversion"
./configure --prefix=/usr \
--with-ijs \
--with-jbig2dec \
@ -140,11 +145,14 @@ arch=(x86_64)
license=('AGPL-3.0-or-later')
sha256sums=(854fd1958711b9b5108c052a6d552b906f1e3ebf3262763febf347d77618639d # ghostpdl-10.03.0.tar.xz
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10031/SHA512SUMS
sha512sums=('3aca7834789bf11582391138bbae99b2ef5d9f1e89db9f838ebef0ed86015deb5c8cf93d0ffe25ad8aa1aa99eda9ecd384cbd59b0d21719cd960261c043044f9'
SKIP SKIP)
sha256sums=(05eee45268f6bb2c6189f9a40685c4608ca089443a93f2af5f5194d83dc368db # ghostpdl-10.03.1.tar.xz
ce6ce3cca271d12de97d99e847f47c1fece0be2b663861654baa217857c00339 # 2010_add_build_timestamp_setting.patch
76ca1580da8b75b69a2b4f8a67a88bd5c7d29126c7ebce5c863247ce724b30a9) # 0001_No_output_visible_with_pdfwriter.diff
## aa1e8bffb5b338e4c2376adc1cbe3170c21109f11ef08e045552f7e630dd58b5 ghostpcl-10.03.0-02-x86_64.pkg.tar.lz
## 8e5e4c69f4d8d6f882beb6c7e5c51ca628d10a40f578e0129407d16ba748b3b4 ghostscript-10.03.0-02-x86_64.pkg.tar.lz
## 662290a1523d247f3cecaa326d0f51d659d6ca179b8ddfc4d46c2b0f731a6a37 ghostxps-10.03.0-02-x86_64.pkg.tar.lz
## 01e9c8966f2ea1bc3ae7d6efc2813f515e31821459391298893940ab3bd01dcb ghostpcl-10.03.1-01-x86_64.pkg.tar.lz
## 68dd6ae0be218d4bbfc1131289a1c0b858d865d2797a862cff325bef94fa5692 ghostscript-10.03.1-01-x86_64.pkg.tar.lz
## bd73796e1a9f079551423432d858c8e700d674a4f7c163b43da5fcce40049bfc ghostxps-10.03.1-01-x86_64.pkg.tar.lz

View File

@ -2,8 +2,8 @@
pkgbase=ghostscript
pkgname=(ghostscript ghostxps ghostpcl)
pkgver=10.03.0
pkgrel=2
pkgver=10.03.1
pkgrel=1
pkgdesc="An interpreter for the PostScript language"
url="https://www.ghostscript.com/"
arch=('x86_64')
@ -17,8 +17,8 @@ source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/
#https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/ghostpdl-${pkgver/.0//}/ghostpdl-${pkgver}.tar.xz
2010_add_build_timestamp_setting.patch
0001_No_output_visible_with_pdfwriter.diff)
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/SHA512SUMS
sha512sums=('6c46ca6fada94b165fe9af6bc6d8e0533a3313e1e551c300cf40c2d31167ba2ba8069d802833fa234e4d7f71cb54216377c59f2dac3b7cdd1a23735cc4e45b63'
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10031/SHA512SUMS
sha512sums=('3aca7834789bf11582391138bbae99b2ef5d9f1e89db9f838ebef0ed86015deb5c8cf93d0ffe25ad8aa1aa99eda9ecd384cbd59b0d21719cd960261c043044f9'
'cd7794ee4f28b11177021b950196385200b610127ed6cb94a45e3202b690b721a0dfcc0276ff39448d4dab64c1b31a76e6c323696a8315aad9edc22077f18a3d'
'659077a7e60b6c56cf3f2e70fbfc5a7114e1294e7a912e40bce9d7e34f1907fff6e407be6c528961c06e7de5c80c637584929d08ade63b277793284b8b56208d')
@ -69,6 +69,11 @@ prepare() {
build() {
cd ghostpdl-${pkgver}
# gcc14 buildfix
export CFLAGS+=" -Wno-incompatible-pointer-types -Wno-int-conversion"
# export CXXFLAGS+=" -Wno-incompatible-pointer-types -Wno-int-conversion"
./configure --prefix=/usr \
--with-ijs \
--with-jbig2dec \