wok diff yad-gtk3/receipt @ rev 19404

Up openssh (7.3p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 09 12:06:28 2016 +0200 (2016-09-09)
parents 06146445ad61
children 4b55a51aefa5
line diff
     1.1 --- a/yad-gtk3/receipt	Wed May 13 12:14:40 2015 +0300
     1.2 +++ b/yad-gtk3/receipt	Fri Sep 09 12:06:28 2016 +0200
     1.3 @@ -3,36 +3,36 @@
     1.4  PACKAGE="yad-gtk3"
     1.5  VERSION="0.28.1"
     1.6  CATEGORY="utilities"
     1.7 -SHORT_DESC="Display graphical dialogs from shell scripts or command line (GTK+3)"
     1.8 +SHORT_DESC="Yet Another Dialog (GTK+3)"
     1.9  MAINTAINER="devl547@gmail.com"
    1.10  LICENSE="GPL3"
    1.11 -SOURCE="yad"
    1.12 -PROVIDE="yad:gtk+3"
    1.13 -TARBALL="$SOURCE-$VERSION.tar.xz"
    1.14 -WEB_SITE="http://sourceforge.net/projects/yad-dialog/"
    1.15 +WEB_SITE="https://sourceforge.net/projects/yad-dialog/"
    1.16 +TARBALL="yad-$VERSION.tar.xz"
    1.17  WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
    1.18  TAGS="gtk3"
    1.19  
    1.20 -DEPENDS="gtk+3"
    1.21 -BUILD_DEPENDS="gtk+3-dev optipng"
    1.22 +DEPENDS="atk cairo gdk-pixbuf glib glibc-base gtk+3 libffi libgio pango pcre \
    1.23 +zlib"
    1.24 +BUILD_DEPENDS="gtk+3-dev"
    1.25 +PROVIDE="yad:gtk+3"
    1.26 +SIBLINGS="yad-gtk2 yad-gtk2-html"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	#patch -p1 < $stuff/ru.patch
    1.32 +	patch -p1 -i $WOK/yad-gtk2/stuff/ru.patch
    1.33 +
    1.34  	./configure \
    1.35  		--with-gtk=gtk3 \
    1.36  		--enable-icon-browser &&
    1.37  	make && make install
    1.38 -	optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \
    1.39 -		$install/usr/share/icons/hicolor/48x48/apps/yad.png
    1.40 +
    1.41 +	cook_compress_png
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47 -	usih=/usr/share/icons/hicolor
    1.48 -	mkdir -p $fs$usih
    1.49 -	cp -a $install/usr/bin $fs/usr
    1.50 -	cp -a $install$usih/48x48 $fs$usih
    1.51 +	cook_copy_files yad yad-icon-browser
    1.52 +	cook_copy_icons
    1.53  }