wok-next annotate libinput/receipt @ rev 20859

Update ALSA stack (1.1.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 13:35:43 2018 +0300 (2018-06-27)
parents 0e7893ac206d
children b5f2a6ab88b6
rev   line source
al@19805 1 # SliTaz package receipt v2.
al@19655 2
al@19655 3 PACKAGE="libinput"
al@20443 4 VERSION="1.8.1"
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@20443 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7driver.html#libinput"
al@19655 11
al@19655 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19655 13 WGET_URL="http://www.freedesktop.org/software/libinput/$TARBALL"
al@19655 14
al@19805 15 BUILD_DEPENDS="mtdev-dev eudev-dev libevdev-dev cairo-dev gtk+3-dev check-dev"
al@19805 16 SPLIT="libinput-debug-gui libinput libinput-dev"
al@19655 17
al@20443 18 compile_rules() {
al@19655 19 ./configure \
al@19655 20 --disable-static \
al@19655 21 --disable-libwacom \
al@19655 22 --with-udev-dir=/lib/udev \
al@19805 23 --disable-documentation \
al@19805 24 --without-libunwind \
al@19655 25 $CONFIGURE_ARGS &&
al@20443 26 fix libtool &&
al@19655 27 make && make install
al@19655 28 }
al@19655 29
al@20443 30 genpkg_rules() {
al@19805 31 case $PACKAGE in
al@19805 32 *-gui)
al@19805 33 copy libinput-debug-gui
al@19805 34 CAT="x-window|debug GUI"
al@20443 35 DEPENDS="cairo eudev glib gtk+3 libevdev libinput"
al@19805 36 ;;
al@19805 37 libinput)
al@20443 38 copy @std @rm
al@19805 39 DEPENDS="eudev libevdev mtdev"
al@19805 40 ;;
al@19805 41 *-dev)
al@19805 42 copy @dev
al@20443 43 DEPENDS="libinput eudev-dev"
al@19805 44 ;;
al@19805 45 esac
al@19655 46 }