diff mbox series

[v2] ncdu: New recipe for ncurses disk usage

Message ID dcd2ca2774db611a05497dcb7f5879d45c7bef8a.1773560854.git.joerg.sommer@navimatix.de
State New
Headers show
Series [v2] ncdu: New recipe for ncurses disk usage | expand

Commit Message

Jörg Sommer March 15, 2026, 7:48 a.m. UTC
From: Jörg Sommer <joerg.sommer@navimatix.de>

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
---
Changes since v1:                                                                                                                                              
                                                                                                                                                               
  * added tag=v${PV} to SRC_URI                                                                                                                                 

 meta-oe/recipes-support/ncdu/ncdu_1.22.bb | 25 +++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-support/ncdu/ncdu_1.22.bb
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/ncdu/ncdu_1.22.bb b/meta-oe/recipes-support/ncdu/ncdu_1.22.bb
new file mode 100644
index 0000000000..578ae4a5ed
--- /dev/null
+++ b/meta-oe/recipes-support/ncdu/ncdu_1.22.bb
@@ -0,0 +1,25 @@ 
+SUMMARY = "NCurses Disk Usage"
+DESCRIPTION = "\
+    ncdu is a curses-based version of the well-known 'du', and provides a \
+    fast way to see what directories are using your disk space. \
+"
+HOMEPAGE = "https://dev.yorhel.nl/ncdu"
+BUGTRACKER = "https://code.blicky.net/yorhel/ncdu/issues"
+SECTION = "console/utils"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=fd36a36514d73885d04105f000da9813"
+
+DEPENDS += "ncurses"
+
+SRC_URI += "git://code.blicky.net/yorhel/ncdu.git;protocol=https;branch=master;tag=v${PV}"
+SRCREV = "7a1437389691c4adf1999afce63850c808602f08"
+
+inherit autotools pkgconfig
+
+PACKAGECONFIG ?= "largefile ncursesw year2038"
+
+PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile"
+PACKAGECONFIG[ncurses] = "--with-ncurses,--without-ncurses"
+PACKAGECONFIG[ncursesw] = "--with-ncursesw,--without-ncursesw"
+PACKAGECONFIG[year2038] = "--enable-year2038,--disable-year2038"