diff options
Diffstat (limited to 'libre/ghostscript-libre/PKGBUILD')
-rw-r--r-- | libre/ghostscript-libre/PKGBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/libre/ghostscript-libre/PKGBUILD b/libre/ghostscript-libre/PKGBUILD index eda488048..4462b7792 100644 --- a/libre/ghostscript-libre/PKGBUILD +++ b/libre/ghostscript-libre/PKGBUILD @@ -1,14 +1,15 @@ -# $Id: PKGBUILD 123066 2011-05-07 23:01:49Z stephane $ +# $Id: PKGBUILD 146976 2012-01-19 20:56:52Z andyrtr $ # Maintainer: AndyRTR <andyrtr@archlinux.org> # Maintainer (Parabola): xihh pkgname=ghostscript-libre pkgver=9.04 -pkgrel=5 +_srcpkgrel=5 +pkgrel=6 pkgdesc="An interpreter for the PostScript language without non-free files" arch=('i686' 'x86_64') license=('GPL3') #non free files removed -depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' 'libtiff' 'lcms') # 'lcms2' won't get used) # move in libpaper from community? +depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms') # 'lcms2' won't get used) # move in libpaper from community? makedepends=('gtk2' 'gnutls') optdepends=('texlive-core: needed for dvipdf' 'gtk2: needed for gsx') @@ -16,9 +17,13 @@ conflicts=('ghostscript') replaces=('ghostscript-lrpng' 'ghostscript') provides=('ghostscript-lprng' "ghostscript=$pkgver") url="http://www.ghostscript.com/" -source=(https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz - ghostscript-cups-rgbw.patch) +source=(https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${_srcpkgrel}-any.src.tar.xz + ghostscript-cups-rgbw.patch + ghostscript-gpl-9.04-freetype-underlinking.patch) options=('!libtool' '!makeflags') +md5sums=('ac8f77c94a6b5d5f0170c2e6db38c6bb' + 'bc56eb8c5fef0ecf964f6b3e9b7e65ae' + 'a1928c3e4459dcfee0aaa4b38fadba57') build() { cd ${srcdir}/ghostscript-${pkgver} @@ -26,8 +31,11 @@ build() { # fix broken color printing https://bugs.archlinux.org/task/25519 patch -Np1 -i ${srcdir}/ghostscript-cups-rgbw.patch + # fix a linking issue + patch -Np1 -i ${srcdir}/ghostscript-gpl-9.04-freetype-underlinking.patch + # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff freetype lcms + rm -rf jpeg libpng zlib jasper expat tiff lcms freetype ./configure --prefix=/usr \ --enable-dynamic \ @@ -43,7 +51,7 @@ build() { --without-luratech \ --disable-compile-inits #--help # needed for linking with system-zlib make - + # Build IJS cd ${srcdir}/ghostscript-${pkgver}/ijs ./autogen.sh @@ -70,5 +78,3 @@ package() { cd ${srcdir}/ghostscript-${pkgver}/ijs make DESTDIR=${pkgdir} install } -md5sums=('ac8f77c94a6b5d5f0170c2e6db38c6bb' - 'fd89baafac6589dc93ba71a48c2ba9b4') |