wok-next annotate mate-notification-daemon-gtk2/receipt @ rev 21103

emacs: depends on emacs-common
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 03 11:21:15 2019 +0200 (2019-01-03)
parents f48456621a9d
children 82b613cfd1e0
rev   line source
al@19816 1 # SliTaz package receipt v2.
al@18970 2
al@20096 3 PACKAGE="mate-notification-daemon-gtk2"
al@20905 4 LEGACY_OF="mate-notification-daemon"
al@20905 5 VERSION="1.14.1" # old version, to use with gtk2
al@18970 6 CATEGORY="x-window"
al@18970 7 SHORT_DESC="Fork of gnome-notification-daemon"
al@18970 8 MAINTAINER="al.bobylev@gmail.com"
al@18970 9 LICENSE="GPL2"
al@18970 10 WEB_SITE="https://github.com/mate-desktop/mate-notification-daemon/"
al@20905 11 REPOLOGY="mate-notification-daemon"
al@19816 12
al@20096 13 TARBALL="mate-notification-daemon-$VERSION.tar.gz"
al@18970 14 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
al@18970 15
al@21017 16 BUILD_DEPENDS="autoconf automake libtool gtk2-dev dbus-dev dbus-glib-dev \
al@19816 17 libcanberra-dev libwnck2-dev libnotify-dev intltool"
al@18970 18
al@20096 19 compile_rules() {
al@18970 20 sed -i '/^MATE_/d' configure.ac # build standalone without MATE
al@19816 21 sed -i '/^OnlyShowIn/d' src/capplet/mate-notification-properties.desktop.in
al@18970 22
al@19816 23 mkdir macros; autoreconf -fi
al@18970 24 intltoolize; autoreconf
al@20599 25
al@20534 26 ./configure $CONFIGURE_ARGS &&
al@20599 27 fix libtool &&
al@20534 28 make &&
al@20534 29 make install
al@18970 30 }
al@18970 31
al@20096 32 genpkg_rules() {
al@20599 33 copy @std @ico # only 16 and 48 icons
al@21017 34 DEPENDS="atk cairo dbus dbus-glib gdk-pixbuf glib gtk2 libcanberra-gtk2 \
al@21078 35 libnotify libwnck2 libx11"
al@19816 36 PROVIDE="notification-daemon"
al@19816 37 TAGS="MATE"
al@18970 38 }