ghostscript: rebuild against libpng-1.5.
This commit is contained in:
parent
c588f50cd2
commit
5ccc52723b
4 changed files with 7 additions and 8 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'ghostscript-devel'.
|
# Template file for 'ghostscript-devel'.
|
||||||
#
|
#
|
||||||
depends="libijs>=9.05 libgs>=9.05"
|
noarch=yes
|
||||||
|
depends="libijs>=$version libgs>=$version"
|
||||||
short_desc="${short_desc} -- development files"
|
short_desc="${short_desc} -- development files"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
vmove usr/lib/pkgconfig usr/lib
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
|
|
|
@ -5,7 +5,6 @@ libcupsimage.so.2
|
||||||
libcups.so.2
|
libcups.so.2
|
||||||
libpthread.so.0
|
libpthread.so.0
|
||||||
libm.so.6
|
libm.so.6
|
||||||
libpng14.so.14
|
|
||||||
libz.so.1
|
libz.so.1
|
||||||
libdl.so.2
|
libdl.so.2
|
||||||
libfontconfig.so.1
|
libfontconfig.so.1
|
||||||
|
@ -15,3 +14,4 @@ libXt.so.6
|
||||||
libX11.so.6
|
libX11.so.6
|
||||||
libijs-0.35.so
|
libijs-0.35.so
|
||||||
libgs.so.9
|
libgs.so.9
|
||||||
|
libpng15.so.15
|
||||||
|
|
|
@ -5,9 +5,9 @@ libcupsimage.so.2
|
||||||
libcups.so.2
|
libcups.so.2
|
||||||
libpthread.so.0
|
libpthread.so.0
|
||||||
libm.so.6
|
libm.so.6
|
||||||
libpng14.so.14
|
|
||||||
libz.so.1
|
libz.so.1
|
||||||
libdl.so.2
|
libdl.so.2
|
||||||
libfontconfig.so.1
|
libfontconfig.so.1
|
||||||
libfreetype.so.6
|
libfreetype.so.6
|
||||||
libc.so.6
|
libc.so.6
|
||||||
|
libpng15.so.15
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'ghostscript'
|
# Template file for 'ghostscript'
|
||||||
pkgname=ghostscript
|
pkgname=ghostscript
|
||||||
version=9.05
|
version=9.05
|
||||||
|
revision=2
|
||||||
distfiles="http://downloads.ghostscript.com/public/$pkgname-$version.tar.bz2"
|
distfiles="http://downloads.ghostscript.com/public/$pkgname-$version.tar.bz2"
|
||||||
makedepends="automake pkg-config libXext-devel libXt-devel cups-devel fontconfig-devel jasper-devel tiff-devel jpeg-devel libpng-devel lcms-devel lcms2-devel"
|
makedepends="automake pkg-config libXext-devel libXt-devel fontconfig-devel jasper-devel tiff-devel jpeg-devel libpng-devel>=1.5.10 lcms2-devel cups-devel"
|
||||||
revision=1
|
|
||||||
short_desc="An interpreter for the PostScript language"
|
short_desc="An interpreter for the PostScript language"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.ghostscript.com/"
|
homepage="http://www.ghostscript.com/"
|
||||||
|
@ -15,7 +15,6 @@ long_desc="
|
||||||
disable_parallel_build=yes
|
disable_parallel_build=yes
|
||||||
subpackages="libgs libijs $pkgname-devel"
|
subpackages="libgs libijs $pkgname-devel"
|
||||||
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# force it to use system libs.
|
# force it to use system libs.
|
||||||
rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype
|
rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype
|
||||||
|
@ -38,7 +37,7 @@ do_configure() {
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
# build ghostscript
|
# build ghostscript
|
||||||
make ${makejobs}
|
make ${makejobs} && make ${makejobs} so
|
||||||
# build libijs
|
# build libijs
|
||||||
cd ijs && make ${makejobs}
|
cd ijs && make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue