diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-01 13:19:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-01 13:19:19 +0000 |
commit | 4fbd152a06b9d93c34ba54df6f4a7473404791f3 (patch) | |
tree | 7c7c7e95bd6203ceb18eb11ce11222f2c4ad0e83 /main/virglrenderer/APKBUILD | |
parent | 58f6785cdd06b7e7e30e84e4c4dc38ce26b9e220 (diff) | |
download | aports-4fbd152a06b9d93c34ba54df6f4a7473404791f3.tar.bz2 aports-4fbd152a06b9d93c34ba54df6f4a7473404791f3.tar.xz |
main/virglrenderer: move from testing
needed by qemu
Diffstat (limited to 'main/virglrenderer/APKBUILD')
-rw-r--r-- | main/virglrenderer/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/virglrenderer/APKBUILD b/main/virglrenderer/APKBUILD new file mode 100644 index 0000000000..8a5621ad63 --- /dev/null +++ b/main/virglrenderer/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Fernando Casas Schossow <casasfernando@outlook.com> +# Maintainer: Fernando Casas Schossow <casasfernando@outlook.com> +pkgname=virglrenderer +pkgver=0.6.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="x86_64 ppc64le armhf armv7 aarch64 x86" +license="MIT" +depends="libepoxy mesa" +makedepends="file libdrm-dev mesa-dev libepoxy-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://www.freedesktop.org/software/virgl/virglrenderer-$pkgver.tar.bz2 musl-fixes.patch" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + ./configure --prefix=/usr + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +sha512sums="5adfc1570300432e5ff575f6f6c1053b40b2cf36ac6adb92ba278d0539a512f34140e4b417cad30e7738859bb9cc08979d2e5e2161028be958e079e394f93d02 virglrenderer-0.6.0.tar.bz2 +450c3f9d2fa07ad61379f2761dcd623e65b52ffd755255f9f479b48aec9bafb1f1dd3766db5e3d0b5e78daf4f9eeb99a645b829356d16f1f84c90a3d97b4abe5 musl-fixes.patch" |