# HG changeset patch # User Aleksej Bobylev # Date 1457704612 -7200 # Node ID b2a5c2421b7c96b70023496759860e683d86411b # Parent a70cb5c35d8f62a7b007141dbeb4362ec772941e Add mate-notification-daemon diff -r a70cb5c35d8f -r b2a5c2421b7c mate-notification-daemon/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mate-notification-daemon/description.txt Fri Mar 11 15:56:52 2016 +0200 @@ -0,0 +1,4 @@ +mate-notification-daemon is a fork of gnome-notification-daemon. + +mate-notification-properties is a utility to set up various options related to +desktop notifications. diff -r a70cb5c35d8f -r b2a5c2421b7c mate-notification-daemon/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mate-notification-daemon/receipt Fri Mar 11 15:56:52 2016 +0200 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="mate-notification-daemon" +VERSION="1.13.0" +CATEGORY="x-window" +SHORT_DESC="Fork of gnome-notification-daemon" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL2" +WEB_SITE="https://github.com/mate-desktop/mate-notification-daemon/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" +PROVIDE="notification-daemon" +TAGS="MATE" + +DEPENDS="gtk+ libcanberra libltdl libnotify libwnck" +BUILD_DEPENDS="autoconf automake libtool gtk+-dev dbus-dev dbus-glib-dev \ +libcanberra-dev libwnck-dev libnotify-dev intltool" +GENERIC_MENUS="no" + +# Rules to configure and make the package. +compile_rules() +{ + sed -i '/^MATE_/d' configure.ac # build standalone without MATE + + mkdir macros; autoreconf --install --force + intltoolize; autoreconf + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs + find $fs/usr/lib -name '*.*a' -delete + rm -r $fs/usr/share/locale + sed -i '/^OnlyShowIn/d' $fs/usr/share/applications/mate-notification-properties.desktop + find $fs/usr/share/man -type f -exec gzip \{\} \; +}