wok-next diff libinput/receipt @ rev 19805

Update full xorg-* stack (add / upgrade / remove no more compiled packages with this xorg-server), normalize receipts to v2.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 14 16:02:21 2017 +0300 (2017-07-14)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/libinput/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/libinput/receipt	Fri Jul 14 16:02:21 2017 +0300
     1.3 @@ -1,18 +1,19 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libinput"
     1.8 -VERSION="1.4.1"
     1.9 +VERSION="1.8.0"
    1.10  CATEGORY="x-window"
    1.11  SHORT_DESC="Library that handles input devices for display servers"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13 -LICENSE="other"
    1.14 +LICENSE="MIT"
    1.15  WEB_SITE="https://www.freedesktop.org/wiki/Software/libinput/"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18  WGET_URL="http://www.freedesktop.org/software/libinput/$TARBALL"
    1.19  
    1.20 -DEPENDS="mtdev eudev libevdev"
    1.21 -BUILD_DEPENDS="mtdev-dev eudev-dev libevdev-dev"
    1.22 +BUILD_DEPENDS="mtdev-dev eudev-dev libevdev-dev cairo-dev gtk+3-dev check-dev"
    1.23 +SPLIT="libinput-debug-gui libinput libinput-dev"
    1.24 +PKG_RULE="std-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28 @@ -21,6 +22,8 @@
    1.29  		--disable-static \
    1.30  		--disable-libwacom \
    1.31  		--with-udev-dir=/lib/udev \
    1.32 +		--disable-documentation \
    1.33 +		--without-libunwind \
    1.34  		$CONFIGURE_ARGS &&
    1.35  	make && make install
    1.36  }
    1.37 @@ -28,5 +31,24 @@
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	copy udev/ bin/ *.so*
    1.42 +	case $PACKAGE in
    1.43 +		*-gui)
    1.44 +			copy libinput-debug-gui
    1.45 +			CAT="x-window|debug GUI"
    1.46 +			DEPENDS="atk bzlib cairo eudev fontconfig freetype gdk-pixbuf glib \
    1.47 +			gtk+3 libevdev libffi libharfbuzz libinput liblzma libpng16 \
    1.48 +			libxml2 mtdev pango pcre util-linux-blkid util-linux-mount \
    1.49 +			util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
    1.50 +			xorg-libXrender xorg-libxcb xorg-pixman zlib"
    1.51 +			;;
    1.52 +		libinput)
    1.53 +			copy @std
    1.54 +			remove_already_packed
    1.55 +			DEPENDS="eudev libevdev mtdev"
    1.56 +			;;
    1.57 +		*-dev)
    1.58 +			copy @dev
    1.59 +			DEPENDS="libinput eudev-dev libevdev-dev mtdev-dev"
    1.60 +			;;
    1.61 +	esac
    1.62  }