wok-next diff lxinput/receipt @ rev 20404

Up cookutils (1019)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 07 14:34:32 2017 +0200 (2017-12-07)
parents 7b3799fbd0b0
children c4e53a39395a
line diff
     1.1 --- a/lxinput/receipt	Sat Nov 07 04:04:34 2015 +0200
     1.2 +++ b/lxinput/receipt	Thu Dec 07 14:34:32 2017 +0200
     1.3 @@ -1,24 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lxinput"
     1.7 -VERSION="0.3.4"
     1.8 +VERSION="0.3.5"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="LXDE keyboard and mouse configuration"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13  WEB_SITE="http://lxde.org"
    1.14 +HOST_ARCH="i486 arm"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17  WGET_URL="$SF_MIRROR/lxde/$TARBALL"
    1.18 -TAGS="LXDE keyboard mouse"
    1.19 -HOST_ARCH="i486 arm"
    1.20 -GENERIC_MENUS="no"
    1.21  
    1.22 -DEPENDS="gtk+ xorg-xset"
    1.23 -BUILD_DEPENDS="gtk+-dev"
    1.24 +BUILD_DEPENDS="intltool gtk+-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 +	# http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxinput.html
    1.30 +
    1.31 +	sed -i 's|^Icon=.*$|Icon=preferences-desktop-keyboard|' \
    1.32 +		data/lxinput.desktop.in
    1.33 +
    1.34  	./configure \
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make && make install
    1.37 @@ -27,9 +30,9 @@
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	cp -a $install/* $fs
    1.42 -	rm -r $fs/usr/share/locale $fs/usr/share/man
    1.43 -	rm -r $fs/usr/share/lxinput/*.png
    1.44 -	sed -i 's|^Icon=.*$|Icon=preferences-desktop-keyboard|' \
    1.45 -		$fs/usr/share/applications/lxinput.desktop
    1.46 +	# skip icons (found in the icon theme)
    1.47 +	copy bin/ *.ui
    1.48 +	DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango \
    1.49 +	xorg-libX11   xorg-xset"
    1.50 +	TAGS="LXDE keyboard mouse"
    1.51  }