wok-next annotate lxpanel/receipt @ rev 20905
Update packages from ISO and LFS backages (all but toolchain)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 07 00:30:45 2018 +0300 (2018-08-07) |
parents | cac2c0130f0d |
children | 16b421afc294 |
rev | line source |
---|---|
al@19845 | 1 # SliTaz package receipt v2. |
pankso@341 | 2 |
pankso@341 | 3 PACKAGE="lxpanel" |
al@20639 | 4 COMMIT="25fd48473bebf02dfc1c099ce6ae58bca9b91645" |
al@20639 | 5 VERSION="0.9.3.25" # 25th commit after 0.9.3 release |
pankso@341 | 6 CATEGORY="x-window" |
al@17992 | 7 SHORT_DESC="LXDE panel" |
pankso@341 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
al@19868 | 10 WEB_SITE="https://wiki.lxde.org/en/LXPanel" |
al@19845 | 11 |
al@19868 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19868 | 13 WGET_URL="https://git.lxde.org/gitweb/?p=lxde/lxpanel.git;a=snapshot;h=$COMMIT;sf=txz" |
pankso@341 | 14 |
al@19845 | 15 BUILD_DEPENDS_arm="gtk+-dev menu-cache-dev alsa-lib-dev wireless_tools-dev \ |
pankso@16260 | 16 libxml2-dev lxmenu-data" |
al@19868 | 17 BUILD_DEPENDS="automake libtool intltool gtk+-dev menu-cache-dev alsa-lib-dev \ |
al@19868 | 18 wireless_tools-dev libxml2-dev lxmenu-data libwnck2-dev libfm-dev \ |
al@20905 | 19 keybinder-dev" |
al@19845 | 20 SPLIT="lxpanel-extra lxpanel lxpanel-dev" |
pankso@9694 | 21 |
al@20534 | 22 compile_rules() { |
al@19845 | 23 case "$ARCH" in |
al@19868 | 24 arm*) ARCH_ARGS='--with-plugins="netstatus,volumealsa,cpu,batt,xkb,thermal,cpufreq,monitors"';; |
al@19845 | 25 esac |
al@19845 | 26 |
al@19868 | 27 ./autogen.sh |
al@19868 | 28 CFLAGS="$CFLAGS -lgmodule-2.0" |
al@14260 | 29 ./configure \ |
al@19868 | 30 $ARCH_ARGS \ |
al@14260 | 31 $CONFIGURE_ARGS && |
al@20534 | 32 fix libtool && |
al@20534 | 33 make && |
al@20534 | 34 make install || exit 1 |
al@19845 | 35 |
al@19868 | 36 # SliTaz profile |
al@19868 | 37 cp -r $stuff/slitaz $install/etc/xdg/lxpanel/ |
al@19845 | 38 |
al@19845 | 39 chown -R root:root $install |
pankso@341 | 40 } |
pankso@341 | 41 |
al@20534 | 42 genpkg_rules() { |
al@19845 | 43 case $PACKAGE in |
al@19845 | 44 lxpanel-extra) |
al@19868 | 45 copy kbled.so ns-*.png *lock-*.png xkb-flags/ \ |
al@19845 | 46 background.png file-manager.png gnome-*.png mute.png \ |
al@19845 | 47 stock_volume.png volume-*.png window-manager.png |
al@19845 | 48 CAT="x-window|extra files and plugins" |
al@19845 | 49 TAGS="LXDE" |
al@20639 | 50 DEPENDS="glib gtk+ lxpanel xorg-libX11" |
al@19845 | 51 ;; |
al@19845 | 52 lxpanel) |
al@20513 | 53 copy @std @rm |
al@20639 | 54 DEPENDS="alsa-lib cairo gdk-pixbuf glib gtk+ libfm libfm-gtk \ |
al@20905 | 55 keybinder libwnck2 libxml2 menu-cache pango wireless_tools \ |
al@20639 | 56 xorg-libX11 slitaz-menus" |
al@19868 | 57 #CONFIG_FILES="/etc/xdg/lxpanel/default/" |
al@19845 | 58 TAGS="LXDE gtk2 panel" |
al@19845 | 59 SUGGESTED="lxde lxsession slitaz-icon" |
al@19845 | 60 ;; |
al@19845 | 61 lxpanel-dev) |
al@19845 | 62 copy @dev |
al@19845 | 63 DEPENDS="lxpanel lxpanel-extra \ |
al@20639 | 64 gtk+-dev libfm-dev" |
al@19845 | 65 ;; |
al@19845 | 66 esac |
pankso@610 | 67 } |
al@18582 | 68 |
al@19845 | 69 # Clean LXPanel menu caches |
al@19845 | 70 post_install() { |
al@19427 | 71 chroot "$1/" rm home/*/.cache/menus/* 2>/dev/null |
al@19427 | 72 : |
al@18582 | 73 } |