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