blob: 8c6aa85e6f3d4505e8a41387930412bc6e978f71 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Daniel W. S. Almeida <dwlsalmeida at gmail dot com>
_name=ramses
pkgname=$_name-git
pkgver=d28b8c3
pkgrel=1
pkgdesc='A distributed system for rendering 3D content with focus on bandwidth and resource efficiency'
arch=('x86_64')
url='https://github.com/GENIVI/ramses'
license=('MPL2')
depends=('lz4' 'harfbuzz' 'libx11' 'mesa' 'python2' 'wayland')
makedepends=('bash' 'cmake' 'git' 'ninja' 'ragel')
provides=('ramses')
source=('git+https://github.com/GENIVI/ramses.git')
sha512sums=('SKIP')
pkgver() {
cd ${srcdir}/$_name
git describe --always | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd ${srcdir}/$_name
git submodule update --init --recursive
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=$pkgdir/usr \
-Dramses-sdk_BUILD_TESTS=0 \
-Dramses-sdk_BUILD_SMOKE_TESTS=0 \
-Dramses-sdk_BUILD_EXAMPLES=0 \
-Dramses-sdk_ENABLE_WAYLAND_SHELL=1 \
-Dramses-sdk_ENABLE_DLT=0 \
-G Ninja \
-Wno-dev \
${srcdir}/$_name
cmake --build ${srcdir}/$_name
}
package() {
cd ${srcdir}/$_name
cmake --build ${srcdir}/$_name --target install
}
|