summaryrefslogtreecommitdiff
path: root/user/spice/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/spice/APKBUILD')
-rw-r--r--user/spice/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/spice/APKBUILD b/user/spice/APKBUILD
new file mode 100644
index 000000000..a40b5853f
--- /dev/null
+++ b/user/spice/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=spice
+pkgver=0.14.0
+pkgrel=0
+pkgdesc="Solution for seamless access to virtual machines"
+url="https://www.spice-space.org/"
+arch="all"
+license="LGPL-2.1+"
+depends="gst-plugins-base"
+depends_dev=""
+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"
+install=""
+subpackages="$pkgname-dev"
+source="https://www.spice-space.org/download/releases/spice-$pkgver.tar.bz2"
+builddir="$srcdir/spice-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-celt051
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="84532146aa628ca6ca459a82afb89d6391892e063668fd4a68023c92cee7ca868b6c82e31dd9886819b76ea745ebdae0d0030e1f608d8f58f51c00f0b09bae1f spice-0.14.0.tar.bz2"