wok-next view 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 source
1 # SliTaz package receipt v2.
3 PACKAGE="libinput"
4 VERSION="1.8.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Library that handles input devices for display servers"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/libinput/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://www.freedesktop.org/software/libinput/$TARBALL"
14 BUILD_DEPENDS="mtdev-dev eudev-dev libevdev-dev cairo-dev gtk+3-dev check-dev"
15 SPLIT="libinput-debug-gui libinput libinput-dev"
16 PKG_RULE="std-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --disable-static \
23 --disable-libwacom \
24 --with-udev-dir=/lib/udev \
25 --disable-documentation \
26 --without-libunwind \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 *-gui)
36 copy libinput-debug-gui
37 CAT="x-window|debug GUI"
38 DEPENDS="atk bzlib cairo eudev fontconfig freetype gdk-pixbuf glib \
39 gtk+3 libevdev libffi libharfbuzz libinput liblzma libpng16 \
40 libxml2 mtdev pango pcre util-linux-blkid util-linux-mount \
41 util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
42 xorg-libXrender xorg-libxcb xorg-pixman zlib"
43 ;;
44 libinput)
45 copy @std
46 remove_already_packed
47 DEPENDS="eudev libevdev mtdev"
48 ;;
49 *-dev)
50 copy @dev
51 DEPENDS="libinput eudev-dev libevdev-dev mtdev-dev"
52 ;;
53 esac
54 }