wok-current diff ghostscript/receipt @ rev 23651

updated smplayer (19.10.0 -> 20.4.2)
author Hans-G?nter Theisgen
date Mon Apr 20 15:19:14 2020 +0100 (2020-04-20)
parents b62f93de1a4e
children d8c511e24c20
line diff
     1.1 --- a/ghostscript/receipt	Mon Oct 05 01:10:26 2015 +0300
     1.2 +++ b/ghostscript/receipt	Mon Apr 20 15:19:14 2020 +0100
     1.3 @@ -6,18 +6,19 @@
     1.4  SHORT_DESC="Ghostscript tools and utilities."
     1.5  MAINTAINER="jozee@slitaz.org"
     1.6  LICENSE="GPL3"
     1.7 +WEB_SITE="http://pages.cs.wisc.edu/~ghost/"
     1.8 +
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10 -WEB_SITE="http://pages.cs.wisc.edu/~ghost/"
    1.11  #WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL"
    1.12  WGET_URL="http://downloads.ghostscript.com/public/$TARBALL"
    1.13  
    1.14  DEPENDS="gtk+ expat fontconfig freetype gnutls jpeg libgcrypt libgpg-error \
    1.15 -libpng tiff zlib cups xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
    1.16 -xorg-libXdmcp xorg-libXext xorg-libXt gcc-lib-base jasper jbig2dec" 
    1.17 +	libpng tiff zlib cups xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
    1.18 +	xorg-libXdmcp xorg-libXext xorg-libXt gcc-lib-base jasper jbig2dec" 
    1.19  # build depends are optional ; ghostscripts still build but does not compile in cups support
    1.20  BUILD_DEPENDS="cairo-dev gtk+-dev expat-dev fontconfig-dev freetype-dev \
    1.21 -gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev \
    1.22 -zlib-dev cups-dev jbig2dec jasper-dev"
    1.23 +	gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev \
    1.24 +	zlib-dev cups-dev jbig2dec jasper-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28 @@ -27,17 +28,21 @@
    1.29  
    1.30  	# --disable-compile-inits is needed for linking with system-zlib
    1.31  
    1.32 -	./configure \
    1.33 -		--prefix=/usr \
    1.34 -		--infodir=/usr/share/info \
    1.35 -		--mandir=/usr/share/man \
    1.36 -		--disable-compile-inits \
    1.37 -		--enable-dynamic \
    1.38 -		--enable-cups \
    1.39 -		--enable-cairo \
    1.40 -		--enable-gtk \
    1.41 +	# 9.02
    1.42 +	sed -i '32i#include <cups/ppd.h>' \
    1.43 +		cups/colord.h
    1.44 +
    1.45 +	./configure				\
    1.46 +		--prefix=/usr			\
    1.47 +		--infodir=/usr/share/info	\
    1.48 +		--mandir=/usr/share/man		\
    1.49 +		--disable-compile-inits		\
    1.50 +		--enable-dynamic		\
    1.51 +		--enable-cups			\
    1.52 +		--enable-cairo			\
    1.53 +		--enable-gtk			\
    1.54  		--with-fontpath=/usr/share/fonts/truetype/:/usr/share/fonts \
    1.55 -		--disable-compile-inits \
    1.56 +		--disable-compile-inits		\
    1.57  		$CONFIGURE_ARGS &&
    1.58  	make $MAKEFLAGS &&
    1.59  	make DESTDIR=$DESTDIR install soinstall
    1.60 @@ -48,20 +53,24 @@
    1.61  {
    1.62  	mkdir -p $fs/usr/share
    1.63  	mkdir -p $fs/usr/lib
    1.64 -	cp -a $install/usr/bin $fs/usr
    1.65 -	cp -a $install/usr/lib $fs/usr
    1.66 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.67 +
    1.68 +	cp -a $install/usr/bin			$fs/usr
    1.69 +	cp -a $install/usr/lib			$fs/usr
    1.70 +	cp -a $install/usr/share/$PACKAGE	$fs/usr/share
    1.71 +
    1.72  	# if cups-dev installed
    1.73 -	cp -a $install/usr/share/cups $fs/usr/share
    1.74 -	cp -a $install/etc $fs
    1.75 -	# Remove doc and examples
    1.76 -	rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc
    1.77 -	rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples
    1.78 +	cp -a $install/usr/share/cups		$fs/usr/share
    1.79 +	cp -a $install/etc			$fs
    1.80 +
    1.81 +	# Remove documentation and examples
    1.82 +	rm -rf					$fs/usr/share/$PACKAGE/$VERSION/doc
    1.83 +	rm -rf					$fs/usr/share/$PACKAGE/$VERSION/examples
    1.84 +
    1.85  	# Remove CMAPs (Non-free : not covered under GPL) : moved to non-free package get-ghostscript-CMAP
    1.86 -	rm -rf $fs/usr/share/$PACKAGE/$VERSION/Resource/CMap/*
    1.87 +	rm -rf					$fs/usr/share/$PACKAGE/$VERSION/Resource/CMap/*
    1.88  	
    1.89 -	# already compiled as a shared lib; gsc is same as gs
    1.90 -	rm -rf $fs/usr/bin/gs
    1.91 +	# already compiled as a shared library; gsc is same as gs
    1.92 +	rm -rf					$fs/usr/bin/gs
    1.93  }
    1.94  
    1.95  post_install()