Сравнение powertop-2.15 с powertop-9999
/usr/portage/sys-power/powertop/powertop-9999.ebuild 2024-07-02 13:51:49.441851595 +0300 | ||
---|---|---|
9 | 9 |
GIT_ECLASS="git-r3" |
10 | 10 |
else |
11 | 11 |
SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
12 |
KEYWORDS="amd64 arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" |
|
12 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" |
|
13 | 13 |
fi |
14 | 14 | |
15 |
inherit autotools ${GIT_ECLASS} flag-o-matic linux-info |
|
15 |
inherit autotools ${GIT_ECLASS} linux-info |
|
16 | 16 | |
17 | 17 |
DESCRIPTION="tool to diagnose issues with power consumption and power management" |
18 | 18 |
HOMEPAGE="https://github.com/fenrus75/powertop/" |
19 | 19 | |
20 | 20 |
LICENSE="GPL-2" |
21 | 21 |
SLOT="0" |
22 |
IUSE="nls X" |
|
22 |
IUSE="nls unicode X" |
|
23 | 23 | |
24 | 24 |
DEPEND=" |
25 | 25 |
dev-libs/libnl:3 |
26 | 26 |
sys-apps/pciutils |
27 |
sys-libs/ncurses:=[unicode(+)] |
|
27 |
sys-libs/ncurses:=[unicode(+)?] |
|
28 | 28 |
" |
29 | 29 | |
30 | 30 |
BDEPEND=" |
... | ... | |
38 | 38 |
virtual/libintl |
39 | 39 |
" |
40 | 40 | |
41 |
PATCHES=( |
|
42 |
"${FILESDIR}"/${PN}-2.8-ncurses_tinfo.patch |
|
43 |
"${FILESDIR}"/${PN}-2.15-gettext.patch |
|
44 |
) |
|
45 | ||
46 | 41 |
pkg_setup() { |
47 | 42 |
CONFIG_CHECK=" |
48 | 43 |
~X86_MSR |
... | ... | |
108 | 103 |
} |
109 | 104 | |
110 | 105 |
src_configure() { |
111 |
append-lfs-flags |
|
106 |
export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses) |
|
112 | 107 |
econf $(use_enable nls) |
113 | 108 |
} |