wok-next diff libnotify/receipt @ rev 19988

Add qt5 - now it's look good enough
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 20 03:29:40 2017 +0300 (2017-10-20)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/libnotify/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/libnotify/receipt	Fri Oct 20 03:29:40 2017 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libnotify"
     1.8 -VERSION="0.7.6"
     1.9 +VERSION="0.7.7"
    1.10  CATEGORY="utilities"
    1.11  SHORT_DESC="Notification library"
    1.12  MAINTAINER="fabrice.thiroux@free.fr"
    1.13 @@ -12,33 +12,33 @@
    1.14  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.16  
    1.17 -DEPENDS="gdk-pixbuf glib libffi libpng pcre zlib"
    1.18  BUILD_DEPENDS="gdk-pixbuf-dev glib-dev gtk+-dev gobject-introspection-dev \
    1.19  gtk-doc xmlto"
    1.20  BUILD_DEPENDS_arm="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
    1.21 -
    1.22 -# Handle cross compilation
    1.23 -case "$ARCH" in
    1.24 -	arm*) BUILD_DEPENDS="$BUILD_DEPENDS_arm"
    1.25 -esac
    1.26 +SPLIT="libnotify-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	while read i; do patch -p1 -i $stuff/patches/$i; done < $stuff/patches/series
    1.32 -
    1.33  	sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
    1.34  	-e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
    1.35  	-i configure
    1.36  
    1.37 -	./configure \
    1.38 -		--disable-static \
    1.39 -		$CONFIGURE_ARGS &&
    1.40 -	make && make install
    1.41 +	./configure $CONFIGURE_ARGS && make && make install
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47 -	copy notify-send *.so*
    1.48 +	case $PACKAGE in
    1.49 +		libnotify)
    1.50 +			copy @std #notify-send *.so*
    1.51 +			DEPENDS="gdk-pixbuf glib libffi libpng pcre zlib"
    1.52 +			;;
    1.53 +		*-dev)
    1.54 +			copy @dev
    1.55 +			DEPENDS="libnotify gdk-pixbuf-dev glib-dev glibc-dev libffi-dev \
    1.56 +			libgio-dev libpng-dev pcre-dev zlib-dev"
    1.57 +			;;
    1.58 +	esac
    1.59  }