On Sat, Oct 14, 2023 at 10:11 PM Jan Claußen <jan.clausse...@web.de> wrote:
>
> Another thing is that btop is dependent on a utf-8 locale being set. You can 
> still run it with the --force-utf8 flag though. Should this be set by the 
> recipe as well?
>
> On Okt. 14 2023, at 11:06 pm, Jan Claußen <jan.clausse...@web.de> wrote:
>
> Hi guys,
>
> I would like to add btop to the openembedded-core. The package does now 
> support cmake, which eases the maintenance effort.
> Before it would have involved a lot of patching as seen here. The Cmake 
> support is listed as community maintained though, if that is a show stopper.
>

Feels more like meta-oe rather than oe-core (and the recipe path you
have suggests that's what you intended!)

> tree 7370f6d34c4f1a7d3aed8ef4dc334de1e271e4b3
> parent d59f6c752927f7846dc11c4aa00a2d0c9860e75c
> author Jan Claußen <jan.clausse...@web.de> Sat Oct 14 22:56:45 2023 +0200
> committer Jan Claußen <jan.clausse...@web.de> Sat Oct 14 22:56:45 2023 +0200
>
> recipes-support: Add btop
>
>
> diff --git a/meta-oe/recipes-support/btop/btop_1.2.13.bb 
> b/meta-oe/recipes-support/btop/btop_1.2.13.bb
> new file mode 100644
> index 000000000..f780a993a
> --- /dev/null
> +++ b/meta-oe/recipes-support/btop/btop_1.2.13.bb
> @@ -0,0 +1,23 @@
> +SUMMARY = "Resource monitor that shows usage and stats for processor, 
> memory, disks, network and processes."
> +HOMEPAGE = "https://github.com/aristocratos/btop";
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> +SECTION = "console/utils"
> +
> +SRC_URI = "git://github.com/aristocratos/btop.git;protocol=https;branch=main"
> +SRCREV = "2a864f6f2ea60df16b3f015885eb3c18a48b9b78"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake
> +
> +FILES:${PN} += " \
> +    /usr/share/icons \

You only need the top level directory as the packaging recursively
globs. Also this should be ${datadir}/icons

> +    /usr/share/icons/hicolor \
> +    /usr/share/icons/hicolor/48x48 \
> +    /usr/share/icons/hicolor/scalable \
> +    /usr/share/icons/hicolor/48x48/apps \
> +    /usr/share/icons/hicolor/48x48/apps/btop.png \
> +    /usr/share/icons/hicolor/scalable/apps \
> +    /usr/share/icons/hicolor/scalable/apps/btop.svg \
> +"
>
>
>
> 
>


-- 
Alex Kiernan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#189270): 
https://lists.openembedded.org/g/openembedded-core/message/189270
Mute This Topic: https://lists.openembedded.org/mt/101967134/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to