### this file is sourced not run

# source: me
TARBALL=xf86-input-libinput-102014.tar.xz
MD5SUM=5a167809662ffc956684d8c6e92576f0 
SRC_URL=http://distro.ibiblio.org/fatdog/source/700/$TARBALL
BUNDLE=

SLACKREQ=libinput
SLACKDESC='xf86-input-libinput: xf86-input-libinput 102014 (A thin wrapper around libinput for Xorg. )  
xf86-input-libinput:  
xf86-input-libinput: This is an X driver based on libinput. It is a thin wrapper around libinput,
xf86-input-libinput: so while it does provide all features that libinput supports it does little
xf86-input-libinput: beyond.
xf86-input-libinput: 
xf86-input-libinput: 
xf86-input-libinput: 
xf86-input-libinput: 
xf86-input-libinput: 
xf86-input-libinput:
'

### default pkg_download
### default pkg_prepare 
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$XORG_CONFIG --disable-static"
	pkg_build_autoconf && 
	    cat > /usr/share/X11/xorg.conf.d/99-libinput.conf << "EOF"
# Use the libinput driver for all event devices
Section "InputClass"
	Identifier "libinput"
	Driver "libinput"
	MatchDevicePath "/dev/input/event*"
	Option "Tapping" "false"
EndSection


#The following properties are provided by the libinput driver.
#
#libinput Tapping Enabled
#    1 boolean value (8 bit, 0 or 1). 1 enables tapping 
#libinput Calibration Matrix
#    9 32-bit float values, representing a 3x3 calibration matrix, order is row 1, row 2, row 3 
#libinput Accel Speed
#    1 32-bit float value, defines the pointer speed. Value range -1, 1 
#libinput Natural Scrolling Enabled
#    1 boolean value (8 bit, 0 or 1). 1 enables natural scrolling 
#libinput Send Events Mode
#    1 32-bit value, defines the sendevent mode. See the libinput documentation for the allowed values.
EOF
	pkg_build_slackdesc
}
