summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/libinput.in15
-rw-r--r--rules/libinput.make63
2 files changed, 78 insertions, 0 deletions
diff --git a/rules/libinput.in b/rules/libinput.in
new file mode 100644
index 000000000..75f846451
--- /dev/null
+++ b/rules/libinput.in
@@ -0,0 +1,15 @@
+## SECTION=multimedia_libs
+
+config LIBINPUT
+ tristate
+ select MTDEV
+ select LIBEVDEV
+ select UDEV
+ select UDEV_LIBUDEV
+ prompt "libinput"
+ help
+ libinput is a library to handle input devices in Wayland compositors and to
+ provide a generic X.Org input driver. It provides device detection, device
+ handling, input device event processing and abstraction so minimize the amount
+ of custom input code compositors need to provide the common set of
+ functionality that users expect.
diff --git a/rules/libinput.make b/rules/libinput.make
new file mode 100644
index 000000000..89547b18d
--- /dev/null
+++ b/rules/libinput.make
@@ -0,0 +1,63 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBINPUT) += libinput
+
+#
+# Paths and names
+#
+LIBINPUT_VERSION := 0.6.0
+LIBINPUT_MD5 := 3afaf9f66d8796323a79edb879c10ba3
+LIBINPUT := libinput-$(LIBINPUT_VERSION)
+LIBINPUT_SUFFIX := tar.xz
+LIBINPUT_URL := http://www.freedesktop.org/software/libinput/$(LIBINPUT).$(LIBINPUT_SUFFIX)
+LIBINPUT_SOURCE := $(SRCDIR)/$(LIBINPUT).$(LIBINPUT_SUFFIX)
+LIBINPUT_DIR := $(BUILDDIR)/$(LIBINPUT)
+LIBINPUT_LICENSE := unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+LIBINPUT_CONF_ENV := \
+ $(CROSS_ENV) \
+ ac_cv_path_DOXYGEN=
+#
+# autoconf
+#
+LIBINPUT_CONF_TOOL := autoconf
+LIBINPUT_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-event-gui \
+ --disable-tests
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libinput.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, libinput)
+ @$(call install_fixup, libinput,PRIORITY,optional)
+ @$(call install_fixup, libinput,SECTION,base)
+ @$(call install_fixup, libinput,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
+ @$(call install_fixup, libinput,DESCRIPTION,missing)
+
+ @$(call install_lib, libinput, 0, 0, 0644, libinput)
+
+ @$(call install_finish, libinput)
+
+ @$(call touch)
+
+# vim: syntax=make