diff options
Diffstat (limited to 'main/ghostscript/APKBUILD')
-rw-r--r-- | main/ghostscript/APKBUILD | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/main/ghostscript/APKBUILD b/main/ghostscript/APKBUILD index 23ea78ed24..894993a52d 100644 --- a/main/ghostscript/APKBUILD +++ b/main/ghostscript/APKBUILD @@ -1,17 +1,22 @@ # Contributor: Cameron Banta <cbanta@gmail.com> # Maintainer: Cameron Banta <cbanta@gmail.com> pkgname=ghostscript -pkgver=9.15 -pkgrel=1 +pkgver=9.16 +pkgrel=0 pkgdesc="An interpreter for the PostScript language and for PDF" url="http://ghostscript.com/" arch="all" license="GPL3" makedepends="autoconf automake libjpeg-turbo-dev libpng-dev jasper-dev expat-dev zlib-dev tiff-dev freetype-dev libiconv-dev lcms2-dev gtk+3.0-dev - cups-dev libtool" + cups-dev libtool jbig2dec-dev openjpeg-dev" subpackages="$pkgname-doc $pkgname-dev $pkgname-gtk" -source="http://downloads.ghostscript.com/public/$pkgname-$pkgver.tar.gz" +source="http://downloads.ghostscript.com/public/$pkgname-$pkgver.tar.gz + ghostscript-system-zlib.patch + ghostscript-system-openjpeg2.patch + ghostscript-wrf-snprintf.patch + fix-sprintf.patch + " _builddir="$srcdir/ghostscript-$pkgver" prepare() { @@ -23,7 +28,8 @@ prepare() { done # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff lcms2 cups/libs + rm -r jpeg libpng zlib expat tiff lcms2 cups/libs jbig2dec \ + freetype openjpeg || return 1 # fix parallel builds sed -i -e 's/ECHO_XE/ECHOGS_XE/g' \ @@ -59,6 +65,7 @@ build(){ --infodir=/usr/share/info \ --docdir=/usr/share/doc/"$pkgname" \ --enable-dynamic \ + --disable-static \ --with-system-libtiff \ --with-ijs \ --with-jbig2dec \ @@ -103,6 +110,18 @@ gtk() { mv "$pkgdir"/usr/bin/gsx "$subpkgdir"/usr/bin/ } -md5sums="5a78ab0990ff6ec3a103576bc8777c46 ghostscript-9.15.tar.gz" -sha256sums="27f11e4fe5b89857ae745687281d1e4daf9681edc858a3f7e8e77ef09609777a ghostscript-9.15.tar.gz" -sha512sums="cbe28eb35cfc41f10546f1ad4c19926b1a270d5dad1fa1e5c3747cbc3e12cf84827c1da6e9a25338d798b7524a63d47775c3eb62449904ddc233c65ec753ed5e ghostscript-9.15.tar.gz" +md5sums="829319325bbdb83f5c81379a8f86f38f ghostscript-9.16.tar.gz +c180cac458c6ab7bcd319fe092abb9cd ghostscript-system-zlib.patch +7bc12888cccf6d2827d0ff012813220f ghostscript-system-openjpeg2.patch +f5129f6cc01a3d593cf02fe1ef94cbe8 ghostscript-wrf-snprintf.patch +ed14fa288463e08e1e6074a5d1ebbcbb fix-sprintf.patch" +sha256sums="746d77280cca8afdd3d4c2c1389e332ed9b0605bd107bcaae1d761b061d1a68d ghostscript-9.16.tar.gz +bcbd4154fc186b3564fa6140d57117f243a5d703823c03443434c09aeef20684 ghostscript-system-zlib.patch +0d029c98b2149715b63d2eae9634eca0d427bf77e713dd355854412fc92b35ac ghostscript-system-openjpeg2.patch +3ca8f75d743aae7f2baa109a2a9217c33867c13e88e0ddbc96dc9be39157ae72 ghostscript-wrf-snprintf.patch +3051dff937ab9ced9f88b36384400b10bc9cdb39b2abd3ece8f4c41a0246874e fix-sprintf.patch" +sha512sums="cd7da12f55379f7d388bd2573a307426da230a2220766a7138ab49990fb34343801a6d5e76ba0f4d6c97a5871359658ca043fcc700242b02f30de30a15b2847f ghostscript-9.16.tar.gz +6449fe3594d2b61aa4a96762a91db847242dbbb407c6743af8a5db0f7f18bb82df3c89e974e6b23deecaaf7b6bf1fb6930713cbe6229ec3d8b26dd65115893a8 ghostscript-system-zlib.patch +f874540fc53f85a3587253aaf8a29fc7792590938daf7f44e573cbbdac258b39db8baccce9569737c5c1a0a3816c6a8ff55b97f60dbefbba0c1729fd202d0ddd ghostscript-system-openjpeg2.patch +86f30dd61c4ee87e1cf72686da4ee6d0dd89100e122279c038dd7cb813a72b95d170ca2ae8cf6a10f2a01b18e49c704dc6aca5cbb5253886908332a90b7a7c2b ghostscript-wrf-snprintf.patch +300712709ec75f728c703f6a2a5abd992b7c2137df81cc1dd4f6e96c690077e0d5a4afd0e06ce55660061911ddfbf1e68d7020ec3e5f2124602133a10451ec42 fix-sprintf.patch" |