summaryrefslogtreecommitdiffstats
path: root/spice/MAKEPKG
blob: 77a12ea8ae4d33fdaf17e12218f27abf44e33b65 (plain) (blame)
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
34
35
#!/bin/mkpkg
# description: SPICE server library
# url: https://www.spice-space.org

name=spice
version=0.16.0
release=1
depends=(glib spice-protocol libjpeg-turbo pixman opus lz4 libressl zlib)
makedeps=(meson samurai pkgconf python3 py-pyparsing)
source=(https://www.spice-space.org/download/releases/spice-server/$name-$version.tar.bz2)
sha256sums=(
    "0a6ec9528f05371261bbb2d46ff35e7b5c45ff89bb975a99af95a5f20ff4717d"
)

build() {
    cd $name-$version
    meson setup build \
        --prefix=/usr \
        --buildtype=release \
        --wrap-mode=nodownload \
        -Dsasl=false \
        -Dsmartcard=disabled \
        -Dlz4=true \
        -Dopus=enabled \
        -Dgstreamer=no
    meson compile -C build
    meson install -C build --destdir $PKG
}

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

# vim: filetype=sh