summaryrefslogtreecommitdiff
path: root/user/spice/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-08 02:11:51 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-08 02:11:51 -0500
commitc86aec496298fb20f0770f5ce9a2a37935f7aa5b (patch)
treeb95d17ae82ab73a2a147a2f0c9734c309e5f9807 /user/spice/APKBUILD
parentfd2bb2f751c13b3c0c002b8e012810902b9da364 (diff)
downloadpackages-c86aec496298fb20f0770f5ce9a2a37935f7aa5b.tar.gz
packages-c86aec496298fb20f0770f5ce9a2a37935f7aa5b.tar.bz2
packages-c86aec496298fb20f0770f5ce9a2a37935f7aa5b.tar.xz
packages-c86aec496298fb20f0770f5ce9a2a37935f7aa5b.zip
put user stuff in user, not system
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"