wok-next diff mate-notification-daemon-gtk2/receipt @ rev 20212

Up consonance (0.5.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 04 18:41:56 2017 +0100 (2017-11-04)
parents 6ad45360af55
children 757d032c55c7
line diff
     1.1 --- a/mate-notification-daemon-gtk2/receipt	Sat Oct 28 15:53:05 2017 +0300
     1.2 +++ b/mate-notification-daemon-gtk2/receipt	Sat Nov 04 18:41:56 2017 +0100
     1.3 @@ -1,22 +1,20 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 -PACKAGE="mate-notification-daemon"
     1.7 -VERSION="1.14.0"
     1.8 +PACKAGE="mate-notification-daemon-gtk2"
     1.9 +VERSION="1.14.0" # deprecated version, to use with gtk2
    1.10  CATEGORY="x-window"
    1.11  SHORT_DESC="Fork of gnome-notification-daemon"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://github.com/mate-desktop/mate-notification-daemon/"
    1.15  
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 +TARBALL="mate-notification-daemon-$VERSION.tar.gz"
    1.18  WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    1.19  
    1.20  BUILD_DEPENDS="autoconf automake libtool gtk+-dev dbus-dev dbus-glib-dev \
    1.21  libcanberra-dev libwnck2-dev libnotify-dev intltool"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	sed -i '/^MATE_/d' configure.ac	# build standalone without MATE
    1.28  	sed -i '/^OnlyShowIn/d' src/capplet/mate-notification-properties.desktop.in
    1.29  
    1.30 @@ -28,11 +26,9 @@
    1.31  	make && make install
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 +genpkg_rules() {
    1.38  	copy @std
    1.39 -	rm -r $fs/usr/share/icons/; cook_copy_icons # only 16 and 48
    1.40 +	cook_copy_icons # only 16 and 48
    1.41  	DEPENDS="atk bzlib cairo dbus dbus-glib fontconfig freetype gdk-pixbuf \
    1.42  	glib gtk+ libcanberra libffi libharfbuzz libltdl liblzma libnotify libogg \
    1.43  	libpng16 libvorbis libwnck2 libxml2 pango pcre startup-notification \