wok-next diff florence/receipt @ rev 20799

libbonobo: add patch; up florence to the latest version; add old florence-gtk2; add alure and jpegoptim; update dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 12 00:53:16 2018 +0300 (2018-06-12)
parents 757d032c55c7
children a3c581bf52b8
line diff
     1.1 --- a/florence/receipt	Fri Mar 30 19:31:50 2018 +0300
     1.2 +++ b/florence/receipt	Tue Jun 12 00:53:16 2018 +0300
     1.3 @@ -1,36 +1,45 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="florence"
     1.8 -VERSION="0.5.4"
     1.9 +VERSION="0.6.3"
    1.10 +CATEGORY="utilities"
    1.11  SHORT_DESC="On-screen virtual keyboard"
    1.12 +MAINTAINER="psychomaniak@xakep.ru"
    1.13  LICENSE="GPL"
    1.14 -CATEGORY="utilities"
    1.15 -MAINTAINER="psychomaniak@xakep.ru"
    1.16 +WEB_SITE="http://sourceforge.net/projects/florence/"
    1.17 +
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 -WEB_SITE="http://sourceforge.net/projects/florence/"
    1.20 -WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION-gtk2/$TARBALL"
    1.21 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.22  
    1.23 -DEPENDS="gtk+ GConf librsvg at-spi2-core at-spi2-atk gstreamer0"
    1.24 -BUILD_DEPENDS="gtk+-dev GConf-dev librsvg-dev at-spi2-core-dev at-spi2-atk-dev \
    1.25 -gstreamer0-dev libnotify-dev gnome-doc-utils intltool"
    1.26 +BUILD_DEPENDS="intltool glib-dev xorg-libXext-dev cairo-dev librsvg-dev \
    1.27 +libxml2-dev gstreamer1-dev gtk+3-dev xorg-libXtst-dev"
    1.28 +SPLIT="florence-dev"
    1.29  
    1.30 -# Rules to configure and make the package.
    1.31 -compile_rules()
    1.32 -{
    1.33 +compile_rules() {
    1.34  	./configure \
    1.35 -		--prefix=/usr \
    1.36  		--without-panelapplet \
    1.37  		--without-docs \
    1.38  		--without-notification \
    1.39 -		--without-xtst \
    1.40 -		--disable-schemas-compile
    1.41 -	make && make install
    1.42 +		--with-xtst \
    1.43 +		--disable-schemas-compile \
    1.44 +		--without-at-spi \
    1.45 +		--disable-static \
    1.46 +		$CONFIGURE_ARGS &&
    1.47 +	fix libtool &&
    1.48 +	make -j1 &&
    1.49 +	make -j1 install
    1.50  }
    1.51  
    1.52 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.53 -genpkg_rules()
    1.54 -{
    1.55 -	cp -a $install/* $fs
    1.56 -	sed 's|Categories.*$|&Utility;|' -i \
    1.57 -		$fs/usr/share/applications/florence.desktop
    1.58 +genpkg_rules() {
    1.59 +	case $PACKAGE in
    1.60 +		florence)
    1.61 +			copy @std *.mo
    1.62 +			DEPENDS="cairo gdk-pixbuf glib gstreamer1 gtk+3 librsvg libxml2 \
    1.63 +			pango xorg-libX11 xorg-libXext xorg-libXtst"
    1.64 +			;;
    1.65 +		*-dev)
    1.66 +			copy @dev
    1.67 +			DEPENDS="florence glib-dev"
    1.68 +			;;
    1.69 +	esac
    1.70  }