mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-04-14 04:46:46 +02:00
sway: adjust after contrib scripts were outsourced
- add sway-contrib recipe
This commit is contained in:
parent
54fb6a1b46
commit
711b20658d
22
recipes-support/sway-contrib/sway-contrib_git.bb
Normal file
22
recipes-support/sway-contrib/sway-contrib_git.bb
Normal 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}"
|
@ -14,7 +14,6 @@ DEPENDS += " \
|
|||||||
cairo \
|
cairo \
|
||||||
libevdev \
|
libevdev \
|
||||||
json-c \
|
json-c \
|
||||||
libdisplay-info \
|
|
||||||
libdrm \
|
libdrm \
|
||||||
libinput \
|
libinput \
|
||||||
libxkbcommon \
|
libxkbcommon \
|
||||||
@ -27,7 +26,7 @@ DEPENDS += " \
|
|||||||
wayland-protocols \
|
wayland-protocols \
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS:${PN} ?= "swaybg python3 python-i3ipc"
|
RDEPENDS:${PN} = "swaybg python3 python-i3ipc"
|
||||||
|
|
||||||
RRECOMMENDS:${PN} ?= " \
|
RRECOMMENDS:${PN} ?= " \
|
||||||
foot \
|
foot \
|
||||||
@ -35,11 +34,12 @@ RRECOMMENDS:${PN} ?= " \
|
|||||||
grim \
|
grim \
|
||||||
slurp \
|
slurp \
|
||||||
wl-clipboard \
|
wl-clipboard \
|
||||||
|
sway-contrib \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/swaywm/sway.git;protocol=https;branch=master"
|
SRC_URI = "git://github.com/swaywm/sway.git;protocol=https;branch=master"
|
||||||
|
|
||||||
SRCREV = "eebbecc7801ea520dd5644b08e884fbe27c2eeda"
|
SRCREV = "bb91b7f5fa7fddb582b8dddf208cc335d39da9e7"
|
||||||
PV = "1.9-dev"
|
PV = "1.9-dev"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
@ -63,12 +63,6 @@ PACKAGECONFIG ?= " \
|
|||||||
|
|
||||||
EXTRA_OEMESON += "--buildtype release"
|
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 = " \
|
FILES:${PN}:append = " \
|
||||||
${datadir} \
|
${datadir} \
|
||||||
"
|
"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user