sway: adjust after contrib scripts were outsourced

- add sway-contrib recipe
This commit is contained in:
Markus Volk 2023-08-06 07:52:41 +02:00
parent 54fb6a1b46
commit 711b20658d
2 changed files with 25 additions and 9 deletions

View File

@ -0,0 +1,22 @@
SUMMARY = "Sway Contribution Scripts"
HOMEPAGE = "https:/github.com/OctopusET/sway-contrib"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1640a047991fe3cbc70d68830888e863"
SRC_URI = "git://github.com/OctopusET/sway-contrib.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
SRCREV = "7e138bfc112872b79ac9fd766bc57c0f125b96d4"
RDEPENDS:${PN} = "python3"
do_install() {
install -d ${D}${bindir}
install -m 755 ${S}/grimshot ${D}${bindir}
install -m 755 ${S}/autoname-workspaces.py ${D}${bindir}
install -m 755 ${S}/inactive-windows-transparency.py ${D}${bindir}
install -m 755 ${S}/switch-top-level.py ${D}${bindir}
}
FILES:${PN} = "${bindir}"

View File

@ -14,7 +14,6 @@ DEPENDS += " \
cairo \
libevdev \
json-c \
libdisplay-info \
libdrm \
libinput \
libxkbcommon \
@ -27,7 +26,7 @@ DEPENDS += " \
wayland-protocols \
"
RDEPENDS:${PN} ?= "swaybg python3 python-i3ipc"
RDEPENDS:${PN} = "swaybg python3 python-i3ipc"
RRECOMMENDS:${PN} ?= " \
foot \
@ -35,11 +34,12 @@ RRECOMMENDS:${PN} ?= " \
grim \
slurp \
wl-clipboard \
sway-contrib \
"
SRC_URI = "git://github.com/swaywm/sway.git;protocol=https;branch=master"
SRCREV = "eebbecc7801ea520dd5644b08e884fbe27c2eeda"
SRCREV = "bb91b7f5fa7fddb582b8dddf208cc335d39da9e7"
PV = "1.9-dev"
S = "${WORKDIR}/git"
@ -63,12 +63,6 @@ PACKAGECONFIG ?= " \
EXTRA_OEMESON += "--buildtype release"
do_install:append() {
install -m 755 ${S}/contrib/grimshot ${D}${bindir}
install -m 755 ${S}/contrib/autoname-workspaces.py ${D}${bindir}
install -m 755 ${S}/contrib/inactive-windows-transparency.py ${D}${bindir}
}
FILES:${PN}:append = " \
${datadir} \
"