New package: virglrenderer-0.5.0.

This commit is contained in:
Juan RP 2016-05-12 18:03:01 +02:00
parent 488bf11521
commit f581ff2506
4 changed files with 49 additions and 0 deletions

View file

@ -2445,3 +2445,4 @@ libsignon-qt5.so.1 signond-8.58_1
libsignon-plugins-common.so.1 signond-8.58_1
libsignon-extension.so.1 signond-8.58_1
libj4status-plugin.so.0 j4status-0.1_1
libvirglrenderer.so.0 virglrenderer-0.5.0_1

1
srcpkgs/virglrenderer-devel Symbolic link
View file

@ -0,0 +1 @@
virglrenderer

View file

@ -0,0 +1,20 @@
--- vtest/vtest_server.c.orig 2016-05-12 17:59:20.981253859 +0200
+++ vtest/vtest_server.c 2016-05-12 17:59:34.804230958 +0200
@@ -22,6 +22,7 @@
*
**************************************************************************/
#include <stdio.h>
+#include <string.h>
#include <signal.h>
#include <stdbool.h>
#include <unistd.h>
--- vtest/util.c.orig 2016-05-12 18:00:17.997159399 +0200
+++ vtest/util.c 2016-05-12 18:00:34.116132694 +0200
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <sys/select.h>
int vtest_wait_for_fd_read(int fd)
{

View file

@ -0,0 +1,27 @@
# Template file for 'virglrenderer'
pkgname=virglrenderer
version=0.5.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libepoxy-devel MesaLib-devel"
short_desc="virgl GL renderer library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://virgil3d.github.io/"
distfiles="https://www.freedesktop.org/software/virgl/${pkgname}-${version}.tar.bz2"
checksum=a1955a3433b6a51c3ee5def007b1973da22807b91437a2dbcdf664bf2c9240b6
post_install() {
vlicense COPYING
}
virglrenderer-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}