wok-next annotate mate-applets/receipt @ rev 20187

gpm: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 20:06:45 2017 +0100 (2017-11-02)
parents
children 757d032c55c7
rev   line source
al@20096 1 # SliTaz package receipt v2.
al@20096 2
al@20096 3 PACKAGE="mate-applets"
al@20096 4 VERSION="1.18.1"
al@20096 5 CATEGORY="meta"
al@20096 6 SHORT_DESC="Applets for use with the MATE panel"
al@20096 7 MAINTAINER="al.bobylev@gmail.com"
al@20096 8 LICENSE="GPL2"
al@20096 9 WEB_SITE="https://github.com/mate-desktop/mate-applets"
al@20096 10
al@20096 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20096 12 WGET_URL="https://github.com/mate-desktop/mate-applets/archive/v$VERSION.tar.gz"
al@20096 13
al@20096 14 BUILD_DEPENDS="mate-common yelp-tools xorg-libX11-dev python-dev gtk+3-dev \
al@20096 15 mate-panel-dev libgtop-dev libwnck3-dev libnotify-gtk3-dev dbus-glib-dev \
al@20096 16 polkit-dev upower-dev gucharmap3-dev pygobject3-dev itstool libmateweather-dev \
al@20096 17 gtksourceview3-dev wireless_tools-dev" # + cpufrequtils-dev + libcpupower(absent)
al@20096 18 ma="mate-applet"
al@20096 19 SPLIT="\
al@20096 20 $ma-accessx-status $ma-battstat $ma-charpick $ma-command $ma-cpufreq \
al@20096 21 $ma-drivemount $ma-geyes $ma-multiload $ma-netspeed $ma-stickynotes \
al@20096 22 $ma-timer $ma-trash $ma-weather \
al@20096 23 mate-applets"
al@20096 24
al@20096 25 compile_rules() {
al@20096 26 ./autogen.sh \
al@20096 27 --sysconfdir=/etc \
al@20096 28 --localstatedir=/var \
al@20096 29 $CONFIGURE_ARGS &&
al@20096 30 make &&
al@20096 31 make install
al@20096 32 }
al@20096 33
al@20096 34 genpkg_rules() {
al@20096 35 deps="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 libffi \
al@20096 36 libharfbuzz liblzma libpng16 libxml2 mate-panel pango pcre \
al@20096 37 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau \
al@20096 38 xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman zlib"
al@20096 39
al@20096 40 case $PACKAGE in
al@20096 41 *-accessx-status)
al@20096 42 copy accessx-status* *AccessxStatus* *accessx-status*/mate-* \
al@20096 43 apps/mate-ax-applet.png
al@20096 44 DEPENDS="$deps xorg-libICE xorg-libSM"
al@20096 45 CAT="x-window|Keyboard Accessibility Monitor"
al@20096 46 ;;
al@20096 47 *-battstat)
al@20096 48 copy *battstat* *Battstat*
al@20096 49 DEPENDS="$deps libnotify-gtk3 upower"
al@20096 50 CAT="x-window|Battery Charge Monitor"
al@20096 51 ;;
al@20096 52 *-charpick)
al@20096 53 copy *charpick* *Charpick*
al@20096 54 DEPENDS="$deps gucharmap3"
al@20096 55 CAT="x-window|Character Palette"
al@20096 56 ;;
al@20096 57 *-command)
al@20096 58 copy *command* *Command*
al@20096 59 DEPENDS="$deps"
al@20096 60 CAT="x-window|Command Factory"
al@20096 61 ;;
al@20096 62 *-cpufreq)
al@20096 63 copy *cpufreq* *CPUFreq* mate-cpu-frequency-*
al@20096 64 DEPENDS="$deps dbus dbus-glib polkit"
al@20096 65 CAT="x-window|CPU Frequency Scaling Monitor"
al@20096 66 ;;
al@20096 67 *-drivemount)
al@20096 68 copy *drivemount* *DriveMount*
al@20096 69 DEPENDS="$deps"
al@20096 70 CAT="x-window|Disk Mounter"
al@20096 71 ;;
al@20096 72 *-geyes)
al@20096 73 copy *geyes* *Geyes* mate-eyes-applet.*
al@20096 74 DEPENDS="$deps"
al@20096 75 CAT="x-window|Geyes"
al@20096 76 ;;
al@20096 77 *-multiload)
al@20096 78 copy *multiload* *MultiLoad*
al@20096 79 DEPENDS="$deps libgtop"
al@20096 80 CAT="x-window|System Monitor"
al@20096 81 ;;
al@20096 82 *-netspeed)
al@20096 83 copy *netspeed* *Netspeed*
al@20096 84 DEPENDS="$deps libgtop"
al@20096 85 CAT="x-window|Netspeed Applet"
al@20096 86 ;;
al@20096 87 *-stickynotes)
al@20096 88 copy *stickynotes* *StickyNotes* mate-sticky-notes-*
al@20096 89 DEPENDS="$deps gtksourceview3 libwnck3 startup-notification \
al@20096 90 xorg-xcb-util"
al@20096 91 CAT="x-window|Sticky Notes"
al@20096 92 ;;
al@20096 93 *-timer)
al@20096 94 copy *timer* *Timer*
al@20096 95 DEPENDS="$deps libnotify-gtk3"
al@20096 96 CAT="x-window|Sticky Notes"
al@20096 97 ;;
al@20096 98 *-trash)
al@20096 99 copy *trash* *Trash*
al@20096 100 DEPENDS="$deps"
al@20096 101 CAT="x-window|Panel Trash"
al@20096 102 ;;
al@20096 103 *-weather)
al@20096 104 copy *weather* *Weather*
al@20096 105 DEPENDS="$deps dbus dbus-glib libmateweather libnotify-gtk3 \
al@20096 106 libsoup libsqlite3"
al@20096 107 CAT="x-window|Panel Trash"
al@20096 108 ;;
al@20096 109 mate-applets)
al@20096 110 DEPENDS="${SPLIT/$PACKAGE/}"
al@20096 111 ;;
al@20096 112 esac
al@20096 113
al@20096 114 remove_already_packed
al@20096 115
al@20096 116 [ -d "$fs/usr/share/man" ] && rm -r $fs/usr/share/man
al@20096 117 TAGS="MATE"
al@20096 118 }