wok-next annotate awn/receipt @ rev 21257
encfs: use cmake
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 13:47:57 2019 +0100 (2019-12-06) |
parents | 5669e8b3be70 |
children |
rev | line source |
---|---|
al@19902 | 1 # SliTaz package receipt v2. |
al@19902 | 2 |
al@19902 | 3 PACKAGE="awn" |
al@20980 | 4 VERSION="0.4.2post20171025" |
al@20980 | 5 COMMIT="dbdccc0" |
al@19902 | 6 CATEGORY="x-window" |
al@19902 | 7 SHORT_DESC="Dock-like bar which sits at the bottom of the screen" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
al@19902 | 9 LICENSE="GPL2" |
al@20980 | 10 WEB_SITE="https://github.com/p12tic/awn" |
al@20882 | 11 REPOLOGY="avant-window-navigator" |
al@19902 | 12 |
al@19902 | 13 TARBALL="avant-window-navigator-${COMMIT:-$VERSION}.tar.gz" |
al@19902 | 14 WGET_URL="https://github.com/p12tic/awn/archive/${COMMIT:-v$VERSION}.tar.gz" |
al@19902 | 15 |
al@21017 | 16 BUILD_DEPENDS="intltool gtk-doc libtool automake python-dev gtk2-dev \ |
al@20976 | 17 python-pycairo-dev python-pygtk-dev vala python-pyxdg glibmm-dev libdesktop-agnostic-dev \ |
al@21078 | 18 gtkmm-dev dbus-glib-dev libxcomposite-dev libwnck2-dev libgtop-dev" |
al@21020 | 19 SPLIT="$PACKAGE-dev" |
al@19902 | 20 COOKOPTS="skip-log-errors" |
al@19902 | 21 |
al@19902 | 22 compile_rules() { |
al@19902 | 23 ./autogen.sh && |
al@19902 | 24 ./configure \ |
al@19902 | 25 --with-desktop=agnostic \ |
al@19902 | 26 $CONFIGURE_ARGS && |
al@20534 | 27 fix libtool && |
al@19902 | 28 make && |
al@20980 | 29 make install || return 1 |
al@19902 | 30 |
al@19902 | 31 # Custom autostart script so we ensure xcompmgr is also started. |
al@19902 | 32 install -m755 $stuff/awn-autostart $install/usr/bin |
al@19902 | 33 } |
al@19902 | 34 |
al@19902 | 35 genpkg_rules() { |
al@19902 | 36 case $PACKAGE in |
al@19902 | 37 awn) |
al@19902 | 38 copy @std |
al@21105 | 39 DEPENDS="libcairo dbus dbus-glib gdk-pixbuf glib gtk2 \ |
al@21078 | 40 libdesktop-agnostic libgtop libwnck2 pango python libx11 \ |
al@21078 | 41 libxext" |
al@19902 | 42 TAGS="panel" |
al@19902 | 43 PROVIDE="avant-window-navigator" |
al@19902 | 44 ;; |
al@19902 | 45 awn-dev) |
al@19902 | 46 copy @dev |
al@21017 | 47 DEPENDS="awn dbus-glib-dev glib-dev glibmm-dev gtk2-dev gtkmm-dev \ |
al@20749 | 48 libdesktop-agnostic-dev" |
al@19902 | 49 PROVIDE="avant-window-navigator-dev" |
al@19902 | 50 ;; |
al@19902 | 51 esac |
al@19902 | 52 } |