1*73bd93f1SPatrick WilliamsSUMMARY = "Interactive process viewer"
2*73bd93f1SPatrick WilliamsHOMEPAGE = "https://htop.dev"
3*73bd93f1SPatrick WilliamsSECTION = "console/utils"
4*73bd93f1SPatrick WilliamsLICENSE = "GPL-2.0-only"
5*73bd93f1SPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6*73bd93f1SPatrick Williams
7*73bd93f1SPatrick WilliamsDEPENDS = "ncurses"
8*73bd93f1SPatrick Williams
9*73bd93f1SPatrick WilliamsSRC_URI = "git://github.com/htop-dev/htop.git;branch=main;protocol=https \
10*73bd93f1SPatrick Williams           file://0001-Use-pkg-config.patch \
11*73bd93f1SPatrick Williams"
12*73bd93f1SPatrick WilliamsSRCREV = "68c970c7ef4a0682760ed570b3d82388ae7ccf54"
13*73bd93f1SPatrick Williams
14*73bd93f1SPatrick WilliamsS = "${WORKDIR}/git"
15*73bd93f1SPatrick Williams
16*73bd93f1SPatrick Williamsinherit autotools pkgconfig
17*73bd93f1SPatrick Williams
18*73bd93f1SPatrick WilliamsPACKAGECONFIG ??= " \
19*73bd93f1SPatrick Williams    unicode \
20*73bd93f1SPatrick Williams    affinity \
21*73bd93f1SPatrick Williams    delayacct \
22*73bd93f1SPatrick Williams"
23*73bd93f1SPatrick WilliamsPACKAGECONFIG[unicode] = "--enable-unicode,--disable-unicode"
24*73bd93f1SPatrick WilliamsPACKAGECONFIG[affinity] = "--enable-affinity,--disable-affinity,,,,hwloc"
25*73bd93f1SPatrick WilliamsPACKAGECONFIG[unwind] = "--enable-unwind,--disable-unwind,libunwind"
26*73bd93f1SPatrick WilliamsPACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc,,,affinity"
27*73bd93f1SPatrick WilliamsPACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz"
28*73bd93f1SPatrick WilliamsPACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver"
29*73bd93f1SPatrick WilliamsPACKAGECONFIG[ancient-vserver] = "--enable-ancient-vserver,--disable-ancient-vserver"
30*73bd93f1SPatrick WilliamsPACKAGECONFIG[capabilities] = "--enable-capabilities,--disable-capabilities,libcap"
31*73bd93f1SPatrick WilliamsPACKAGECONFIG[delayacct] = "--enable-delayacct,--disable-delayacct,libnl"
32*73bd93f1SPatrick WilliamsPACKAGECONFIG[sensors] = "--enable-sensors,--disable-sensors,lmsensors,lmsensors-libsensors"
33*73bd93f1SPatrick Williams
34*73bd93f1SPatrick WilliamsFILES:${PN} += "${datadir}/icons/hicolor/scalable/apps/htop.svg"
35*73bd93f1SPatrick Williams
36*73bd93f1SPatrick WilliamsRDEPENDS:${PN} += "ncurses-terminfo-base"
37