mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-12 22:14:30 +02:00
nwg-shell: add nwg-shell recipes and friends
This commit is contained in:
41
recipes-support/nwg-shell/azote_git.bb
Normal file
41
recipes-support/nwg-shell/azote_git.bb
Normal 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} \
|
||||
"
|
26
recipes-support/nwg-shell/nwg-bar_git.bb
Normal file
26
recipes-support/nwg-shell/nwg-bar_git.bb
Normal 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
|
||||
}
|
||||
|
25
recipes-support/nwg-shell/nwg-dock_git.bb
Normal file
25
recipes-support/nwg-shell/nwg-dock_git.bb
Normal 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
|
||||
}
|
||||
|
30
recipes-support/nwg-shell/nwg-drawer_git.bb
Normal file
30
recipes-support/nwg-shell/nwg-drawer_git.bb
Normal 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
|
||||
}
|
||||
|
32
recipes-support/nwg-shell/nwg-menu_git.bb
Normal file
32
recipes-support/nwg-shell/nwg-menu_git.bb
Normal 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
|
||||
}
|
||||
|
23
recipes-support/nwg-shell/nwg-panel_git.bb
Normal file
23
recipes-support/nwg-shell/nwg-panel_git.bb
Normal 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"
|
||||
|
17
recipes-support/nwg-shell/nwg-wrapper_git.bb
Normal file
17
recipes-support/nwg-shell/nwg-wrapper_git.bb
Normal 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}"
|
||||
|
Reference in New Issue
Block a user