summaryrefslogtreecommitdiff
path: root/repo/x11/libinput.xibuild
blob: a845ffef2be1a073d224641dad8afaf57dcaf7b1 (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/bash

MAKEDEPS=(meson ninja)
DEPS=(libevdev mtdev libwacom)

DESC="Input device management and event handling library"

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

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

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

}

package () {
    DESTDIR=$PKG_DEST ninja install
}