mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-26 05:28:23 +01:00
use dynamic-layers and add some qt recipes
This commit is contained in:
parent
24ce1b3554
commit
5e3040acf6
@ -14,3 +14,8 @@ LAYERDEPENDS_wayland = " \
|
||||
core \
|
||||
openembedded-layer \
|
||||
"
|
||||
|
||||
BBFILES_DYNAMIC += " \
|
||||
qt6-layer:${LAYERDIR}/dynamic-layers/meta-qt6/*/*/*.bb \
|
||||
qt6-layer:${LAYERDIR}/dynamic-layers/meta-qt6/*/*/*.bbappend \
|
||||
"
|
||||
|
@ -0,0 +1,17 @@
|
||||
SUMMARY = "A native style to bend Qt5/Qt6 applications to look like they belong into GNOME Shell.."
|
||||
HOMEPAGE = "https://github.com/FedoraQt/adwaita-qt"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
|
||||
|
||||
DEPENDS = "qtbase"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
EXTRA_OECMAKE += "-DUSE_QT6=ON"
|
||||
|
||||
SRC_URI = "git://github.com/FedoraQt/adwaita-qt.git;protocol=https;nobranch=1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "07859143fd733cfefae687f6967795c7f50d4ca8"
|
||||
|
||||
FILES:${PN} += "${libdir}/plugins/styles/adwaita.so"
|
@ -0,0 +1,19 @@
|
||||
SUMMARY = "Share picker for hyprlands screenshot/screencast xdg-desktop-portal backend"
|
||||
HOMEPAGE = "https://github.com/hyprwm/xdg-desktop-portal-hyprland"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://../LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
|
||||
|
||||
# Note: meta-qt6 is needed
|
||||
DEPENDS = "qtbase"
|
||||
RDEPENDS:${PN} = "qtwayland"
|
||||
RRECOMMENDS:${PN} = "adwaita-qt"
|
||||
|
||||
inherit qt6-cmake features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl wayland"
|
||||
|
||||
SRC_URI = "git://github.com/hyprwm/xdg-desktop-portal-hyprland.git;protocol=https;nobranch=1"
|
||||
|
||||
S = "${WORKDIR}/git/hyprland-share-picker"
|
||||
SRCREV = "198d019583e332653d4e8dcca9439817b39b6a20"
|
||||
PV = "0.2.1"
|
@ -0,0 +1,35 @@
|
||||
SUMMARY = "This provides screenshot/screencast xdg-desktop-portal backends for hyprland."
|
||||
HOMEPAGE = "https://github.com/hyprwm/xdg-desktop-portal-hyprland"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
|
||||
|
||||
# Note: meta-qt6 is needed
|
||||
DEPENDS = " \
|
||||
wayland \
|
||||
wayland-native \
|
||||
wayland-protocols \
|
||||
libdrm \
|
||||
libinih \
|
||||
util-linux \
|
||||
pipewire \
|
||||
virtual/libgbm \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} = "hyprland-share-picker"
|
||||
RCONFLICTS:${PN} = "xdg-desktop-portal-wlr xdg-desktop-portal-gnome"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
REQUIRED_DISTRO_FEATURES = "opengl wayland"
|
||||
|
||||
SRC_URI = "gitsm://github.com/hyprwm/xdg-desktop-portal-hyprland.git;protocol=https;nobranch=1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "4d9ff0c17716936e0b5ca577a39e263633901ed1"
|
||||
PV = "0.4.0"
|
||||
|
||||
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'basu', d)}"
|
||||
|
||||
PACKAGECONFIG[systemd] = "-Dsystemd=enabled -Dsd-bus-provider=libsystemd,-Dsystemd=disabled,systemd"
|
||||
PACKAGECONFIG[basu] = "-Dsd-bus-provider=basu,,basu"
|
||||
|
||||
FILES:${PN} += "${systemd_user_unitdir} ${datadir}"
|
Loading…
Reference in New Issue
Block a user