wok-next diff zenity-gtk2/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents
children 757d032c55c7
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/zenity-gtk2/receipt	Wed Feb 28 17:32:31 2018 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="zenity-gtk2"
     1.7 +VERSION="2.32.1" # GTK+2 was deprecated in newer versions of zenity
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="gui dialogs"
    1.10 +MAINTAINER="allan316@gmail.com"
    1.11 +LICENSE="LGPL2"
    1.12 +WEB_SITE="https://wiki.gnome.org/Projects/Zenity"
    1.13 +
    1.14 +TARBALL="zenity-$VERSION.tar.bz2"
    1.15 +WGET_URL="$GNOME_MIRROR/zenity/${VERSION%.*}/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="gnome-doc-utils-dev intltool gtk+-dev" # + libnotify-dev -> crash on build. FIXME
    1.18 +
    1.19 +compile_rules() {
    1.20 +	./configure \
    1.21 +		--disable-scrollkeeper \
    1.22 +		$CONFIGURE_ARGS &&
    1.23 +	make && make install
    1.24 +}
    1.25 +
    1.26 +genpkg_rules() {
    1.27 +	copy @std
    1.28 +	rm -r $fs/usr/share/gnome/ $fs/usr/share/omf/ # GNOME stuff. Just remove it
    1.29 +	DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango \
    1.30 +	xorg-libX11"
    1.31 +	TAGS="dialogs gui"
    1.32 +}