comparison src/ghostscript.mk @ 3792:1a2fec9962a7

ghostscript: update to 9.15 * src/ghostscript-mingw-i686-makefile: update to prebuilt file for this version * src/ghostscript.mk: update version, checksum * src/mingw-ghostscript-1-win.patch: new file * dist-files.mk: add src/mingw-ghostscript-1-win.patch
author John Donoghue
date Thu, 05 Feb 2015 16:04:09 -0500
parents 0023c034ec4a
children 496c393c1d3e
comparison
equal deleted inserted replaced
3791:26f72c8e2be7 3792:1a2fec9962a7
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := ghostscript 4 PKG := ghostscript
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 9.07 6 $(PKG)_VERSION := 9.15
7 $(PKG)_CHECKSUM := 550a85e73b7213d8ae41ea06523661638b4bc1a2 7 $(PKG)_CHECKSUM := f53bcc47e912c7bffc2ced62ed9311376fb18bab
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
10 $(PKG)_URL := http://downloads.ghostscript.com/public/$($(PKG)_FILE) 10 $(PKG)_URL := http://downloads.ghostscript.com/public/$($(PKG)_FILE)
11 $(PKG)_DEPS := jpeg lcms libpng tiff zlib 11 $(PKG)_DEPS := jpeg lcms libpng tiff zlib
12 ifeq ($(MXE_WINDOWS_BUILD),no) 12 ifeq ($(MXE_WINDOWS_BUILD),no)
13 $(PKG)_DEPS += x11 xext 13 $(PKG)_DEPS += x11 xext
14 endif 14 endif
54 ## and running programs during the build, but those programs 54 ## and running programs during the build, but those programs
55 ## probe the build system and don't know about cross compiling, 55 ## probe the build system and don't know about cross compiling,
56 ## so we generate the files then replace them with files from a 56 ## so we generate the files then replace them with files from a
57 ## mingw native build. 57 ## mingw native build.
58 define $(PKG)_BUILD 58 define $(PKG)_BUILD
59 mv '$(1)/zlib' '$(1)/zlib.x'
60 mv '$(1)/freetype' '$(1)/freetype.x'
59 cp '$(TOP_DIR)/src/ghostscript-mingw-i686-makefile' '$(1)/Makefile' 61 cp '$(TOP_DIR)/src/ghostscript-mingw-i686-makefile' '$(1)/Makefile'
60 $(MAKE) -C '$(1)' TARGET='$(TARGET)' prefix='$(HOST_PREFIX)' obj/arch.h obj/gconfig_.h 62 $(MAKE) -C '$(1)' TARGET='$(TARGET)' prefix='$(HOST_PREFIX)' obj/arch.h obj/gconfig_.h
61 cp '$(TOP_DIR)/src/ghostscript-mingw-i686-arch.h' '$(1)/obj/arch.h' 63 cp '$(TOP_DIR)/src/ghostscript-mingw-i686-arch.h' '$(1)/obj/arch.h'
62 cp '$(TOP_DIR)/src/ghostscript-mingw-i686-arch.h' '$(1)/obj/gconfig_.h' 64 cp '$(TOP_DIR)/src/ghostscript-mingw-i686-arch.h' '$(1)/obj/gconfig_.h'
63 $(MAKE) -C '$(1)' -j '$(JOBS)' \ 65 $(MAKE) -C '$(1)' -j '$(JOBS)' \