wok-next annotate waterline/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 87011214235a |
children | d5aab818505e |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
psychomaniak@19052 | 2 |
psychomaniak@19052 | 3 PACKAGE="waterline" |
al@21003 | 4 VERSION="git20171019" # no releases there |
al@21003 | 5 COMMIT="c911a7b" |
psychomaniak@19052 | 6 CATEGORY="x-window" |
al@21003 | 7 SHORT_DESC="Lightweight framework for desktop widgets and applets" |
psychomaniak@19052 | 8 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@19052 | 9 LICENSE="GPL2" |
al@21003 | 10 WEB_SITE="https://github.com/sde-gui/waterline" |
al@21003 | 11 # https://sde-gui.github.io/waterline/ |
al@20456 | 12 |
al@21003 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@21003 | 14 WGET_URL="https://github.com/sde-gui/waterline/archive/$COMMIT.tar.gz" |
psychomaniak@19052 | 15 |
al@21017 | 16 BUILD_DEPENDS="automake gettext intltool libtool gtk2-dev glib-dev jansson-dev \ |
al@21003 | 17 libsde-utils-dev libsde-utils-x11-dev libsde-utils-jansson-dev \ |
al@21003 | 18 libsde-utils-gtk-dev xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev" |
al@21003 | 19 SPLIT="$PACKAGE-dev" |
psychomaniak@19052 | 20 |
al@20604 | 21 COOKOPTS="!menus" |
al@20604 | 22 |
al@20456 | 23 compile_rules() { |
al@21003 | 24 sed -i 's|lxsession-logout|tazbox logout|' src/defaultapplications.c |
al@21003 | 25 |
al@21003 | 26 ./autogen.sh && |
al@21003 | 27 ./configure $CONFIGURE_ARGS && |
al@20604 | 28 fix libtool && |
psychomaniak@19052 | 29 make && |
al@20604 | 30 make install || return 1 |
al@20604 | 31 |
al@21003 | 32 install -Dm644 $stuff/autostart.desktop $install/etc/xdg/autostart/waterline.desktop |
psychomaniak@19052 | 33 } |
psychomaniak@19052 | 34 |
al@20456 | 35 genpkg_rules() { |
al@20456 | 36 case $PACKAGE in |
al@20456 | 37 waterline) |
al@20534 | 38 copy @std |
al@21017 | 39 DEPENDS="alsa-lib cairo gdk-pixbuf glib gtk2 jansson libsde-utils \ |
al@21003 | 40 libsde-utils-gtk libsde-utils-jansson libsde-utils-x11 menu-cache \ |
al@21003 | 41 pango xorg-libX11 xorg-libXcomposite" |
al@20456 | 42 TAGS="desktop panel taskbar" |
al@20456 | 43 ;; |
al@20456 | 44 *-dev) |
al@20534 | 45 copy @dev |
al@21003 | 46 DEPENDS="waterline \ |
al@21003 | 47 glib-dev libsde-utils-dev libsde-utils-gtk-dev \ |
al@21003 | 48 libsde-utils-x11-dev menu-cache-dev" |
al@20456 | 49 ;; |
al@20456 | 50 esac |
psychomaniak@19052 | 51 } |