summaryrefslogtreecommitdiff
path: root/repo/libinput/libinput.xibuild
blob: 6686c9fe51e11e6ebac1cc4e3de1f09b11e4b711 (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=$XORG_PREFIX \
          --buildtype=release   \
          -Ddebug-gui=false     \
          -Dtests=false         \
          -Dlibwacom=true      \
          ..                    &&
    ninja

}

package () {
    DESTDIR=$PKG_DEST ninja install
}