wok-next annotate lxpanel/receipt @ rev 21078

Update png and Xorg in dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 04:52:35 2018 +0200 (2018-12-22)
parents d5aab818505e
children 82b613cfd1e0
rev   line source
al@19845 1 # SliTaz package receipt v2.
pankso@341 2
pankso@341 3 PACKAGE="lxpanel"
al@20639 4 COMMIT="25fd48473bebf02dfc1c099ce6ae58bca9b91645"
al@21000 5 VERSION="0.9.3.postgit20180412"
pankso@341 6 CATEGORY="x-window"
al@17992 7 SHORT_DESC="LXDE panel"
al@21020 8 MAINTAINER="devel@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@21017 15 BUILD_DEPENDS="automake libtool intltool gtk2-dev menu-cache-dev alsa-lib-dev \
al@19868 16 wireless_tools-dev libxml2-dev lxmenu-data libwnck2-dev libfm-dev \
al@20905 17 keybinder-dev"
al@21020 18 SPLIT="$PACKAGE-extra $PACKAGE $PACKAGE-dev"
pankso@9694 19
al@20534 20 compile_rules() {
al@19868 21 ./autogen.sh
al@19868 22 CFLAGS="$CFLAGS -lgmodule-2.0"
al@14260 23 ./configure \
al@14260 24 $CONFIGURE_ARGS &&
al@20534 25 fix libtool &&
al@20534 26 make &&
al@21020 27 make install || return 1
al@19845 28
al@19868 29 # SliTaz profile
al@19868 30 cp -r $stuff/slitaz $install/etc/xdg/lxpanel/
al@19845 31
al@19845 32 chown -R root:root $install
pankso@341 33 }
pankso@341 34
al@20534 35 genpkg_rules() {
al@19845 36 case $PACKAGE in
al@19845 37 lxpanel-extra)
al@19868 38 copy kbled.so ns-*.png *lock-*.png xkb-flags/ \
al@19845 39 background.png file-manager.png gnome-*.png mute.png \
al@19845 40 stock_volume.png volume-*.png window-manager.png
al@19845 41 CAT="x-window|extra files and plugins"
al@19845 42 TAGS="LXDE"
al@21078 43 DEPENDS="glib gtk2 lxpanel libx11"
al@19845 44 ;;
al@19845 45 lxpanel)
al@20513 46 copy @std @rm
al@21017 47 DEPENDS="alsa-lib cairo gdk-pixbuf glib gtk2 libfm libfm-gtk \
al@20905 48 keybinder libwnck2 libxml2 menu-cache pango wireless_tools \
al@21078 49 libx11 slitaz-menus"
al@19868 50 #CONFIG_FILES="/etc/xdg/lxpanel/default/"
al@19845 51 TAGS="LXDE gtk2 panel"
al@19845 52 SUGGESTED="lxde lxsession slitaz-icon"
al@19845 53 ;;
al@19845 54 lxpanel-dev)
al@19845 55 copy @dev
al@19845 56 DEPENDS="lxpanel lxpanel-extra \
al@21017 57 gtk2-dev libfm-dev"
al@19845 58 ;;
al@19845 59 esac
pankso@610 60 }
al@18582 61
al@19845 62 # Clean LXPanel menu caches
al@19845 63 post_install() {
al@19427 64 chroot "$1/" rm home/*/.cache/menus/* 2>/dev/null
al@19427 65 :
al@18582 66 }