summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 270e1b17e2424fe70f0e231836507f9a8586cc97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Lukáš Tyrychtr <lukastyrychtr@gmail.com>

pkgname=libspiel
pkgver=1.0.3
pkgrel=1
pkgdesc="Speech synthesis client library"
url="https://project-spiel.org/libspiel"
arch=(x86_64)
license=(LGPL-2.1-only)

depends=(dconf glibc glib2 gcc-libs gstreamer gst-plugins-base-libs)
makedepends=(git meson gobject-introspection gi-docgen glib2-devel)
source=("git+https://github.com/project-spiel/${pkgname}.git#tag=SPIEL_${pkgver//./_}")
b2sums=('a7a8e18143c0cdb9b7489ea348e469f2ac77222a19b71128055fd430ef5a9cc9f549bc74bdc77c124540720d03fdf60595afe40ea369ed634fd37d996d5a44d9')

prepare() {
  meson subprojects download --sourcedir=$pkgname
}


build() {
  arch-meson $pkgname build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

package() {
  meson install -C build --destdir "$pkgdir"
}