summaryrefslogtreecommitdiff
path: root/repo/at-spi2-core/at-spi2-core.xibuild
blob: 0f7917c3526f510b2b3f0c75757395eaae1ee73f (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.1
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
}