summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-09-23 01:07:52 +0200
committerJan Beich <jbeich@FreeBSD.org>2023-09-23 02:41:54 +0200
commitf16b003f6abd31f17bb0b6bc29f15ff4e9cae0cb (patch)
tree90cbbf47d84a4459d2afac506f2c80475abbf0aa
parentgraphics/mesa-devel: update to 23.2.0.b.4002 (diff)
x11-wm/hyprland: update to 0.30.0
Changes: https://github.com/hyprwm/Hyprland/releases/tag/v0.30.0 Reported by: GitHub (watch releases)
-rw-r--r--x11-wm/hyprland/Makefile9
-rw-r--r--x11-wm/hyprland/distinfo6
-rw-r--r--x11-wm/hyprland/files/patch-system-wlroots6
3 files changed, 14 insertions, 7 deletions
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index bde00e36f855..b9b71a093c5c 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -1,6 +1,6 @@
PORTNAME= hyprland
DISTVERSIONPREFIX= v
-DISTVERSION= 0.29.1
+DISTVERSION= 0.30.0
CATEGORIES= x11-wm wayland
MAINTAINER= jbeich@FreeBSD.org
@@ -10,6 +10,8 @@ WWW= https://hyprland.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+BROKEN_FreeBSD_12= libc++ too old
+
BUILD_DEPENDS= cmake:devel/cmake-core \
evdev-proto>0:devel/evdev-proto \
wayland-protocols>=1.25:graphics/wayland-protocols \
@@ -30,6 +32,11 @@ GH_TUPLE= hyprwm:hyprland-protocols:v0.2:hyprland_protocols/subprojects/hyprland
canihavesomecoffee:udis86:1.7.2-186-g5336633:udis86/subprojects/udis86
MESON_ARGS= -Dsystemd=disabled
+# XXX Drop after FreeBSD 14.0 EOL around 2025-03-01
+.if exists(/usr/lib/libc++.so) && !exists(/usr/include/c++/v1/__format/write_escaped.h)
+CXXFLAGS+= -fexperimental-library
+.endif
+
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
diff --git a/x11-wm/hyprland/distinfo b/x11-wm/hyprland/distinfo
index 62ea9feb658e..1acbaf63f2ec 100644
--- a/x11-wm/hyprland/distinfo
+++ b/x11-wm/hyprland/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1693740777
-SHA256 (hyprwm-Hyprland-v0.29.1_GH0.tar.gz) = 8509b283218c382c73866494970533eefb0a2e0dab70c05db6abb92c250e3325
-SIZE (hyprwm-Hyprland-v0.29.1_GH0.tar.gz) = 7317987
+TIMESTAMP = 1695424072
+SHA256 (hyprwm-Hyprland-v0.30.0_GH0.tar.gz) = 46bececa76df469acd77594422931e9b1a255fc4562e12011d13fbb9135495f6
+SIZE (hyprwm-Hyprland-v0.30.0_GH0.tar.gz) = 7321894
SHA256 (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 106cb189d0fbe4ec0ee11a12a17238172f4c4cd1b2b26db904df144e5c7a05f0
SIZE (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 6342
SHA256 (canihavesomecoffee-udis86-1.7.2-186-g5336633_GH0.tar.gz) = 69aff959179ff6247b375b92e797221dbd8e078eabbf1366280b0532617e7fb8
diff --git a/x11-wm/hyprland/files/patch-system-wlroots b/x11-wm/hyprland/files/patch-system-wlroots
index 0f099fd8359d..8eed6a0decae 100644
--- a/x11-wm/hyprland/files/patch-system-wlroots
+++ b/x11-wm/hyprland/files/patch-system-wlroots
@@ -1,14 +1,14 @@
Allow system wlroots to reduce maintenance (wlroots has tons of options)
---- meson.build.orig 2023-03-14 21:56:31 UTC
+--- meson.build.orig 2023-09-22 23:07:52 UTC
+++ meson.build
@@ -39,8 +39,8 @@ add_project_arguments(
],
language: 'cpp')
--wlroots = subproject('wlroots', default_options: ['examples=false'])
+-wlroots = subproject('wlroots', default_options: ['examples=false', 'renderers=gles2'])
-have_xwlr = wlroots.get_variable('features').get('xwayland')
-+wlroots = dependency('wlroots', version: ['>=0.17.0', '<0.18.0'], default_options: ['examples=false'])
++wlroots = dependency('wlroots', version: ['>=0.17.0', '<0.18.0'], default_options: ['examples=false', 'renderers=gles2'])
+have_xwlr = wlroots.get_variable(pkgconfig: 'have_xwayland', internal: 'have_xwayland') == 'true'
xcb_dep = dependency('xcb', required: get_option('xwayland'))