wok diff yad/receipt @ rev 18677

syslinux/c32box: fix custom initrd >= 2k
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 06 17:41:24 2015 +0100 (2015-12-06)
parents 1615f4391fb0
children
line diff
     1.1 --- a/yad/receipt	Tue May 12 19:26:09 2015 -0400
     1.2 +++ b/yad/receipt	Sun Dec 06 17:41:24 2015 +0100
     1.3 @@ -12,12 +12,11 @@
     1.4  TAGS="gtk2"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 -DEPENDS="gtk+ libwebkit"
     1.8 +DEPENDS="gtk+"
     1.9  BUILD_DEPENDS="gtk+-dev"
    1.10  
    1.11  case "$ARCH" in
    1.12 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS optipng libwebkit-dev"
    1.13 -		DEPENDS="$DEPENDS libwebkit" ;;
    1.14 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS optipng";;
    1.15  esac
    1.16  
    1.17  # Rules to configure and make the package.
    1.18 @@ -26,10 +25,10 @@
    1.19  	#patch -p1 < $stuff/ru.patch
    1.20  	./configure \
    1.21  		--enable-icon-browser \
    1.22 -		--enable-html \
    1.23  		$CONFIGURE_ARGS &&
    1.24 -	make && make install &&
    1.25 -	optipng -quiet -strip all -o7 -zm1-9 \
    1.26 +	make && make install
    1.27 +	# Skip optipng for arm arch
    1.28 +	[ -x '/usr/bin/optipng' ] && optipng -quiet -strip all -o7 -zm1-9 \
    1.29  		$install/usr/share/icons/hicolor/48x48/apps/yad.png
    1.30  }
    1.31