summaryrefslogblamecommitdiff
path: root/user/spice/APKBUILD
blob: ef57a810c810455eb62ed80a4440b35f38607891 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             



                                                          
                                                            

                          


                                                                               
                          




                                                                                         

         











                                         



                  


                                      
                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=spice
pkgver=0.14.2
pkgrel=0
pkgdesc="Solution for seamless access to virtual machines"
url="https://www.spice-space.org/"
arch="all"
options="!check"  # Tests only pass on 64-bit architectures.
license="LGPL-2.1+"
depends="gst-plugins-base"
makedepends="$depends_dev openssl-dev zlib-dev libjpeg-turbo-dev cyrus-sasl-dev
	opus-dev lz4-dev gstreamer-dev gst-plugins-base-dev glib-dev orc-dev
	python3 spice-protocol pixman-dev gstreamer-tools"
subpackages="$pkgname-dev"
source="https://www.spice-space.org/download/releases/spice-server/spice-$pkgver.tar.bz2"

# secfixes:
#   0.14.1-r0:
#     - CVE-2018-10873

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-celt051
	make
}

check() {
	make check
}

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

sha512sums="1093b618ea4a7ff31944429ce2903abecfc8d20c35f2d9c8c837a6e053ee429c0115e40665542637a717869209523ac05d15cdb5e77563102d5d3915e4aaaf76  spice-0.14.2.tar.bz2"