git: 7b7835004141 - main - graphics/libliftoff: update to 0.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Feb 2023 21:56:12 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7b7835004141a42d905e957162c844f5c0bbb903
commit 7b7835004141a42d905e957162c844f5c0bbb903
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-20 21:04:22 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-20 21:54:29 +0000
graphics/libliftoff: update to 0.4.0
Changes: https://gitlab.freedesktop.org/emersion/libliftoff/-/releases/v0.4.0
Reported by: GitLab (notify releases)
---
graphics/libliftoff/Makefile | 10 ++++++++--
graphics/libliftoff/distinfo | 6 +++---
graphics/libliftoff/pkg-plist | 2 +-
x11-wm/gamescope/Makefile | 2 +-
x11-wm/gamescope/files/patch-meson.build | 13 +++++++++++++
5 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/graphics/libliftoff/Makefile b/graphics/libliftoff/Makefile
index 4e27c5106cf8..a8a7bba87755 100644
--- a/graphics/libliftoff/Makefile
+++ b/graphics/libliftoff/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libliftoff
DISTVERSIONPREFIX= v
-DISTVERSION= 0.3.0
+DISTVERSION= 0.4.0
CATEGORIES= graphics
MAINTAINER= jbeich@FreeBSD.org
@@ -17,6 +17,12 @@ USE_GITLAB= yes
USE_LDCONFIG= yes
GL_SITE= https://gitlab.freedesktop.org
GL_ACCOUNT= emersion
-GL_COMMIT= c4488eeff94f511aa4d93ef93a042e471c1b2705
+GL_COMMIT= 40834142e1ab25cf0fc8e5461e51f08562294f11
+
+# https://gitlab.freedesktop.org/emersion/libliftoff/-/issues/75
+CFLAGS_armv6= -Wno-error=sign-compare -Wno-error=sign-conversion
+CFLAGS_armv7= -Wno-error=sign-compare -Wno-error=sign-conversion
+CFLAGS_i386= -Wno-error=sign-compare -Wno-error=sign-conversion
+CFLAGS_powerpc= -Wno-error=sign-compare -Wno-error=sign-conversion
.include <bsd.port.mk>
diff --git a/graphics/libliftoff/distinfo b/graphics/libliftoff/distinfo
index 9f5a1dbd5319..4a0049257fc7 100644
--- a/graphics/libliftoff/distinfo
+++ b/graphics/libliftoff/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660807069
-SHA256 (emersion-libliftoff-c4488eeff94f511aa4d93ef93a042e471c1b2705_GL0.tar.gz) = e66ea169484d6c7f61cf3e617737083dfa0b273658ef49b3938819f52bea95df
-SIZE (emersion-libliftoff-c4488eeff94f511aa4d93ef93a042e471c1b2705_GL0.tar.gz) = 31690
+TIMESTAMP = 1676927062
+SHA256 (emersion-libliftoff-40834142e1ab25cf0fc8e5461e51f08562294f11_GL0.tar.gz) = 73db89515450af439983806e0cf4d05164e9b26874285e341929e78ea963b3d5
+SIZE (emersion-libliftoff-40834142e1ab25cf0fc8e5461e51f08562294f11_GL0.tar.gz) = 36355
diff --git a/graphics/libliftoff/pkg-plist b/graphics/libliftoff/pkg-plist
index 3e96836b8824..92f7f79b5ef9 100644
--- a/graphics/libliftoff/pkg-plist
+++ b/graphics/libliftoff/pkg-plist
@@ -1,5 +1,5 @@
include/libliftoff.h
lib/libliftoff.so
lib/libliftoff.so.0
-lib/libliftoff.so.0.3.0
+lib/libliftoff.so.0.4.0
libdata/pkgconfig/libliftoff.pc
diff --git a/x11-wm/gamescope/Makefile b/x11-wm/gamescope/Makefile
index 7783b60e6589..8fe44d04c4bd 100644
--- a/x11-wm/gamescope/Makefile
+++ b/x11-wm/gamescope/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= glslangValidator:graphics/glslang \
evdev-proto>0:devel/evdev-proto \
- libliftoff>=0.3.0<0.4.0:graphics/libliftoff \
+ libliftoff>=0.4.0<0.5.0:graphics/libliftoff \
vulkan-headers>0:graphics/vulkan-headers \
wayland-protocols>=1.17:graphics/wayland-protocols \
hwdata>0:misc/hwdata \
diff --git a/x11-wm/gamescope/files/patch-meson.build b/x11-wm/gamescope/files/patch-meson.build
new file mode 100644
index 000000000000..8e50063b56c6
--- /dev/null
+++ b/x11-wm/gamescope/files/patch-meson.build
@@ -0,0 +1,13 @@
+https://github.com/Plagman/gamescope/commit/9600bbaadf9c
+
+--- meson.build.orig 2022-12-07 18:47:54 UTC
++++ meson.build
+@@ -109,7 +109,7 @@ liftoff_dep = dependency(
+
+ liftoff_dep = dependency(
+ 'libliftoff',
+- version: ['>= 0.3.0', '< 0.4.0'],
++ version: ['>= 0.4.0', '< 0.5.0'],
+ fallback: ['libliftoff', 'liftoff'],
+ default_options: ['default_library=static'],
+ )