2023-08-08 17:42:58 +02:00
|
|
|
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"
|
2024-02-05 12:36:33 +01:00
|
|
|
SRCREV = "16884001b26e6955ff4b88b4dfe4c8986e20f153"
|
2023-08-08 17:42:58 +02:00
|
|
|
PV = "0.1"
|
|
|
|
|
|
|
|
DEPENDS = "scdoc-native"
|
2024-01-06 15:47:29 +01:00
|
|
|
RDEPENDS:${PN} = "bash sed jq libnotify grim slurp wl-clipboard ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'rofi', '', d)}"
|
2023-08-08 17:42:58 +02:00
|
|
|
|
|
|
|
EXTRA_OEMAKE += "DESTDIR=${D} PREFIX=${prefix} BINDIR=${D}${bindir} MANDIR=${D}${datadir}/man MAN1DIR=${D}${datadir}/man1"
|
|
|
|
|
2024-01-06 15:47:29 +01:00
|
|
|
x11_scripts = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'scratchpad grimblast', '', d)}"
|
2023-08-08 17:42:58 +02:00
|
|
|
do_install() {
|
2024-01-06 15:47:29 +01:00
|
|
|
for dir in hyprprop hdrop shellevents try_swap_workspace ${x11_scripts}; do
|
2024-01-02 15:28:13 +01:00
|
|
|
cd $dir && oe_runmake && oe_runmake install && cd ${S}
|
2023-08-08 17:42:58 +02:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
FILES:${PN} = "${bindir} ${datadir}"
|