wok-next view awn/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="awn"
4 VERSION="0.4.2post20171025"
5 COMMIT="dbdccc0"
6 CATEGORY="x-window"
7 SHORT_DESC="Dock-like bar which sits at the bottom of the screen"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/p12tic/awn"
11 REPOLOGY="avant-window-navigator"
13 TARBALL="avant-window-navigator-${COMMIT:-$VERSION}.tar.gz"
14 WGET_URL="https://github.com/p12tic/awn/archive/${COMMIT:-v$VERSION}.tar.gz"
16 BUILD_DEPENDS="intltool gtk-doc libtool automake python-dev gtk2-dev \
17 python-pycairo-dev python-pygtk-dev vala python-pyxdg glibmm-dev libdesktop-agnostic-dev \
18 gtkmm-dev dbus-glib-dev xorg-libXcomposite-dev libwnck2-dev libgtop-dev"
19 SPLIT="$PACKAGE-dev"
20 COOKOPTS="skip-log-errors"
22 compile_rules() {
23 ./autogen.sh &&
24 ./configure \
25 --with-desktop=agnostic \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install || return 1
31 # Custom autostart script so we ensure xcompmgr is also started.
32 install -m755 $stuff/awn-autostart $install/usr/bin
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 awn)
38 copy @std
39 DEPENDS="cairo dbus dbus-glib gdk-pixbuf glib gtk2 \
40 libdesktop-agnostic libgtop libwnck2 pango python xorg-libX11 \
41 xorg-libXext"
42 TAGS="panel"
43 PROVIDE="avant-window-navigator"
44 ;;
45 awn-dev)
46 copy @dev
47 DEPENDS="awn dbus-glib-dev glib-dev glibmm-dev gtk2-dev gtkmm-dev \
48 libdesktop-agnostic-dev"
49 PROVIDE="avant-window-navigator-dev"
50 ;;
51 esac
52 }