wok diff xombrero/receipt @ rev 19428

syslinux/isohybrid: random uuid in gpt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 10:31:58 2016 +0200 (2016-10-01)
parents 87a2f75d7a93
children 6135577f4d08
line diff
     1.1 --- a/xombrero/receipt	Mon Apr 20 11:31:18 2015 +0200
     1.2 +++ b/xombrero/receipt	Sat Oct 01 10:31:58 2016 +0200
     1.3 @@ -9,8 +9,10 @@
     1.4  WEB_SITE="https://opensource.conformal.com/wiki/xombrero"
     1.5  TARBALL="$PACKAGE-$VERSION.tgz"
     1.6  WGET_URL="https://opensource.conformal.com/snapshots/$PACKAGE/$TARBALL"
     1.7 +CONFIG_FILES="/etc/xombrero.conf"
     1.8  TAGS="web-browser"
     1.9  
    1.10 +SUGGESTED="cacerts"
    1.11  DEPENDS="gtk+ libwebkit libbsd"
    1.12  BUILD_DEPENDS="gtk+-dev libwebkit-dev libsoup-dev gnutls-dev libbsd-dev \
    1.13  groff wget"
    1.14 @@ -19,14 +21,21 @@
    1.15  compile_rules()
    1.16  {
    1.17  	find -type f -print0 | xargs -0 sed -i 's|/usr/local|/usr|'
    1.18 -	sed -i "s|xombrero %u|xombrero -f /etc/xombrero.conf %u|" xombrero.desktop
    1.19 +	cp -f $stuff/xombrero.desktop .
    1.20  	make PREFIX="/usr" -C linux GTK_VERSION="gtk2" install
    1.21  }
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26 -	mkdir $fs/etc
    1.27 +	mkdir -p $fs/etc
    1.28  	cp -a $install/* $fs
    1.29  	cp $stuff/xombrero.conf $fs/etc
    1.30 +
    1.31 +	# Link icons
    1.32 +	for size in 16 32 48 64 128 256; do
    1.33 +		mkdir -p $fs/usr/share/icons/hicolor/${size}x$size/apps
    1.34 +		ln -s /usr/share/xombrero/xombreroicon$size.png \
    1.35 +			$fs/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png
    1.36 +	done
    1.37  }