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