aboutsummaryrefslogtreecommitdiffstats
path: root/main/ghostscript/APKBUILD
diff options
context:
space:
mode:
authorCameron Banta <cbanta@gmail.com>2011-10-28 17:05:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-31 10:36:48 +0000
commit46b45171f76a76651dffa4931f8fd5bfba18b51b (patch)
treee313aaf3f706c38965cd8a099c9bbba4188161bf /main/ghostscript/APKBUILD
parent84dffd114f9a1922b7cb0b0e85f83a43969c1319 (diff)
downloadaports-46b45171f76a76651dffa4931f8fd5bfba18b51b.tar.bz2
aports-46b45171f76a76651dffa4931f8fd5bfba18b51b.tar.xz
main/ghostscript: upgrade to 9.04
Diffstat (limited to 'main/ghostscript/APKBUILD')
-rw-r--r--main/ghostscript/APKBUILD25
1 files changed, 9 insertions, 16 deletions
diff --git a/main/ghostscript/APKBUILD b/main/ghostscript/APKBUILD
index 95582ff8f8..d6abc5c38d 100644
--- a/main/ghostscript/APKBUILD
+++ b/main/ghostscript/APKBUILD
@@ -1,27 +1,22 @@
# Contributor: Cameron Banta <cbanta@gmail.com>
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=ghostscript
-pkgver=9.00
-pkgrel=2
+pkgver=9.04
+pkgrel=0
pkgdesc="An interpreter for the PostScript language and for PDF"
url="http://ghostscript.com/"
arch="all"
-license="GPL"
-makedepends="autoconf automake jpeg-dev libpng-dev jasper-dev expat-dev zlib-dev tiff-dev libiconv-dev"
+license="GPL3"
+makedepends="autoconf automake jpeg-dev libpng-dev jasper-dev expat-dev zlib-dev tiff-dev
+ freetype-dev libiconv-dev lcms-dev"
subpackages="$pkgname-doc $pkgname-dev"
-source="http://ghostscript.com/releases/$pkgname-$pkgver.tar.gz
- ghostscript-system-jasper.patch
- ghostscript-png15.patch"
+source="http://downloads.ghostscript.com/public/$pkgname-$pkgver.tar.gz"
prepare() {
cd "$srcdir/$pkgname-$pkgver"
# force it to use system-libs
- rm -rf jpeg libpng jasper expat tiff zlib
-
- # fix build with systems jasper
- patch -Np1 -i "${srcdir}"/ghostscript-system-jasper.patch || return 1
- patch -Np0 -i "${srcdir}"/ghostscript-png15.patch || return 1
+ rm -rf jpeg libpng zlib jasper expat tiff lcms
# fix parallel builds
sed -i -e 's/ECHO_XE/ECHOGS_XE/g' \
@@ -41,7 +36,7 @@ prepare() {
--without-omni \
--with-drivers=FILES \
--with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
- --disable-cups --disable-gtk --disable-cairo \
+ --disable-cups --disable-gtk \
--disable-compile-inits # needed for linking with system-zlib
}
@@ -70,6 +65,4 @@ package() {
mv "$pkgdir/usr/share/$pkgname/$pkgver/examples" "$pkgdir/usr/share/doc/$pkgname"
}
-md5sums="a402462478b4cdda3e1816899227b845 ghostscript-9.00.tar.gz
-f5bc029b0ed05ac8d602bff0e1c021bd ghostscript-system-jasper.patch
-020ebbd97bb3dd226660bc03ce08293c ghostscript-png15.patch"
+md5sums="9c2fb4af1eb609d09dba5bb0fa76173a ghostscript-9.04.tar.gz"