From b9cf628bb7cb38885d30646ddea7692629dccb55 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Mon, 23 Dec 2019 21:10:53 -0600 Subject: [PATCH] virglrenderer: update to 0.8.1 Signed-off-by: Nathan Owens --- common/shlibs | 2 +- srcpkgs/virglrenderer/patches/musl.patch | 42 ++++++++++++++---------- srcpkgs/virglrenderer/template | 11 ++++--- 3 files changed, 31 insertions(+), 24 deletions(-) diff --git a/common/shlibs b/common/shlibs index 8751dd9da36..5304579ecca 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2483,7 +2483,7 @@ 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 +libvirglrenderer.so.1 virglrenderer-0.5.0_1 libglpk.so.40 glpk-4.60_1 libipmimonitoring.so.6 freeipmi-1.5.7_1 libipmiconsole.so.2 freeipmi-1.5.1_1 diff --git a/srcpkgs/virglrenderer/patches/musl.patch b/srcpkgs/virglrenderer/patches/musl.patch index c949d2ccf94..a00b10a9979 100644 --- a/srcpkgs/virglrenderer/patches/musl.patch +++ b/srcpkgs/virglrenderer/patches/musl.patch @@ -1,20 +1,26 @@ ---- 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 +From 0fe523515912e058c381d46ad1aae7d5f248ccfb Mon Sep 17 00:00:00 2001 +From: Nathan Owens +Date: Mon, 23 Dec 2019 21:04:48 -0600 +Subject: [PATCH] musl + +Signed-off-by: Nathan Owens +--- + vtest/vtest_server.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git vtest/vtest_server.c vtest/vtest_server.c +index ed2f74b..ca2cca1 100644 +--- vtest/vtest_server.c ++++ vtest/vtest_server.c +@@ -33,7 +33,7 @@ + #include + #include #include - #include +- +#include - - int vtest_wait_for_fd_read(int fd) - { + #include "util.h" + #include "util/u_memory.h" + #include "vtest.h" +-- +2.24.1 + diff --git a/srcpkgs/virglrenderer/template b/srcpkgs/virglrenderer/template index 596053a8bd0..eae3db9621a 100644 --- a/srcpkgs/virglrenderer/template +++ b/srcpkgs/virglrenderer/template @@ -1,16 +1,17 @@ # Template file for 'virglrenderer' pkgname=virglrenderer -version=0.7.0 +version=0.8.1 revision=1 -build_style=gnu-configure +wrksrc="${pkgname}-${pkgname}-${version}" +build_style=meson hostmakedepends="pkg-config" makedepends="libepoxy-devel MesaLib-devel" short_desc="Virgl GL renderer library" maintainer="Orphaned " license="MIT" -homepage="https://virgil3d.github.io/" -distfiles="${FREEDESKTOP_SITE}/virgl/${pkgname}-${version}.tar.bz2" -checksum=15ec0290ca0a2d175d6e5dc695938640c53d2c020e0c0f8a781045d3c27b2a10 +homepage="https://gitlab.freedesktop.org/virgl/virglrenderer" +distfiles="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/virglrenderer-${version}/virglrenderer-virglrenderer-${version}.tar.gz" +checksum=51c34b1c16721d785b1fd551ebefad9ac3523450c5bcbc01f2d1032b33014146 post_install() { vlicense COPYING