wok-next view waterline/receipt @ rev 21412

portmap: added build dependency
author Hans-G?nter Theisgen
date Sat Apr 25 17:22:05 2020 +0100 (2020-04-25)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="waterline"
4 VERSION="git20171019" # no releases there
5 COMMIT="c911a7b"
6 CATEGORY="x-window"
7 SHORT_DESC="Lightweight framework for desktop widgets and applets"
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/sde-gui/waterline"
11 # https://sde-gui.github.io/waterline/
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/sde-gui/waterline/archive/$COMMIT.tar.gz"
16 BUILD_DEPENDS="automake gettext-dev intltool libtool gtk2-dev glib-dev \
17 jansson-dev libsde-utils-dev libsde-utils-x11-dev libsde-utils-jansson-dev \
18 libsde-utils-gtk-dev libxcomposite-dev menu-cache-dev alsa-lib-dev"
19 SPLIT="$PACKAGE-dev"
21 COOKOPTS="!menus"
23 compile_rules() {
24 sed -i 's|lxsession-logout|tazbox logout|' src/defaultapplications.c
26 ./autogen.sh &&
27 ./configure $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make install || return 1
32 install -Dm644 $stuff/autostart.desktop $install/etc/xdg/autostart/waterline.desktop
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 waterline)
38 copy @std
39 DEPENDS="alsa-lib libcairo gdk-pixbuf glib gtk2 jansson libsde-utils \
40 libsde-utils-gtk libsde-utils-jansson libsde-utils-x11 menu-cache \
41 pango libx11 libxcomposite"
42 TAGS="desktop panel taskbar"
43 ;;
44 *-dev)
45 copy @dev
46 DEPENDS="waterline \
47 glib-dev libsde-utils-dev libsde-utils-gtk-dev \
48 libsde-utils-x11-dev menu-cache-dev"
49 ;;
50 esac
51 }