summaryrefslogtreecommitdiffstats
path: root/spice-gtk/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'spice-gtk/MAKEPKG')
-rw-r--r--spice-gtk/MAKEPKG48
1 files changed, 48 insertions, 0 deletions
diff --git a/spice-gtk/MAKEPKG b/spice-gtk/MAKEPKG
new file mode 100644
index 0000000..7e4bc6b
--- /dev/null
+++ b/spice-gtk/MAKEPKG
@@ -0,0 +1,48 @@
1#!/bin/mkpkg
2# description: GTK client library and spicy client for SPICE
3# url: https://www.spice-space.org
4
5name=spice-gtk
6version=0.42
7release=1
8depends=(glib gtk3 spice spice-protocol cairo gdk-pixbuf pixman opus lz4 libjpeg-turbo libressl json-glib gstreamer gst-plugins-base)
9makedeps=(meson samurai pkgconf python3 perl py-pyparsing py-six)
10source=(https://www.spice-space.org/download/gtk/$name-$version.tar.xz
11 spice-gtk-lld.patch)
12sha256sums=(
13 "9380117f1811ad1faa1812cb6602479b6290d4a0d8cc442d44427f7f6c0e7a58"
14 "3b392e44d5f9257f1a1b3411d6e2c3b21dec48934cabc5c312ea43411ccef49d"
15)
16
17
18patch() {
19 cd $name-$version
20 patch -p1 < ${SRC}/spice-gtk-lld.patch
21}
22
23build() {
24 cd $name-$version
25 meson setup build \
26 --prefix=/usr \
27 --buildtype=release \
28 --wrap-mode=nodownload \
29 -Dauto_features=disabled \
30 -Dwayland-protocols=enabled \
31 -Dgtk=enabled \
32 -Dintrospection=disabled \
33 -Dbuiltin-mjpeg=false \
34 -Dvapi=disabled \
35 -Dgtk_doc=disabled \
36 -Dopus=enabled \
37 -Dwebdav=disabled \
38 -Dusbredir=disabled \
39 -Dcoroutine=gthread
40 meson compile -C build
41 meson install -C build --destdir $PKG
42}
43signify() {
44 untrusted comment: public key
45 RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
46}
47
48# vim: filetype=sh