summaryrefslogtreecommitdiff
path: root/repo/libinput/libinput.xibuild
blob: 41411596ed6fa2370b6e7a13e05fb9cef2d596cc (plain)
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
#!/bin/sh

MAKEDEPS="meson ninja"
DEPS="libevdev mtdev libwacom"

DESC="Input device management and event handling library"

PKG_VER=1.19.4
SOURCE=https://www.freedesktop.org/software/libinput/libinput-$PKG_VER.tar.xz

build () {
    mkdir build &&
    cd    build &&

    meson --prefix=/usr \
          --buildtype=release   \
          -Ddebug-gui=false     \
          -Dtests=false         \
          -Dlibwacom=true      \
          ..                    &&
    ninja

}

package () {
    DESTDIR=$PKG_DEST ninja install
}