mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-18 06:49:52 +02:00
quickshell: add recipe
This commit is contained in:
@ -0,0 +1,30 @@
|
||||
From 2956a4fab61f959c02c944887a3e1d0cf9e94550 Mon Sep 17 00:00:00 2001
|
||||
From: Markus Volk <f_l_k@t-online.de>
|
||||
Date: Thu, 17 Jul 2025 16:40:09 +0200
|
||||
Subject: [PATCH] dont bake compile flags into binary
|
||||
|
||||
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
||||
|
||||
This fixes reproducibility
|
||||
|
||||
Upstream-Status: Inappropriate [oe-specific]
|
||||
---
|
||||
src/launch/command.cpp | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/src/launch/command.cpp b/src/launch/command.cpp
|
||||
index 64eb076..8965ae7 100644
|
||||
--- a/src/launch/command.cpp
|
||||
+++ b/src/launch/command.cpp
|
||||
@@ -514,8 +514,6 @@ int runCommand(int argc, char** argv, QCoreApplication* coreApplication) {
|
||||
if (state.log.verbosity > 1) {
|
||||
qCInfo(logBare).noquote() << "\nBuildtime Qt Version:" << QT_VERSION_STR;
|
||||
qCInfo(logBare).noquote() << "Runtime Qt Version:" << qVersion();
|
||||
- qCInfo(logBare).noquote() << "Compiler:" << COMPILER;
|
||||
- qCInfo(logBare).noquote() << "Compile Flags:" << COMPILE_FLAGS;
|
||||
}
|
||||
|
||||
if (state.log.verbosity > 0) {
|
||||
--
|
||||
2.50.1
|
||||
|
@ -0,0 +1,38 @@
|
||||
SUMMARY = "building blocks for your desktop"
|
||||
HOMEPAGE = "https://quickshell.org"
|
||||
LICENSE = "LGPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404"
|
||||
|
||||
SRC_URI = "git://github.com/quickshell-mirror/quickshell.git;protocol=https;branch=master"
|
||||
SRC_URI += "file://0001-dont-bake-compile-flags-into-binary.patch"
|
||||
|
||||
SRCREV = "91dcb41d2216be6b11955c59b54637bff6c2f296"
|
||||
|
||||
DEPENDS = "cli11 qtbase qttools-native qtdeclarative qtshadertools spirv-tools virtual/libgbm"
|
||||
|
||||
inherit qt6-cmake pkgconfig
|
||||
|
||||
EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
||||
|
||||
FILES:${PN} += "${libdir}/qml/Quickshell ${datadir}"
|
||||
|
||||
PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland pipewire bluetooth pam', d)} hyprland mpris upower notifications"
|
||||
PACKAGECONFIG[x11] = "-DX11=ON,-DX11=OFF,libx11 libxcb"
|
||||
PACKAGECONFIG[wayland] = "-DWAYLAND=ON,DWAYLAND=OFF,qtwayland qtwayland-native"
|
||||
PACKAGECONFIG[hyprland] = "-DHYPRLAND=ON,-DHYPRLAND=OFF"
|
||||
PACKAGECONFIG[i3] = "-DI3=ON,-DI3=OFF"
|
||||
PACKAGECONFIG[greetd] = "-DGREETD=ON,-DGREETD=OFF"
|
||||
PACKAGECONFIG[upower] = "-DUPOWER=ON,-DUPOWER=OFF"
|
||||
PACKAGECONFIG[systray] = "-DSERVICE_STATUS_NOTIFIER=ON,-DSERVICE_STATUS_NOTIFIER=OFF"
|
||||
PACKAGECONFIG[bluetooth] = "-DBLUETOOTH=ON,-DBLUETOOTH=OFF"
|
||||
PACKAGECONFIG[notifications] = "-DSERVICE_NOTIFICATIONS=ON,-DSERVICE_NOTIFICATIONS=OFF"
|
||||
PACKAGECONFIG[pam] = "-DPAM=ON,-DPAM=OFF"
|
||||
PACKAGECONFIG[mpris] = "-DMPRIS=ON,-DMPRIS=OFF"
|
||||
PACKAGECONFIG[pipewire] = "-DPIPEWIRE=ON,-DPIPEWIRE=OFF,pipewire"
|
||||
PACKAGECONFIG[jemalloc] = "-DUSE_JEMALLOC=ON,-DUSE_JEMALLOC=OFF,jemalloc"
|
||||
PACKAGECONFIG[crashreporter] = "-DCRASH_REPORTER=ON,-DCRASH_REPORTER=OFF"
|
||||
|
||||
do_install:prepend() {
|
||||
sed -i -e 's|${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}|${TARGET_DBGSRC_DIR}|g' ${B}/src/dbus/dbus_objectmanager.h
|
||||
sed -i -e 's|${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}|${TARGET_DBGSRC_DIR}|g' ${B}/src/dbus/dbusmenu/dbus_menu.h
|
||||
}
|
Reference in New Issue
Block a user