diff options
Diffstat (limited to 'user/gnu-ghostscript/APKBUILD')
-rw-r--r-- | user/gnu-ghostscript/APKBUILD | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/user/gnu-ghostscript/APKBUILD b/user/gnu-ghostscript/APKBUILD index 633582fb6..14ce2c5f6 100644 --- a/user/gnu-ghostscript/APKBUILD +++ b/user/gnu-ghostscript/APKBUILD @@ -2,19 +2,19 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=gnu-ghostscript pkgver=9.14.1 -pkgrel=0 +pkgrel=2 pkgdesc="PostScript utilities" url="https://www.gnu.org/software/ghostscript/" arch="all" license="AGPL-3.0+ WITH PDF-exception" depends="" -makedepends="dbus-dev fontconfig-dev freetype-dev lcms2-dev libice-dev +makedepends="cups-dev dbus-dev fontconfig-dev freetype-dev lcms2-dev libice-dev libjpeg-turbo-dev libpaper-dev libpng-dev libx11-dev libxext-dev libxt-dev tiff-dev zlib-dev" -subpackages="$pkgname-doc" -source="ftp://ftp.gnu.org/gnu/ghostscript/gnu-ghostscript-$pkgver.tar.xz" -sha512sums="658f6ae14b29965c7959b9bd1463760d7fb03b35251446fc37101dbe7ee2866c74a0803e22b2f4488be3221d026578be1d6be7b562ff240036134fbf83edabf9 gnu-ghostscript-9.14.1.tar.xz" -builddir="$srcdir/gnu-ghostscript-$pkgver" +subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" +source="ftp://ftp.gnu.org/gnu/ghostscript/gnu-ghostscript-$pkgver.tar.xz + do-not-use-sprintf.patch + " build() { cd "$builddir" @@ -24,8 +24,11 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var + --localstatedir=/var \ + --enable-dynamic \ + --with-system-libtiff make + make so } check() { @@ -36,5 +39,9 @@ check() { package() { cd "$builddir" make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" soinstall + install -D -m644 base/*.h "$pkgdir"/usr/include/ghostscript } +sha512sums="658f6ae14b29965c7959b9bd1463760d7fb03b35251446fc37101dbe7ee2866c74a0803e22b2f4488be3221d026578be1d6be7b562ff240036134fbf83edabf9 gnu-ghostscript-9.14.1.tar.xz +1c4d79633ecece9f4de7a672f2888939be7d1e0ba24f3a66500fdfbb37e081e0f323a5efa0d1547fed51206e5a95d3b0659c0ea845d0bc333f281dfb88fcc040 do-not-use-sprintf.patch" |