🔒 Repository is read-only – file editing is disabled.

recipes/gui/spice/PAGBUILD.yaml main

52 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
pkgname: spice
pkgver: '0.16.0'
pkgrel: '1'
pkgdesc: 'A spice server'
url: 'https://www.spice-space.org/'
arch: x86_64
license:
- 'LGPL-2.1-or-later'

depends: []
makedepends:
- meson
- ninja
- glib
- 'libjpeg-turbo'
- 'cyrus-sasl'
- lz4
- opus
- 'xorg-pixman'
- git
- libcacard
- 'python-parsing'
- 'python-six'
- 'spice-protocol'
- 'gdk-pixbuf'

source:
- 'https://www.spice-space.org/download/releases/${pkgname}-server/${pkgname}-${pkgver}.tar.bz2'

sha256sums:
- SKIP

build: |
  cd spice-*/

  sed -i "/meson.dist/d" meson.build

  meson setup \
    --prefix=/usr \
    --buildtype=plain \
    --libexecdir=lib \
    --sbindir=bin \
    -D b_pie=true \
    -Dgstreamer=no \
    -Dtests=false \
    . builddir

  meson compile -C builddir

package: |
  cd spice-*/
  DESTDIR="${PKGDIR}" meson install -C builddir