ghostscript: GTK3 only as optional dependency

This commit is contained in:
Alexpux
2014-04-15 22:31:26 +04:00
parent 2e86af0fb9
commit 67cac86902

View File

@@ -9,7 +9,7 @@ arch=('any')
groups=("${_mingw_suff}")
license=('AGPL' 'custom')
pkgdesc="An interpreter for the PostScript language (mingw-w64)"
depends=("${_mingw_suff}-gtk3"
depends=(
"${_mingw_suff}-freetype"
"${_mingw_suff}-fontconfig"
"${_mingw_suff}-jasper"
@@ -42,7 +42,7 @@ prepare() {
# force it to use system-libs
rm -rf freetype jpeg libpng lcms lcms2 tiff zlib #openjpeg
#cd base
libtoolize --force --copy --install
autoconf -f -i
@@ -70,8 +70,8 @@ build()
}
package() {
cd ${srcdir}/${_realname}-$pkgver
make DESTDIR="$pkgdir" soinstall
cd ${srcdir}/${_realname}-$pkgver
make DESTDIR="$pkgdir" soinstall
# install missing doc files # http://bugs.archlinux.org/task/18023
install -m 644 "${srcdir}"/${_realname}-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}${MINGW_PREFIX}"/share/${_realname}/$pkgver/doc/