blob: 7854c7bebe4798b613d6312c1d775d57b4f7394b [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "Interactive process viewer"
Andrew Geisslerd688a012020-09-18 13:36:00 -05002HOMEPAGE = "https://htop.dev"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08003SECTION = "console/utils"
4LICENSE = "GPLv2"
Andrew Geisslerd688a012020-09-18 13:36:00 -05005LIC_FILES_CHKSUM = "file://COPYING;md5=4099d367cd5e59b6d4fc1ee33accb891"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08006
7DEPENDS = "ncurses"
8
Andrew Geisslerd688a012020-09-18 13:36:00 -05009SRC_URI = "git://github.com/htop-dev/htop.git \
Brad Bishop996bc452019-12-02 13:05:15 -050010 file://0001-Use-pkg-config.patch \
Brad Bishop996bc452019-12-02 13:05:15 -050011 "
Andrew Geisslereef63862021-01-29 15:58:13 -060012SRCREV = "ce6d60e7def146c13d0b8bca4642e7401a0a8995"
Andrew Geisslerd688a012020-09-18 13:36:00 -050013
14S = "${WORKDIR}/git"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015
16inherit autotools pkgconfig
17
Andrew Geisslereef63862021-01-29 15:58:13 -060018PACKAGECONFIG ??= " \
19 unicode \
20 linux-affinity \
21 delayacct \
22"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080023PACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080024PACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver"
Andrew Geisslereef63862021-01-29 15:58:13 -060025PACKAGECONFIG[ancient-vserver] = "--enable-ancient-vserver,--disable-ancient-vserver"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080026PACKAGECONFIG[unicode] = "--enable-unicode,--disable-unicode"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027PACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc"
Andrew Geisslereef63862021-01-29 15:58:13 -060028PACKAGECONFIG[linux-affinity] = "--enable-linux-affinity,--disable-linux-affinity"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080029PACKAGECONFIG[setuid] = "--enable-setuid,--disable-setuid"
30PACKAGECONFIG[delayacct] = "--enable-delayacct,--disable-delayacct,libnl"
Andrew Geisslereef63862021-01-29 15:58:13 -060031PACKAGECONFIG[sensors] = "--with-sensors,--without-sensors,lmsensors,lmsensors-libsensors"
32
Patrick Williams213cb262021-08-07 19:21:33 -050033FILES:${PN} += "${datadir}/icons/hicolor/scalable/apps/htop.svg"
34
35RDEPENDS:${PN} += "ncurses-terminfo-base"