summaryrefslogtreecommitdiff
path: root/repo/at-spi2-core/at-spi2-core.xibuild
blob: 58e56a29b48e558d14e44358e620cb71debbc03d (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

NAME="at-spi2-core"
DESC="Protocol definitions and daemon for D-Bus at-spi"

MAKEDEPS="meson ninja "
DEPS="dbus glib intltool libx11 libxi libxtst musl "

PKG_VER=2.44.0
SOURCE="https://download.gnome.org/sources/at-spi2-core/${PKG_VER%.*}/at-spi2-core-$PKG_VER.tar.xz"

build () {
    mkdir build &&
    cd build    &&
    meson --prefix=/usr \
    		-Dx11=yes \
            -Dintrospection=yes \
            -Ddocs=true \
            -Ddbus_daemon=/usr/bin/dbus-daemon \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
    rm -rf $PKG_DEST/usr/lib/systemd
}