From cdf5fa9dbab540882909335103d19197210776c1 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Mon, 23 Feb 2015 21:43:19 -0800 Subject: [PATCH] New package - xf86-input-libinput --- .../x11/driver/xf86-input-libinput/package.mk | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 packages/x11/driver/xf86-input-libinput/package.mk diff --git a/packages/x11/driver/xf86-input-libinput/package.mk b/packages/x11/driver/xf86-input-libinput/package.mk new file mode 100644 index 0000000000..a711946d62 --- /dev/null +++ b/packages/x11/driver/xf86-input-libinput/package.mk @@ -0,0 +1,40 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) +# +# OpenELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# OpenELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="xf86-input-libinput" +PKG_VERSION="0.8.0" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.freedesktop.org/wiki/Software/libinput/" +PKG_URL="http://xorg.freedesktop.org/archive/individual/driver/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS_TARGET="toolchain libinput" +PKG_PRIORITY="optional" +PKG_SECTION="x11/driver" +PKG_SHORTDESC="This is an X driver based on libinput." +PKG_LONGDESC="This is an X driver based on libinput." + +PKG_IS_ADDON="no" +PKG_AUTORECONF="yes" + +PKG_CONFIGURE_OPTS_TARGET="--with-xorg-module-dir=$XORG_PATH_MODULES" + +post_makeinstall_target() { + mkdir -p $INSTALL/usr/share/X11/xorg.conf.d + cp $PKG_BUILD/conf/99-libinput.conf $INSTALL/usr/share/X11/xorg.conf.d +}