wok-6.x annotate avant-window-navigator/receipt @ rev 12553
awm: needs GConf-dev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 27 15:57:34 2012 +0200 (2012-04-27) |
parents | 8cc1b222fdd5 |
children | 4c6b6a900860 |
rev | line source |
---|---|
pascal@11216 | 1 # SliTaz package receipt. |
pascal@11216 | 2 |
pascal@11216 | 3 PACKAGE="avant-window-navigator" |
pascal@11216 | 4 VERSION="0.4.0" |
pascal@11216 | 5 CATEGORY="x-window" |
pascal@11216 | 6 SHORT_DESC="Dock-like bar which sits at the bottom of the screen." |
pascal@11216 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11216 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11216 | 9 WEB_SITE="https://launchpad.net/awn/" |
pascal@11216 | 10 WGET_URL="http://launchpad.net/awn/0.4/$VERSION/+download/$TARBALL" |
pascal@11216 | 11 TAGS="window-manager wm panel" |
pascal@11216 | 12 |
pankso@12552 | 13 DEPENDS="acl dbus dbus-glib librsvg libwnck xorg-xcompmgr libgtop \ |
pankso@12552 | 14 libdesktop-agnostic" |
pankso@12552 | 15 BUILD_DEPENDS="dbus-dev librsvg-dev libwnck-dev pygtk-dev xcb-util-dev \ |
pankso@12552 | 16 libxcb-dev startup-notification-dev pycairo-dev pygobject-dev libffi-dev \ |
pankso@12552 | 17 python-xdg intltool acl-dev dbus-dev dbus-glib-dev python-dev \ |
pankso@12553 | 18 libdesktop-agnostic-dev libgtop-dev GConf-dev" |
pankso@12552 | 19 |
pascal@11216 | 20 # Rules to configure and make the package. |
pascal@11216 | 21 compile_rules() |
pascal@11216 | 22 { |
pascal@11216 | 23 cd $src |
pascal@11216 | 24 ./configure \ |
pascal@11216 | 25 --prefix=/usr \ |
pascal@11216 | 26 --sysconfdir=/etc \ |
pascal@11216 | 27 --with-desktop=agnostic \ |
pascal@11216 | 28 $CONFIGURE_ARGS && |
pascal@11216 | 29 make && |
pascal@11216 | 30 make DESTDIR=$DESTDIR install |
pascal@11216 | 31 } |
pascal@11216 | 32 |
pascal@11216 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11216 | 34 genpkg_rules() |
pascal@11216 | 35 { |
pascal@11216 | 36 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11216 | 37 cp -a $_pkg/usr/bin $fs/usr |
pascal@11216 | 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11216 | 39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pascal@11216 | 40 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@11216 | 41 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps \ |
pascal@11216 | 42 $fs/usr/share/pixmaps |
pascal@11216 | 43 # Custom autostart script so we ensure xcompmgr is also started. |
pascal@11216 | 44 cat > $fs/usr/bin/awn-autostart << _EOT_ |
pascal@11216 | 45 #!/bin/sh |
pascal@11216 | 46 xcompmgr & |
pascal@11216 | 47 sleep 4 && avant-window-navigator |
pascal@11216 | 48 _EOT_ |
pascal@11216 | 49 |
pascal@11216 | 50 # split awn-manager |
pascal@11216 | 51 rm -f $fs/usr/bin/awn-manager |
pascal@11216 | 52 rm -rf $fs/usr/share/$PACKAGE/awn-manager |
pascal@11216 | 53 rm -f $fs/usr/share/applications/awn-manager.desktop |
pascal@11216 | 54 |
pascal@11216 | 55 # fix permissions |
pascal@11216 | 56 chmod +x $fs/usr/bin/* |
pascal@11216 | 57 |
pascal@11216 | 58 # Fix missing icon |
pascal@11216 | 59 cd $fs/usr/share/pixmaps |
pascal@11216 | 60 ln -s avant-window-navigator.png awn-manager.png |
pascal@11216 | 61 |
pascal@11216 | 62 |
pascal@11216 | 63 } |
pascal@11216 | 64 |
pascal@11216 | 65 post_install() |
pascal@11216 | 66 { |
pascal@11216 | 67 # ln missing icons |
pascal@11216 | 68 ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-up.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-ascending.png |
pascal@11216 | 69 ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-down.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-descending.png |
pascal@11216 | 70 } |