wok-next view mate-applets/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | d026631bbebb |
children |
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-dev 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 $PACKAGE"
25 compile_rules() {
26 ./autogen.sh \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make install || return 1
32 fix symlinks
33 }
35 genpkg_rules() {
36 deps="atk libbzip2 libcairo fontconfig freetype gdk-pixbuf glib gtk3 libffi \
37 libharfbuzz liblzma libpng libxml2 mate-panel pango pcre \
38 util-linux-blkid util-linux-mount util-linux-uuid libx11 libxau \
39 libxdmcp libxext libxrender libxcb pixman zlib"
41 case $PACKAGE in
42 *-accessx-status)
43 copy accessx-status* *AccessxStatus* *accessx-status*/mate-* \
44 apps/mate-ax-applet.png
45 DEPENDS="$deps libice libsm"
46 CAT="x-window|Keyboard Accessibility Monitor"
47 ;;
48 *-battstat)
49 copy *battstat* *Battstat*
50 DEPENDS="$deps libnotify upower"
51 CAT="x-window|Battery Charge Monitor"
52 ;;
53 *-charpick)
54 copy *charpick* *Charpick*
55 DEPENDS="$deps gucharmap3"
56 CAT="x-window|Character Palette"
57 ;;
58 *-command)
59 copy *command* *Command*
60 DEPENDS="$deps"
61 CAT="x-window|Command Factory"
62 ;;
63 *-cpufreq)
64 copy *cpufreq* *CPUFreq* mate-cpu-frequency-*
65 DEPENDS="$deps dbus dbus-glib polkit"
66 CAT="x-window|CPU Frequency Scaling Monitor"
67 ;;
68 *-drivemount)
69 copy *drivemount* *DriveMount*
70 DEPENDS="$deps"
71 CAT="x-window|Disk Mounter"
72 ;;
73 *-geyes)
74 copy *geyes* *Geyes* mate-eyes-applet.*
75 DEPENDS="$deps"
76 CAT="x-window|Geyes"
77 ;;
78 *-multiload)
79 copy *multiload* *MultiLoad*
80 DEPENDS="$deps libgtop"
81 CAT="x-window|System Monitor"
82 ;;
83 *-netspeed)
84 copy *netspeed* *Netspeed*
85 DEPENDS="$deps libgtop"
86 CAT="x-window|Netspeed Applet"
87 ;;
88 *-stickynotes)
89 copy *stickynotes* *StickyNotes* mate-sticky-notes-*
90 DEPENDS="$deps gtksourceview3 libwnck3 startup-notification \
91 xcb-util"
92 CAT="x-window|Sticky Notes"
93 ;;
94 *-timer)
95 copy *timer* *Timer*
96 DEPENDS="$deps libnotify"
97 CAT="x-window|Sticky Notes"
98 ;;
99 *-trash)
100 copy *trash* *Trash*
101 DEPENDS="$deps"
102 CAT="x-window|Panel Trash"
103 ;;
104 *-weather)
105 copy *weather* *Weather*
106 DEPENDS="$deps dbus dbus-glib libmateweather libnotify \
107 libsoup libsqlite3"
108 CAT="x-window|Panel Trash"
109 ;;
110 mate-applets)
111 DEPENDS="${SPLIT/$PACKAGE/}"
112 ;;
113 esac
115 remove_already_packed
117 [ -d "$fs/usr/share/man" ] && rm -r $fs/usr/share/man
118 TAGS="MATE"
119 }