wok-next view mate-applets/receipt @ rev 20449
xcb-proto is obsolete -> xorg-xcb-proto
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 14:08:05 2018 +0200 (2018-02-28) |
parents | |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mate-applets"
4 VERSION="1.18.1"
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 gtk+3-dev \
15 mate-panel-dev libgtop-dev libwnck3-dev libnotify-gtk3-dev dbus-glib-dev \
16 polkit-dev upower-dev gucharmap3-dev pygobject3-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 --sysconfdir=/etc \
28 --localstatedir=/var \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 deps="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 libffi \
36 libharfbuzz liblzma libpng16 libxml2 mate-panel pango pcre \
37 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau \
38 xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman zlib"
40 case $PACKAGE in
41 *-accessx-status)
42 copy accessx-status* *AccessxStatus* *accessx-status*/mate-* \
43 apps/mate-ax-applet.png
44 DEPENDS="$deps xorg-libICE xorg-libSM"
45 CAT="x-window|Keyboard Accessibility Monitor"
46 ;;
47 *-battstat)
48 copy *battstat* *Battstat*
49 DEPENDS="$deps libnotify-gtk3 upower"
50 CAT="x-window|Battery Charge Monitor"
51 ;;
52 *-charpick)
53 copy *charpick* *Charpick*
54 DEPENDS="$deps gucharmap3"
55 CAT="x-window|Character Palette"
56 ;;
57 *-command)
58 copy *command* *Command*
59 DEPENDS="$deps"
60 CAT="x-window|Command Factory"
61 ;;
62 *-cpufreq)
63 copy *cpufreq* *CPUFreq* mate-cpu-frequency-*
64 DEPENDS="$deps dbus dbus-glib polkit"
65 CAT="x-window|CPU Frequency Scaling Monitor"
66 ;;
67 *-drivemount)
68 copy *drivemount* *DriveMount*
69 DEPENDS="$deps"
70 CAT="x-window|Disk Mounter"
71 ;;
72 *-geyes)
73 copy *geyes* *Geyes* mate-eyes-applet.*
74 DEPENDS="$deps"
75 CAT="x-window|Geyes"
76 ;;
77 *-multiload)
78 copy *multiload* *MultiLoad*
79 DEPENDS="$deps libgtop"
80 CAT="x-window|System Monitor"
81 ;;
82 *-netspeed)
83 copy *netspeed* *Netspeed*
84 DEPENDS="$deps libgtop"
85 CAT="x-window|Netspeed Applet"
86 ;;
87 *-stickynotes)
88 copy *stickynotes* *StickyNotes* mate-sticky-notes-*
89 DEPENDS="$deps gtksourceview3 libwnck3 startup-notification \
90 xorg-xcb-util"
91 CAT="x-window|Sticky Notes"
92 ;;
93 *-timer)
94 copy *timer* *Timer*
95 DEPENDS="$deps libnotify-gtk3"
96 CAT="x-window|Sticky Notes"
97 ;;
98 *-trash)
99 copy *trash* *Trash*
100 DEPENDS="$deps"
101 CAT="x-window|Panel Trash"
102 ;;
103 *-weather)
104 copy *weather* *Weather*
105 DEPENDS="$deps dbus dbus-glib libmateweather libnotify-gtk3 \
106 libsoup libsqlite3"
107 CAT="x-window|Panel Trash"
108 ;;
109 mate-applets)
110 DEPENDS="${SPLIT/$PACKAGE/}"
111 ;;
112 esac
114 remove_already_packed
116 [ -d "$fs/usr/share/man" ] && rm -r $fs/usr/share/man
117 TAGS="MATE"
118 }