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

Move existing MATE receipts to mate116/stuff (for those who need to update them to v.1.16 w/GTK+2). Update/add whole MATE desktop to current stable v.1.18.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Oct 28 17:50:52 2017 +0300 (2017-10-28)
parents 6ad45360af55
children 757d032c55c7
rev   line source
al@19816 1 # SliTaz package receipt v2.
al@18970 2
al@20096 3 PACKAGE="mate-notification-daemon-gtk2"
al@20096 4 VERSION="1.14.0" # deprecated version, to use with gtk2
al@18970 5 CATEGORY="x-window"
al@18970 6 SHORT_DESC="Fork of gnome-notification-daemon"
al@18970 7 MAINTAINER="al.bobylev@gmail.com"
al@18970 8 LICENSE="GPL2"
al@18970 9 WEB_SITE="https://github.com/mate-desktop/mate-notification-daemon/"
al@19816 10
al@20096 11 TARBALL="mate-notification-daemon-$VERSION.tar.gz"
al@18970 12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
al@18970 13
al@18970 14 BUILD_DEPENDS="autoconf automake libtool gtk+-dev dbus-dev dbus-glib-dev \
al@19816 15 libcanberra-dev libwnck2-dev libnotify-dev intltool"
al@18970 16
al@20096 17 compile_rules() {
al@18970 18 sed -i '/^MATE_/d' configure.ac # build standalone without MATE
al@19816 19 sed -i '/^OnlyShowIn/d' src/capplet/mate-notification-properties.desktop.in
al@18970 20
al@19816 21 mkdir macros; autoreconf -fi
al@18970 22 intltoolize; autoreconf
al@18970 23 ./configure \
al@18970 24 --sysconfdir=/etc \
al@18970 25 $CONFIGURE_ARGS &&
al@18970 26 make && make install
al@18970 27 }
al@18970 28
al@20096 29 genpkg_rules() {
al@19816 30 copy @std
al@20096 31 cook_copy_icons # only 16 and 48
al@19816 32 DEPENDS="atk bzlib cairo dbus dbus-glib fontconfig freetype gdk-pixbuf \
al@19816 33 glib gtk+ libcanberra libffi libharfbuzz libltdl liblzma libnotify libogg \
al@19816 34 libpng16 libvorbis libwnck2 libxml2 pango pcre startup-notification \
al@19816 35 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau \
al@19816 36 xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman \
al@19816 37 xorg-xcb-util zlib"
al@19816 38 PROVIDE="notification-daemon"
al@19816 39 TAGS="MATE"
al@18970 40 }