summaryrefslogtreecommitdiff
path: root/repo/spice/spice.xibuild
blob: 16ea6d2567360086850e7471781985427af27bc7 (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
#!/bin/sh

NAME="spice"
DESC="Implements the SPICE protocol"

MAKEDEPS="meson spice-protocol glib gdk-pixbuf pixman openssl libjpeg-turbo zlib opus gstreamer gst-plugins-base orc lz4 libsasl python-six python-pyparsing"

PKG_VER=0.15.0
SOURCE="https://www.spice-space.org/download/releases/spice-server/spice-$PKG_VER.tar.bz2"

ADDITIONAL="
failing-tests.patch
fix-build.patch
"

prepare () {
    apply_patches
}

build() {
    ./configure --prefix=/usr --sysconfdir=/etc \
        --localstatedir=/var --libdir=/usr/lib
    make
}

package() {
	make DESTDIR="$PKG_DEST" install 
}