wok-current rev 18970

Add mate-notification-daemon
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 11 15:56:52 2016 +0200 (2016-03-11)
parents a70cb5c35d8f
children f81213220957
files mate-notification-daemon/description.txt mate-notification-daemon/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mate-notification-daemon/description.txt	Fri Mar 11 15:56:52 2016 +0200
     1.3 @@ -0,0 +1,4 @@
     1.4 +mate-notification-daemon is a fork of gnome-notification-daemon.
     1.5 +
     1.6 +mate-notification-properties is a utility to set up various options related to
     1.7 +desktop notifications.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mate-notification-daemon/receipt	Fri Mar 11 15:56:52 2016 +0200
     2.3 @@ -0,0 +1,42 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="mate-notification-daemon"
     2.7 +VERSION="1.13.0"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="Fork of gnome-notification-daemon"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://github.com/mate-desktop/mate-notification-daemon/"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    2.15 +PROVIDE="notification-daemon"
    2.16 +TAGS="MATE"
    2.17 +
    2.18 +DEPENDS="gtk+ libcanberra libltdl libnotify libwnck"
    2.19 +BUILD_DEPENDS="autoconf automake libtool gtk+-dev dbus-dev dbus-glib-dev \
    2.20 +libcanberra-dev libwnck-dev libnotify-dev intltool"
    2.21 +GENERIC_MENUS="no"
    2.22 +
    2.23 +# Rules to configure and make the package.
    2.24 +compile_rules()
    2.25 +{
    2.26 +	sed -i '/^MATE_/d' configure.ac	# build standalone without MATE
    2.27 +
    2.28 +	mkdir macros; autoreconf --install --force
    2.29 +	intltoolize;  autoreconf
    2.30 +	./configure \
    2.31 +		--prefix=/usr \
    2.32 +		--sysconfdir=/etc \
    2.33 +	$CONFIGURE_ARGS &&
    2.34 +	make && make install
    2.35 +}
    2.36 +
    2.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.38 +genpkg_rules()
    2.39 +{
    2.40 +	cp -a $install/* $fs
    2.41 +	find $fs/usr/lib -name '*.*a' -delete
    2.42 +	rm -r $fs/usr/share/locale
    2.43 +	sed -i '/^OnlyShowIn/d' $fs/usr/share/applications/mate-notification-properties.desktop
    2.44 +	find $fs/usr/share/man -type f -exec gzip \{\} \;
    2.45 +}