mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
x11/virglrenderer: Update to 1.0.1
Add USE_XORG variable. Pet portfmt. Submitter takes maintainership. PR: 283723
This commit is contained in:
parent
821ff2c93f
commit
1fd119f882
6 changed files with 43 additions and 19 deletions
|
@ -1,27 +1,27 @@
|
|||
PORTNAME= virglrenderer
|
||||
DISTVERSION= 0.8.2
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 1.0.1
|
||||
CATEGORIES= x11
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= monwarez@mailoo.org
|
||||
COMMENT= VirGL virtual OpenGL renderer
|
||||
WWW= https://virgil3d.github.io/
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN_riscv64= fails to build: ../src/gallium/include/pipe/p_config.h:171:2: Unknown Endianness
|
||||
BROKEN_riscv64= fails to build: ../src/gallium/include/pipe/p_config.h:171:2: Unknown Endianness
|
||||
|
||||
LIB_DEPENDS= libdrm.so:graphics/libdrm \
|
||||
libepoxy.so:graphics/libepoxy
|
||||
|
||||
USES= cmake:indirect compiler:c++11-lang cpe gl meson pkgconfig python
|
||||
USES= cmake:indirect compiler:c++11-lang cpe gl meson pkgconfig \
|
||||
python xorg
|
||||
CPE_VENDOR= ${PORTNAME}_project
|
||||
USE_GITLAB= yes
|
||||
USE_GL= gbm
|
||||
GL_SITE= https://gitlab.freedesktop.org
|
||||
GL_ACCOUNT= virgl
|
||||
GL_TAGNAME= 7d204f3927be65fb3365dce01dbcd04d447a4985
|
||||
USE_GL= gbm
|
||||
USE_XORG= x11
|
||||
|
||||
BINARY_ALIAS= python3=${PYTHON_CMD}
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1617892719
|
||||
SHA256 (virgl-virglrenderer-7d204f3927be65fb3365dce01dbcd04d447a4985_GL0.tar.gz) = e18f150cd5c350b30deba0346193fdb99b4fc83d3611ddb568a606be5388892f
|
||||
SIZE (virgl-virglrenderer-7d204f3927be65fb3365dce01dbcd04d447a4985_GL0.tar.gz) = 2698626
|
||||
TIMESTAMP = 1735478130
|
||||
SHA256 (virglrenderer-1.0.1.tar.bz2) = 53cb8fadd08f5260ee57833fc2488565481438bc7a8e34f3e114d12cc9d9db9a
|
||||
SIZE (virglrenderer-1.0.1.tar.bz2) = 718061
|
||||
|
|
12
x11/virglrenderer/files/patch-src_mesa_util_libsync.h
Normal file
12
x11/virglrenderer/files/patch-src_mesa_util_libsync.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- src/mesa/util/libsync.h.orig 2024-01-08 20:00:59 UTC
|
||||
+++ src/mesa/util/libsync.h
|
||||
@@ -30,6 +30,9 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
+#ifndef ETIME
|
||||
+#define ETIME ETIMEDOUT
|
||||
+#endif
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
13
x11/virglrenderer/files/patch-src_mesa_util_u__thread.h
Normal file
13
x11/virglrenderer/files/patch-src_mesa_util_u__thread.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/mesa/util/u_thread.h.orig 2024-01-08 20:00:59 UTC
|
||||
+++ src/mesa/util/u_thread.h
|
||||
@@ -43,6 +43,10 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <pthread_np.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef __HAIKU__
|
||||
#include <OS.h>
|
||||
#endif
|
|
@ -1,16 +1,14 @@
|
|||
--- vtest/vtest_renderer.c.orig 2020-05-16 19:25:05 UTC
|
||||
--- vtest/vtest_renderer.c.orig 2024-01-08 20:00:59 UTC
|
||||
+++ vtest/vtest_renderer.c
|
||||
@@ -35,7 +35,9 @@
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <sys/uio.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/mman.h>
|
||||
+#include <sys/stat.h>
|
||||
|
||||
+
|
||||
#include "vtest.h"
|
||||
#include "vtest_shm.h"
|
||||
#include "vtest_protocol.h"
|
||||
@@ -158,7 +160,7 @@ int vtest_block_read(struct vtest_input *input, void *
|
||||
#ifdef HAVE_EVENTFD_H
|
||||
#include <sys/eventfd.h>
|
||||
#endif
|
||||
@@ -368,7 +369,7 @@ int vtest_block_read(struct vtest_input *input, void *
|
||||
if (getenv("VTEST_SAVE")) {
|
||||
if (savefd == -1) {
|
||||
savefd = open(getenv("VTEST_SAVE"),
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
bin/virgl_test_server
|
||||
include/virgl/virgl-version.h
|
||||
include/virgl/virglrenderer.h
|
||||
lib/libvirglrenderer.so
|
||||
lib/libvirglrenderer.so.1
|
||||
lib/libvirglrenderer.so.1.4.2
|
||||
lib/libvirglrenderer.so.1.8.9
|
||||
libdata/pkgconfig/virglrenderer.pc
|
||||
|
|
Loading…
Add table
Reference in a new issue