diff --git a/common/shlibs b/common/shlibs index bb7c0adcdd..ace4c04d24 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/virglrenderer-devel b/srcpkgs/virglrenderer-devel new file mode 120000 index 0000000000..08ac1e96be --- /dev/null +++ b/srcpkgs/virglrenderer-devel @@ -0,0 +1 @@ +virglrenderer \ No newline at end of file diff --git a/srcpkgs/virglrenderer/patches/musl.patch b/srcpkgs/virglrenderer/patches/musl.patch new file mode 100644 index 0000000000..c949d2ccf9 --- /dev/null +++ b/srcpkgs/virglrenderer/patches/musl.patch @@ -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 ++#include + #include + #include + #include +--- 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 + #include + #include ++#include + + int vtest_wait_for_fd_read(int fd) + { diff --git a/srcpkgs/virglrenderer/template b/srcpkgs/virglrenderer/template new file mode 100644 index 0000000000..9e2a841c5b --- /dev/null +++ b/srcpkgs/virglrenderer/template @@ -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 " +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 + } +}