1
0
mirror of https://codeberg.org/flk/meta-wayland.git synced 2025-04-14 04:46:46 +02:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Markus Volk
2f6842e8bc hyprland-plugins: update 2024-12-27 17:50:29 +01:00
Markus Volk
3f894b6fb1 hyprland: update 2024-12-27 17:50:03 +01:00
Markus Volk
1ad658a760 glaze: add recipe 2024-12-27 17:46:55 +01:00
4 changed files with 62 additions and 3 deletions

@ -0,0 +1,30 @@
SUMMARY = "Glaze reads and writes from object memory, simplifying interfaces and offering incredible performance"
HOMEPAGE = "https://github.com/stephenberry/glaze"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
SRC_URI = "git://github.com/stephenberry/glaze.git;protocol=https;nobranch=1"
SRCREV = "dfdb2ea5e878e8eff9f863b50728d860f663764f"
PV = "4.2.3"
S = "${WORKDIR}/git"
DEPENDS += "gcc-sanitizers"
inherit cmake
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
do_install:append() {
install -d ${D}${datadir}/pkgconfig
cat >${D}${datadir}/pkgconfig/glaze.pc <<EOF
prefix=${prefix}
includedir=${includedir}/glaze
Name: glaze
Description: one of the fastest JSON libraries
Version: ${PV}
URL: github.com/stephenberry/glaze
EOF
}

@ -1,5 +1,5 @@
SRC_URI = "git://github.com/hyprwm/hyprland-plugins.git;protocol=https;branch=main"
SRCREV = "2bfda39fc841434ffc229327a1ec2e11650c4db8"
SRCREV = "a41bcdccac7d3fe220b3a8519633f0a812da3439"
# Hack to allow patching the plugins
do_configure:prepend() {

@ -0,0 +1,28 @@
From 9101c92cf13f74c7a89e2e9e71e18caf43a14674 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Fri, 27 Dec 2024 17:38:28 +0100
Subject: [PATCH] meson.build: use pkgconfig for glaze
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Upstream-Status: Inappropriate [oe-specific]
---
hyprpm/src/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hyprpm/src/meson.build b/hyprpm/src/meson.build
index fd914f9d..36c2eb03 100644
--- a/hyprpm/src/meson.build
+++ b/hyprpm/src/meson.build
@@ -8,7 +8,7 @@ executable(
dependency('hyprutils', version: '>= 0.1.1'),
dependency('threads'),
dependency('tomlplusplus'),
- dependency('glaze', method: 'cmake'),
+ dependency('glaze'),
],
install: true,
)
--
2.47.1

@ -10,6 +10,7 @@ REQUIRED_DISTRO_FEATURES = "wayland opengl"
DEPENDS += " \
aquamarine \
cairo \
glaze \
hyprcursor \
hyprgraphics \
hyprlang \
@ -43,8 +44,8 @@ RRECOMMENDS:${PN} ?= " \
"
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;nobranch=1"
SRCREV = "0bd541f2fd902dbfa04c3ea2ccf679395e316887"
SRC_URI += "file://0001-meson.build-use-pkgconfig-for-glaze.patch"
SRCREV = "775111b6032185c9ef164d7ba1417a875c1d0287"
PV = "0.46.2"
S = "${WORKDIR}/git"