1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# -*-makefile-*-
#
# Copyright (C) 2014 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# 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 := 1.14.0
LIBINPUT_MD5 := 1c33d49fc7985926eab877e3de9c17eb
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 := MIT
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
LIBINPUT_CONF_TOOL := meson
LIBINPUT_CONF_OPT := \
$(CROSS_MESON_USR) \
-Dudev-dir=/usr/lib/udev \
-Dlibwacom=false \
-Dcoverity=false \
-Ddebug-gui=false \
-Dtests=false \
-Ddocumentation=false \
-Depoll-dir= \
-Dinstall-tests=false
# ----------------------------------------------------------------------------
# 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)
ifdef PTXCONF_LIBINPUT_QUIRKS
@$(call install_tree, libinput, 0, 0, -, /usr/share/libinput)
else
@$(call install_alternative, libinput, 0, 0, 0644, \
/usr/share/libinput/99-ptxdist-dummy.quirks)
endif
@$(call install_finish, libinput)
@$(call touch)
# vim: syntax=make
|