mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
This update was made with the convert-scruri.py script in scripts/contrib
This script handles two emerging issues:
1. There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.
2. Github are dropping support for git:// protocol fetching, so remap github
urls as needed. For more details see:
https://github.blog/2021-09-01-improving-git-protocol-security-github/
(From OE-Core rev: 827a805349f9732b2a5fa9184dc7922af36de327)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
1.2 KiB
BlitzBasic
34 lines
1.2 KiB
BlitzBasic
SUMMARY = "Power usage tool"
|
|
DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management."
|
|
HOMEPAGE = "https://01.org/powertop/"
|
|
BUGTRACKER = "https://app.devzing.com/powertopbugs/bugzilla"
|
|
DEPENDS = "ncurses libnl pciutils autoconf-archive"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
|
|
|
|
SRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master \
|
|
file://0001-wakeup_xxx.h-include-limits.h.patch \
|
|
file://0002-configure.ac-ax_add_fortify_source.patch \
|
|
file://0003-configure-Use-AX_REQUIRE_DEFINED.patch \
|
|
"
|
|
SRCREV = "e8765b5475b22b7a2b6e9e8a031c68a268a0b0b3"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit autotools gettext pkgconfig
|
|
|
|
# we do not want libncursesw if we can
|
|
do_configure_prepend() {
|
|
# configure.ac checks for delwin() in "ncursesw ncurses" so let's drop first one
|
|
sed -i -e "s/ncursesw//g" ${S}/configure.ac
|
|
mkdir -p ${B}/src/tuning/
|
|
echo "${PV}" > ${S}/version-long
|
|
echo "${PV}" > ${S}/version-short
|
|
}
|
|
|
|
inherit update-alternatives
|
|
ALTERNATIVE_${PN} = "powertop"
|
|
ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop"
|
|
ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop"
|
|
ALTERNATIVE_PRIORITY = "100"
|