nwg-shell: add nwg-shell recipes and friends

This commit is contained in:
Markus Volk 2021-07-23 18:08:38 +02:00
parent ac2bda211c
commit 59fa7f4dd5
10 changed files with 235 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Main layer maintainer: Markus Volk <f_l_k@t-online.de>
Description
This layer adds recipes to build wlroots based compositors under wayland.
It contains wlroots, sway, wayfire and some additional recipes that might come useful.
It contains wlroots, sway, wayfire, nwg-shell and some additional recipes that might come useful.
Dependencies

View File

@ -0,0 +1,19 @@
SUMMARY = "An improved Python library to control i3wm and sway."
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3961efb54421653518521529853444c4"
SRC_URI = " \
git://github.com/altdesktop/i3ipc-python.git;protocol=https \
"
RDEPENDS_${PN} = " \
python3 \
python-xlib \
"
inherit setuptools3
S = "${WORKDIR}/git"
PV = "2.2.1"
SRCREV = "v${PV}"

View File

@ -0,0 +1,21 @@
SUMMARY = "The Python X Library."
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
SRC_URI = " \
git://github.com/python-xlib/python-xlib.git;protocol=https \
"
DEPENDS = " \
python3 \
python3-six \
python3-wheel-native \
python3-pip-native \
"
inherit setuptools3
S = "${WORKDIR}/git"
PV = "0.31"
SRCREV = "${PV}"

View File

@ -0,0 +1,41 @@
SUMMARY = "Azote is a GTK+3 based frontend for swaybg."
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
SRC_URI = " \
git://github.com/nwg-piotr/azote.git;protocol=https \
"
RDEPENDS_${PN} = " \
python3 \
gtk+3 \
python3-pygobject \
python3-pycairo \
python3-pillow \
python3-pkg-resources \
python3-send2trash \
imagemagick \
grim \
slurp \
swaybg \
"
inherit setuptools3
S = "${WORKDIR}/git"
PV = "1.9.1"
SRCREV = "v${PV}"
do_install_append() {
install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications
install -m 755 ${S}/dist/azote ${D}${bindir}
install -m 644 ${S}/dist/azote.desktop ${D}${datadir}/applications
install -m 644 ${S}/dist/azote.svg ${D}${datadir}/pixmaps
install -m 644 ${S}/dist/indicator_active.png ${D}${datadir}/azote
install -m 644 ${S}/dist/indicator_attention.png ${D}${datadir}/azote
}
FILES_${PN}_append = " \
${datadir} \
${bindir} \
"

View File

@ -0,0 +1,26 @@
SUMMARY = "nwg-bar for wlroots based compositors."
DESCRIPTION = "The nwg-bar command creates a button bar on the basis of a JSON template placed in the ~/.config/nwg-bar/ folder."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=fffa55ad1c828db5e334374fb1182530"
DEPENDS = " \
gtk+3 \
gtk-layer-shell \
"
GO_IMPORT = "github.com/nwg-piotr/nwg-bar.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1"
PV = "0.0.1"
SRCREV = "v${PV}"
inherit go go-mod
GO_INSTALL = "${GO_IMPORT}"
do_install_append() {
# remove precompiled x86 binary
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
}

View File

@ -0,0 +1,25 @@
SUMMARY = "GTK3-based dock for wlroots based compositors."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=fffa55ad1c828db5e334374fb1182530"
DEPENDS = " \
gtk+3 \
gtk-layer-shell \
"
GO_IMPORT = "github.com/nwg-piotr/nwg-dock.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1"
PV = "0.1.5"
SRCREV = "v${PV}"
inherit go go-mod
GO_INSTALL = "${GO_IMPORT}"
do_install_append() {
# remove precompiled x86 binary
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
}

View File

@ -0,0 +1,30 @@
SUMMARY = "GTK3-based application launcher for wlroots based compositors."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=fffa55ad1c828db5e334374fb1182530"
DEPENDS = " \
gtk+3 \
gtk-layer-shell \
"
RRECOMMENDS_${PN} = " \
thunar \
foot \
"
GO_IMPORT = "github.com/nwg-piotr/nwg-drawer.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1"
PV = "0.1.4"
SRCREV = "v${PV}"
inherit go go-mod
GO_INSTALL = "${GO_IMPORT}"
do_install_append() {
# remove precompiled x86 binary
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
}

View File

@ -0,0 +1,32 @@
SUMMARY = "MenuStart plugin to nwg-panel."
DESCRIPTION = "This code provides the MenuStart plugin to nwg-panel. It \
also may be used standalone with a little help from command line arguments."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=fffa55ad1c828db5e334374fb1182530"
DEPENDS = " \
gtk+3 \
gtk-layer-shell \
"
RRECOMMENDS_${PN} = " \
thunar \
foot \
"
GO_IMPORT = "github.com/nwg-piotr/nwg-menu.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1"
PV = "0.1.1"
SRCREV = "v${PV}"
inherit go go-mod
GO_INSTALL = "${GO_IMPORT}"
do_install_append() {
# remove precompiled x86 binary
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
}

View File

@ -0,0 +1,23 @@
SUMMARY = "GTK3-based panel for wayland."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fffa55ad1c828db5e334374fb1182530"
SRC_URI = " \
git://github.com/nwg-piotr/nwg-panel.git;protocol=https \
"
RDEPENDS_${PN} = "\
python3 \
python3-pygobject \
python3-psutil \
python-i3ipc \
"
inherit setuptools3
S = "${WORKDIR}/git"
PV = "0.3.3"
SRCREV = "v${PV}"
INSANE_SKIP_${PN} = "file-rdeps"

View File

@ -0,0 +1,17 @@
SUMMARY = "GTK3-based wrapper to display a script output, or a text file content on the desktop in wlroots-based compositors."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fffa55ad1c828db5e334374fb1182530"
SRC_URI = " \
git://github.com/nwg-piotr/nwg-wrapper.git;protocol=https \
"
DEPENDS = "python3"
RDEPENDS_${PN} = "python3-pygobject"
inherit setuptools3 gobject-introspection
S = "${WORKDIR}/git"
PV = "0.0.2"
SRCREV = "v${PV}"