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