wok-next diff zenity/receipt @ rev 20067

zenity -> zenity-gtk2 (2.32.1); up zenity (3.24.0); add zenity+webkit2 (3.24.0).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 24 17:34:03 2017 +0300 (2017-10-24)
parents 191b99ca9dc2
children d43bf7aae921
line diff
     1.1 --- a/zenity/receipt	Wed Oct 02 10:41:05 2013 +0000
     1.2 +++ b/zenity/receipt	Tue Oct 24 17:34:03 2017 +0300
     1.3 @@ -1,42 +1,37 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="zenity"
     1.8 -VERSION="2.32.1"
     1.9 -CATEGORY="development"
    1.10 -SHORT_DESC="gui dialogs"
    1.11 -MAINTAINER="allan316@gmail.com"
    1.12 +VERSION="3.24.0"
    1.13 +CATEGORY="x-window"
    1.14 +SHORT_DESC="Display GTK+3 dialogs"
    1.15 +MAINTAINER="al.bobylev@gmail.com"
    1.16  LICENSE="LGPL2"
    1.17 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="http://www.gnome.org"
    1.19 -WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.20 -TAGS="dialogs gui"
    1.21 +WEB_SITE="https://wiki.gnome.org/Projects/Zenity"
    1.22  
    1.23 -DEPENDS="gtk+ libglade libnotify"
    1.24 -BUILD_DEPENDS="gnome-doc-utils gnome-doc-utils-dev libglade-dev \
    1.25 -intltool pkg-config docbook-xsl"
    1.26 +TARBALL="zenity-$VERSION.tar.xz"
    1.27 +WGET_URL="$GNOME_MIRROR/zenity/${VERSION%.*}/$TARBALL"
    1.28  
    1.29 -# Rules to configure and make the package.
    1.30 -compile_rules()
    1.31 -{
    1.32 -	cd $src
    1.33 -	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		--localstatedir=/var/lib \
    1.36 -		--disable-scrollkeeper \
    1.37 -		--infodir=/usr/share/info \
    1.38 -		--mandir=/usr/share/man \
    1.39 -		$CONFIGURE_ARGS &&
    1.40 -	make && make DESTDIR=$DESTDIR install
    1.41 +BUILD_DEPENDS="gtk+3-dev glib-dev libnotify-gtk3-dev gettext itstool"
    1.42 +SPLIT="zenity-gnome zenity"
    1.43 +SIBLINGS="zenity+webkit2"
    1.44 +
    1.45 +compile_rules() {
    1.46 +	./configure $CONFIGURE_ARGS && make && make install
    1.47  }
    1.48  
    1.49 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.50 -genpkg_rules()
    1.51 -{
    1.52 -	mkdir -p $fs/usr/share
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 -	cp -a $install/usr/share/zenity $fs/usr/share
    1.55 -	cp -a $install/usr/share/omf $fs/usr/share
    1.56 -	# gdialog wrapper need to be executable.
    1.57 -	chmod +x $fs/usr/bin/*
    1.58 +genpkg_rules() {
    1.59 +	case $PACKAGE in
    1.60 +		*-gnome)
    1.61 +			copy help/
    1.62 +			CAT="gnome|GNOME integration"
    1.63 +			;;
    1.64 +		zenity)
    1.65 +			copy @std
    1.66 +			remove_already_packed
    1.67 +			DEPENDS="atk cairo gdk-pixbuf glib gtk+3 libnotify-gtk3 pango \
    1.68 +			xorg-libX11"
    1.69 +			TAGS="dialogs"
    1.70 +			;;
    1.71 +	esac
    1.72  }
    1.73