From 6e2c42b5f72731048eeb76dc710ed902eeb22628 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 8 Aug 2023 17:42:58 +0200 Subject: [PATCH] hyprland-contrib: add recipe --- .../hyprland-contrib/hyprland-contrib_git.bb | 24 +++++++++++++++++++ recipes-wlroots/hyprland/hyprland_git.bb | 3 +-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 recipes-support/hyprland-contrib/hyprland-contrib_git.bb diff --git a/recipes-support/hyprland-contrib/hyprland-contrib_git.bb b/recipes-support/hyprland-contrib/hyprland-contrib_git.bb new file mode 100644 index 0000000..963e7e9 --- /dev/null +++ b/recipes-support/hyprland-contrib/hyprland-contrib_git.bb @@ -0,0 +1,24 @@ +SUMMARY = "Hyprland Contribution Scripts" +HOMEPAGE = "https:/github.com/hyprwm/contrib" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=a0836e8f0d25d383d1195ea44fdd185d" + +SRC_URI = "git://github.com/hyprwm/contrib.git;protocol=https;branch=main" + +S = "${WORKDIR}/git" +SRCREV = "bef073cff65917ba2d888aa4dc39bd9868e2b0a4" +PV = "0.1" + +DEPENDS = "scdoc-native" +RDEPENDS:${PN} = "bash" + +EXTRA_OEMAKE += "DESTDIR=${D} PREFIX=${prefix} BINDIR=${D}${bindir} MANDIR=${D}${datadir}/man MAN1DIR=${D}${datadir}/man1" + +do_install() { + for dir in grimblast hyprprop scratchpad shellevents try_swap_workspace; do + cd $dir && oe_runmake install && cd ${S} + done +} + +FILES:${PN} = "${bindir} ${datadir}" diff --git a/recipes-wlroots/hyprland/hyprland_git.bb b/recipes-wlroots/hyprland/hyprland_git.bb index 9440218..069f500 100644 --- a/recipes-wlroots/hyprland/hyprland_git.bb +++ b/recipes-wlroots/hyprland/hyprland_git.bb @@ -22,8 +22,6 @@ DEPENDS += " \ wlroots \ " -RDEPENDS:${PN} ?= "" - RRECOMMENDS:${PN} ?= " \ foot \ jq \ @@ -31,6 +29,7 @@ RRECOMMENDS:${PN} ?= " \ slurp \ wl-clipboard \ hyprland-borders-plus-plus \ + hyprland-contrib \ hyprland-csgo-vulkan \ hyprland-hyprbars \ "