sway: install grimshot and add runtime deoendencies

This commit is contained in:
Markus Volk 2021-07-24 13:39:36 +02:00
parent 0ed0111597
commit da0eeefcf1
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,21 @@
SUMMARY = "jq is a lightweight and flexible command-line JSON processor."
HOMEPAGE = "https://github.com/stedolan/jq"
BUGTRACKER = "https://github.com/stedolan/jq/issues"
SECTION = "dev"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=31752b4a8edd3fb9ddba1cb90fada74d"
SRC_URI = " \
git://github.com/stedolan/jq;protocol=https;nobranch=1 \
"
S = "${WORKDIR}/git"
PV = "1.6"
SRCREV = "jq-${PV}"
inherit autotools
do_configure_prepend() {
autoreconf -f
}

View File

@ -1,3 +1,4 @@
SUMMARY = "A Wayland WM" SUMMARY = "A Wayland WM"
HOMEPAGE = "https://github.com/swaywm/sway" HOMEPAGE = "https://github.com/swaywm/sway"
BUGTRACKER = "https://github.com/swaywm/sway/issues" BUGTRACKER = "https://github.com/swaywm/sway/issues"
@ -29,6 +30,10 @@ RDEPENDS_${PN} ?= "swaybg"
RRECOMMENDS_${PN} ?= " \ RRECOMMENDS_${PN} ?= " \
foot \ foot \
jq \
grim \
slurp \
wl-clipboard \
" "
SRC_URI = " \ SRC_URI = " \
@ -57,6 +62,10 @@ PACKAGECONFIG ?= " \
EXTRA_OEMESON += "--buildtype release" EXTRA_OEMESON += "--buildtype release"
do_install_append() {
install -m 755 ${S}/contrib/grimshot ${D}${bindir}
}
FILES_${PN}_append = " \ FILES_${PN}_append = " \
${datadir} \ ${datadir} \
" "