blob: b8b2d50522cefc1eff5c1ff7e37e0edca57d395a (
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
|
# Maintainer: David Garfias <dgarfiasme at gmail dot com>
pkgname=gfxstream
pkgver=0.1.2
pkgrel=1
pkgdesc="Graphics Streaming Kit (colloquially known as Gfxstream) is a code generator that makes it easier to serialize and forward graphics API calls from one place to another."
arch=("x86_64")
url="https://android.googlesource.com/platform/hardware/google/gfxstream/"
license=("Apache-2.0")
source=('git+https://android.googlesource.com/platform/hardware/google/gfxstream#tag=v0.1.2-gfxstream-release')
sha256sums=('SKIP')
makedepends=(meson git ninja clang)
depends=(libaemu mesa glu freeglut libdrm)
prepare() {
cd $srcdir/gfxstream
mkdir build
}
build() {
cd $srcdir/gfxstream
CC=clang CXX=clang++ arch-meson . build
meson compile -C build
}
package() {
cd $srcdir/gfxstream
meson install -C build --destdir "$pkgdir"
}
|