aboutsummaryrefslogtreecommitdiffstats
path: root/main/virglrenderer/APKBUILD
blob: bdf0d179849eeeb94f433394590515ba6d1d7c47 (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
# Contributor: Fernando Casas Schossow <casasfernando@outlook.com>
# Maintainer: Fernando Casas Schossow <casasfernando@outlook.com>
pkgname=virglrenderer
pkgver=0.8.0
pkgrel=1
pkgdesc="A virtual 3D GPU library, that allows the guest operating system to use the host GPU to accelerate 3D rendering"
url="https://virgil3d.github.io/"
arch="all"
license="MIT"
makedepends="autoconf automake libtool file libdrm-dev mesa-dev libepoxy-dev python3"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/freedesktop/virglrenderer/archive/virglrenderer-$pkgver.tar.gz
	musl-fixes.patch"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

check() {
	make check
}

sha512sums="281da72d0be9146fd7a63f2062222c001c6cb02a4420d5d11d8f3fe551a1e3c6e3420c91fb99d7480f26de0de85d9e8b1aae558f60e037169a99b4d09d3dc407  virglrenderer-0.8.0.tar.gz
8f12548eb6ea3a2ac4f90ae74dbb338df0f57876104eb27e78d7acc184c0fe3b192636001606197a59b9cb286e8417579e41df3e132999ab0e3472d6604f8a3e  musl-fixes.patch"