summaryrefslogtreecommitdiff
path: root/libre/gnu-ghostscript
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-05 00:07:38 -0800
committerroot <root@rshg054.dnsready.net>2013-02-05 00:07:38 -0800
commitb91dca65217b7c35be84df053692c9fd1b012560 (patch)
tree1ab70184cb03b2ac7a5123daed51de63f9df742b /libre/gnu-ghostscript
parent3e78397cb031dee2b5874f1c0c9e4c9977f0dbb7 (diff)
Tue Feb 5 00:07:38 PST 2013
Diffstat (limited to 'libre/gnu-ghostscript')
-rw-r--r--libre/gnu-ghostscript/PKGBUILD21
-rw-r--r--libre/gnu-ghostscript/ijs-automake.patch10
2 files changed, 23 insertions, 8 deletions
diff --git a/libre/gnu-ghostscript/PKGBUILD b/libre/gnu-ghostscript/PKGBUILD
index eb3a148e2..dc05d95ad 100644
--- a/libre/gnu-ghostscript/PKGBUILD
+++ b/libre/gnu-ghostscript/PKGBUILD
@@ -2,11 +2,11 @@
_pkgname=ghostscript
pkgname=gnu-ghostscript
-_pkgver=9.05
-pkgver=9.05.0
-pkgrel=2
+_pkgver=9.06
+pkgver=9.06.0
+pkgrel=1
pkgdesc="An interpreter for the PostScript language maintained by a team of GNU programmers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms2')
makedepends=('gtk2' 'gnutls')
@@ -16,14 +16,19 @@ conflicts=${_pkgname}
provides="${_pkgname}=9.06"
url="https://www.gnu.org/software/${_pkgname}/"
source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${pkgname}-${pkgver}.tar.xz
+ ijs-automake.patch
libtool.patch)
-options=('!libtool' '!makeflags')
-md5sums=('e80423be9abb32fc99cc897ed379a7df'
+options=('!libtool')
+md5sums=('85a5e07a6b91937c157576293b381065'
+ '83bcae456ad4c9fb790be483914dbeba'
'5bd5d4966007b460deed866a30a0b3c8')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # fix build with recent automake
+ patch -p1 -i "$srcdir/ijs-automake.patch"
+
# fix libtool version
patch -Np1 -i ${srcdir}/libtool.patch
@@ -55,7 +60,7 @@ build() {
package() {
cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} \
+ make -j1 DESTDIR=${pkgdir} \
cups_serverroot=${pkgdir}/etc/cups \
cups_serverbin=${pkgdir}/usr/lib/cups install soinstall
@@ -70,5 +75,5 @@ package() {
# install IJS
cd ${srcdir}/${pkgname}-${pkgver}/ijs
- make DESTDIR=${pkgdir} install
+ make -j1 DESTDIR=${pkgdir} install
}
diff --git a/libre/gnu-ghostscript/ijs-automake.patch b/libre/gnu-ghostscript/ijs-automake.patch
new file mode 100644
index 000000000..7b5f77ca1
--- /dev/null
+++ b/libre/gnu-ghostscript/ijs-automake.patch
@@ -0,0 +1,10 @@
+--- gnu-ghostscript-9.06.0.orig/ijs/configure.ac 2012-12-26 23:11:50.000000000 -0200
++++ gnu-ghostscript-9.06.0/ijs/configure.ac 2013-02-04 13:28:10.656069912 -0200
+@@ -117,7 +117,6 @@
+ dnl Checks for programs
+
+ AC_PROG_CC
+-AM_PROG_CC_STDC
+ AM_PROG_LIBTOOL
+ AC_SUBST(LIBTOOL_DEPS)
+ AC_ISC_POSIX