mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2026-04-09 14:22:30 +02:00
noctalia-qs: update
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
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/noctalia-dev/noctalia-qs.git;protocol=https;nobranch=1"
|
||||
SRC_URI += "file://0001-dont-bake-compile-flags-into-binary.patch"
|
||||
|
||||
SRCREV = "e7224b756dcd10eec040df818a4c7a0fda5d6eff"
|
||||
|
||||
DEPENDS = "cli11 qtbase qttools-native qtdeclarative qtquick3d qtshadertools spirv-tools virtual/libgbm"
|
||||
RCONFLICTS:${PN} = "quickshell"
|
||||
RRECOMMENDS:${PN} = "qt5compat"
|
||||
|
||||
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 polkit', d)} hyprland mpris systray upower notifications i3 greetd"
|
||||
PACKAGECONFIG[x11] = "-DX11=ON,-DX11=OFF,libx11 libxcb"
|
||||
PACKAGECONFIG[wayland] = "-DWAYLAND=ON,DWAYLAND=OFF"
|
||||
PACKAGECONFIG[hyprland] = "-DHYPRLAND=ON,-DHYPRLAND=OFF"
|
||||
PACKAGECONFIG[i3] = "-DI3=ON,-DI3=OFF"
|
||||
PACKAGECONFIG[greetd] = "-DSERVICE_GREETD=ON,-DSERVICE_GREETD=OFF"
|
||||
PACKAGECONFIG[upower] = "-DSERVICE_UPOWER=ON,-DSERVICE_UPOWER=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] = "-DSERVICE_PAM=ON,-DSERVICE_PAM=OFF,libpam"
|
||||
PACKAGECONFIG[mpris] = "-DSERVICE_MPRIS=ON,-DSERVICE_MPRIS=OFF"
|
||||
PACKAGECONFIG[pipewire] = "-DSERVICE_PIPEWIRE=ON,-DSERVICE_PIPEWIRE=OFF,pipewire"
|
||||
PACKAGECONFIG[polkit] = "-DSERVICE_POLKIT=ON,-DSERVICE_POLKIT=OFF,polkit"
|
||||
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
|
||||
sed -i -e 's|${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}|${TARGET_DBGSRC_DIR}|g' ${B}/src/network/nm/dbus_nm_backend.h
|
||||
sed -i -e 's|${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}|${TARGET_DBGSRC_DIR}|g' ${B}/src/network/nm/dbus_nm_connection_settings.h
|
||||
}
|
||||
Reference in New Issue
Block a user