diff options
Diffstat (limited to 'spice/MAKEPKG')
| -rw-r--r-- | spice/MAKEPKG | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/spice/MAKEPKG b/spice/MAKEPKG new file mode 100644 index 0000000..77a12ea --- /dev/null +++ b/spice/MAKEPKG | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | #!/bin/mkpkg | ||
| 2 | # description: SPICE server library | ||
| 3 | # url: https://www.spice-space.org | ||
| 4 | |||
| 5 | name=spice | ||
| 6 | version=0.16.0 | ||
| 7 | release=1 | ||
| 8 | depends=(glib spice-protocol libjpeg-turbo pixman opus lz4 libressl zlib) | ||
| 9 | makedeps=(meson samurai pkgconf python3 py-pyparsing) | ||
| 10 | source=(https://www.spice-space.org/download/releases/spice-server/$name-$version.tar.bz2) | ||
| 11 | sha256sums=( | ||
| 12 | "0a6ec9528f05371261bbb2d46ff35e7b5c45ff89bb975a99af95a5f20ff4717d" | ||
| 13 | ) | ||
| 14 | |||
| 15 | build() { | ||
| 16 | cd $name-$version | ||
| 17 | meson setup build \ | ||
| 18 | --prefix=/usr \ | ||
| 19 | --buildtype=release \ | ||
| 20 | --wrap-mode=nodownload \ | ||
| 21 | -Dsasl=false \ | ||
| 22 | -Dsmartcard=disabled \ | ||
| 23 | -Dlz4=true \ | ||
| 24 | -Dopus=enabled \ | ||
| 25 | -Dgstreamer=no | ||
| 26 | meson compile -C build | ||
| 27 | meson install -C build --destdir $PKG | ||
| 28 | } | ||
| 29 | |||
| 30 | signify() { | ||
| 31 | untrusted comment: public key | ||
| 32 | RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 | ||
| 33 | } | ||
| 34 | |||
| 35 | # vim: filetype=sh | ||