summaryrefslogtreecommitdiff
path: root/libs/wlroots/MAKEPKG
blob: 1cb9bb15f434280c9ac1d28de68e9fb6715c968a (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
28
29
30
31
32
33
#!/bin/mkpkg
# description: A modular Wayland compositor library
# url: https://gitlab.freedesktop.org/wlroots/wlroots

name=wlroots
version=0.20.2
release=2
depends=(libcap2 libdisplay-info libinput libxkbcommon mesa pixman seatd wayland-protocols)
makedeps=(meson)
source=(https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/$version/$name-$version.tar.bz2)

sha256sums=(
    "20c37b521dc3054b6e9627b79bdd45fc716db9ebc58bdf97e57e84d04b04610f"
)

build() {
    meson setup $name-$version build \
        --prefix=/usr \
        --buildtype=plain \
        -D xwayland=disabled \
        -D backends=drm,libinput \
        -D examples=false
    
    meson compile -C build
    DESTDIR=$PKG meson install -C build
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh