xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/htop/htop_3.1.2.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Interactive process viewer"
2*4882a593SmuzhiyunHOMEPAGE = "https://htop.dev"
3*4882a593SmuzhiyunSECTION = "console/utils"
4*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunDEPENDS = "ncurses"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunSRC_URI = "git://github.com/htop-dev/htop.git;branch=main;protocol=https \
10*4882a593Smuzhiyun           file://0001-Use-pkg-config.patch \
11*4882a593Smuzhiyun"
12*4882a593SmuzhiyunSRCREV = "d73783d6dbec4a8d9d20d744bf2b5e6a7073aa46"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunS = "${WORKDIR}/git"
15*4882a593Smuzhiyun
16*4882a593Smuzhiyuninherit autotools pkgconfig
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunPACKAGECONFIG ??= " \
19*4882a593Smuzhiyun    unicode \
20*4882a593Smuzhiyun    affinity \
21*4882a593Smuzhiyun    delayacct \
22*4882a593Smuzhiyun"
23*4882a593SmuzhiyunPACKAGECONFIG[unicode] = "--enable-unicode,--disable-unicode"
24*4882a593SmuzhiyunPACKAGECONFIG[affinity] = "--enable-affinity,--disable-affinity,,,,hwloc"
25*4882a593SmuzhiyunPACKAGECONFIG[unwind] = "--enable-unwind,--disable-unwind,libunwind"
26*4882a593SmuzhiyunPACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc,,,affinity"
27*4882a593SmuzhiyunPACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz"
28*4882a593SmuzhiyunPACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver"
29*4882a593SmuzhiyunPACKAGECONFIG[ancient-vserver] = "--enable-ancient-vserver,--disable-ancient-vserver"
30*4882a593SmuzhiyunPACKAGECONFIG[capabilities] = "--enable-capabilities,--disable-capabilities,libcap"
31*4882a593SmuzhiyunPACKAGECONFIG[delayacct] = "--enable-delayacct,--disable-delayacct,libnl"
32*4882a593SmuzhiyunPACKAGECONFIG[sensors] = "--enable-sensors,--disable-sensors,lmsensors,lmsensors-libsensors"
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunFILES:${PN} += "${datadir}/icons/hicolor/scalable/apps/htop.svg"
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunRDEPENDS:${PN} += "ncurses-terminfo-base"
37