wok rev 25071

waterline-plugin-multiload: added build dependencies
author Hans-G?nter Theisgen
date Sat Jun 11 09:07:17 2022 +0100 (2022-06-11)
parents 53a8166b2e15
children adec29cf1856
files waterline-plugin-multiload/receipt
line diff
     1.1 --- a/waterline-plugin-multiload/receipt	Sat Jun 11 08:40:38 2022 +0100
     1.2 +++ b/waterline-plugin-multiload/receipt	Sat Jun 11 09:07:17 2022 +0100
     1.3 @@ -3,19 +3,20 @@
     1.4  PACKAGE="waterline-plugin-multiload"
     1.5  VERSION="f8b592a"
     1.6  CATEGORY="x-window"
     1.7 -SHORT_DESC="multiload-nandhp is a port of the GNOME multiload applet to SDE waterline panel"
     1.8 +TAGS="desktop panel"
     1.9 +SHORT_DESC="Multiload-nandhp is a port of the GNOME multiload applet to SDE waterline panel."
    1.10  MAINTAINER="psychomaniak@xakep.ru"
    1.11  LICENSE="GPL2"
    1.12  WEB_SITE="https://github.com/sde-gui/waterline-plugin-multiload"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15  WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL"
    1.16 -TAGS="desktop panel"
    1.17  
    1.18 -DEPENDS="waterline libgtop"
    1.19 -BUILD_DEPENDS="automake libtool gtk+-dev jansson-dev libsde-utils \
    1.20 -libsde-utils-x11 libsde-utils-jansson libsde-utils-gtk \
    1.21 -xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev xz \
    1.22 -libgtop-dev lxpanel-dev waterline-dev"
    1.23 +DEPENDS="waterline libgtop libkeybinder libwnck"
    1.24 +BUILD_DEPENDS="alsa-lib-dev automake gtk+-dev jansson-dev libgtop-dev 
    1.25 +	libkeybinder-dev libsde-utils libsde-utils-gtk libsde-utils-jansson
    1.26 +	libsde-utils-x11 libtool libwnck-dev lxpanel-dev menu-cache-dev
    1.27 +	waterline-dev xorg-libXcomposite-dev xz"
    1.28  
    1.29  # What is the latest version available today?
    1.30  current_version()
    1.31 @@ -27,22 +28,22 @@
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	sed 's|lxpanel/plugin.h>|&\n#include <lxpanel/private.h>|' \
    1.36 -		-i lxpanel/lxpanel-multiload-plugin.c
    1.37 +	sed -i	's|lxpanel/plugin.h>|&\n#include <lxpanel/private.h>|' \
    1.38 +		lxpanel/lxpanel-multiload-plugin.c
    1.39  	rm -rf $src/.git
    1.40  	./autogen.sh || return 1
    1.41 -	sed 's#ls $srcdir/po/\*.po #& 2>/dev/null#' -i configure
    1.42 -	./configure \
    1.43 -		--prefix=/usr \
    1.44 -		--libexec=/usr/lib \
    1.45 -		--sysconfdir=/etc \
    1.46 -		--localstatedir=/var \
    1.47 -		--disable-static \
    1.48 -		--disable-maintainer-mode \
    1.49 -		--enable-silent-rules \
    1.50 -		--with-waterline \
    1.51 -		--with-lxpanel \
    1.52 -		--without-xfce4 \
    1.53 +	sed -i	's|ls $srcdir/po/\*.po |& 2>/dev/null|'	configure
    1.54 +	./configure				\
    1.55 +		--prefix=/usr			\
    1.56 +		--libexec=/usr/lib		\
    1.57 +		--sysconfdir=/etc		\
    1.58 +		--localstatedir=/var		\
    1.59 +		--disable-static		\
    1.60 +		--disable-maintainer-mode	\
    1.61 +		--enable-silent-rules		\
    1.62 +		--with-waterline		\
    1.63 +		--with-lxpanel			\
    1.64 +		--without-xfce4			\
    1.65  		$CONFIGURE_ARGS &&
    1.66  	make &&
    1.67  	make install
    1.68 @@ -52,5 +53,6 @@
    1.69  genpkg_rules()
    1.70  {
    1.71  	mkdir -p $fs/usr/lib/waterline/plugins
    1.72 -	cp -a $install/usr/lib/waterline/plugins/*.so $fs/usr/lib/waterline/plugins
    1.73 +	cp -a $install/usr/lib/waterline/plugins/*.so \
    1.74 +			$fs/usr/lib/waterline/plugins
    1.75  }