wok-next annotate libinput/receipt @ rev 21018

Nasty typo broke the cooker
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 17 03:59:24 2018 +0300 (2018-10-17)
parents 757d032c55c7
children d01953cd12ed
rev   line source
al@19805 1 # SliTaz package receipt v2.
al@19655 2
al@19655 3 PACKAGE="libinput"
al@21012 4 VERSION="1.12.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@21012 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21012 15 BUILD_DEPENDS="meson ninja eudev-dev mtdev-dev libevdev-dev gtk3-dev check-dev"
al@21012 16 SPLIT="$PACKAGE-debug-gui $PACKAGE $PACKAGE-dev"
al@19655 17
al@20443 18 compile_rules() {
al@21012 19 mkdir build
al@21012 20 cd build
al@21012 21 meson-wrapper \
al@21012 22 -Dudev-dir=/lib/udev \
al@21012 23 -Dlibwacom=false \
al@21012 24 -Dtests=false \
al@21012 25 -Ddocumentation=false \
al@21012 26 &&
al@21012 27 ninja &&
al@21012 28 ninja install
al@19655 29 }
al@19655 30
al@20443 31 genpkg_rules() {
al@19805 32 case $PACKAGE in
al@19805 33 *-gui)
al@19805 34 copy libinput-debug-gui
al@19805 35 CAT="x-window|debug GUI"
al@21012 36 DEPENDS="cairo eudev glib gtk3 libevdev libinput"
al@19805 37 ;;
al@19805 38 libinput)
al@20443 39 copy @std @rm
al@19805 40 DEPENDS="eudev libevdev mtdev"
al@19805 41 ;;
al@19805 42 *-dev)
al@19805 43 copy @dev
al@21012 44 DEPENDS="libinput"
al@19805 45 ;;
al@19805 46 esac
al@19655 47 }