hyprland-contrib: drop rofi dependency

This commit is contained in:
Markus Volk 2024-02-28 08:23:00 +01:00
parent db6bbe8bc9
commit 7f6099c0dc

View File

@ -11,13 +11,12 @@ SRCREV = "16884001b26e6955ff4b88b4dfe4c8986e20f153"
PV = "0.1" PV = "0.1"
DEPENDS = "scdoc-native" DEPENDS = "scdoc-native"
RDEPENDS:${PN} = "bash sed jq libnotify grim slurp wl-clipboard ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'rofi', '', d)}" RDEPENDS:${PN} = "bash sed jq libnotify grim slurp wl-clipboard"
EXTRA_OEMAKE += "DESTDIR=${D} PREFIX=${prefix} BINDIR=${D}${bindir} MANDIR=${D}${datadir}/man MAN1DIR=${D}${datadir}/man1" EXTRA_OEMAKE += "DESTDIR=${D} PREFIX=${prefix} BINDIR=${D}${bindir} MANDIR=${D}${datadir}/man MAN1DIR=${D}${datadir}/man1"
x11_scripts = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'scratchpad grimblast', '', d)}"
do_install() { do_install() {
for dir in hyprprop hdrop shellevents try_swap_workspace ${x11_scripts}; do for dir in hyprprop hdrop shellevents try_swap_workspace scratchpad grimblast; do
cd $dir && oe_runmake && oe_runmake install && cd ${S} cd $dir && oe_runmake && oe_runmake install && cd ${S}
done done
} }