diff --git a/README.md b/README.md index 29d6045..20b3966 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Main layer maintainer: Markus Volk 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 diff --git a/recipes-devtools/python/python-i3ipc_git.bb b/recipes-devtools/python/python-i3ipc_git.bb new file mode 100644 index 0000000..2811b7c --- /dev/null +++ b/recipes-devtools/python/python-i3ipc_git.bb @@ -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}" + diff --git a/recipes-devtools/python/python-xlib.bb b/recipes-devtools/python/python-xlib.bb new file mode 100644 index 0000000..6788600 --- /dev/null +++ b/recipes-devtools/python/python-xlib.bb @@ -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}" + diff --git a/recipes-support/nwg-shell/azote_git.bb b/recipes-support/nwg-shell/azote_git.bb new file mode 100644 index 0000000..1865bbd --- /dev/null +++ b/recipes-support/nwg-shell/azote_git.bb @@ -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} \ +" diff --git a/recipes-support/nwg-shell/nwg-bar_git.bb b/recipes-support/nwg-shell/nwg-bar_git.bb new file mode 100644 index 0000000..3e0cffc --- /dev/null +++ b/recipes-support/nwg-shell/nwg-bar_git.bb @@ -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 +} + diff --git a/recipes-support/nwg-shell/nwg-dock_git.bb b/recipes-support/nwg-shell/nwg-dock_git.bb new file mode 100644 index 0000000..4b27626 --- /dev/null +++ b/recipes-support/nwg-shell/nwg-dock_git.bb @@ -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 +} + diff --git a/recipes-support/nwg-shell/nwg-drawer_git.bb b/recipes-support/nwg-shell/nwg-drawer_git.bb new file mode 100644 index 0000000..06cb6de --- /dev/null +++ b/recipes-support/nwg-shell/nwg-drawer_git.bb @@ -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 +} + diff --git a/recipes-support/nwg-shell/nwg-menu_git.bb b/recipes-support/nwg-shell/nwg-menu_git.bb new file mode 100644 index 0000000..3774fd1 --- /dev/null +++ b/recipes-support/nwg-shell/nwg-menu_git.bb @@ -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 +} + diff --git a/recipes-support/nwg-shell/nwg-panel_git.bb b/recipes-support/nwg-shell/nwg-panel_git.bb new file mode 100644 index 0000000..06e3759 --- /dev/null +++ b/recipes-support/nwg-shell/nwg-panel_git.bb @@ -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" + diff --git a/recipes-support/nwg-shell/nwg-wrapper_git.bb b/recipes-support/nwg-shell/nwg-wrapper_git.bb new file mode 100644 index 0000000..11bc4bc --- /dev/null +++ b/recipes-support/nwg-shell/nwg-wrapper_git.bb @@ -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}" +