From 01c80c3f1819aff10f51c6cafa468b90f5dfcb82 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Sun, 5 Sep 2021 07:23:07 +0800 Subject: uhubctl: upgrade 2.3.0 -> 2.4.0 Support for toggle action (turn power on or off opposite to current power state) b99a080. More sane error reporting when we enumerate devices which lack permissions 9b5efa0. Allow pkg-config override to make some build systems (e.g. chromium OS) happier 92736a8. Even more supported devices. Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj --- meta-oe/recipes-support/uhubctl/uhubctl_2.3.0.bb | 21 --------------------- meta-oe/recipes-support/uhubctl/uhubctl_2.4.0.bb | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 meta-oe/recipes-support/uhubctl/uhubctl_2.3.0.bb create mode 100644 meta-oe/recipes-support/uhubctl/uhubctl_2.4.0.bb (limited to 'meta-oe/recipes-support/uhubctl') diff --git a/meta-oe/recipes-support/uhubctl/uhubctl_2.3.0.bb b/meta-oe/recipes-support/uhubctl/uhubctl_2.3.0.bb deleted file mode 100644 index 9926ad4f0..000000000 --- a/meta-oe/recipes-support/uhubctl/uhubctl_2.3.0.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "USB hub per-port power control" -HOMEPAGE = "https://github.com/mvp/uhubctl" -BUGTRACKER = "https://github.com/mvp/uhubctl/issues" -DEPENDS = "libusb1" - -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -SRCREV = "1b52efddbd68b4395df3ac9cd10eeb984af22439" -SRC_URI = "git://github.com/mvp/${BPN}" -S = "${WORKDIR}/git" - -# uhubctl gets its program version from "git describe". As we use the source -# archive do reduce download size replace the call with our hardcoded version. -do_configure:append() { - sed -i "s/^\(GIT_VERSION :=\).*$/\1 ${PV}/g" ${S}/Makefile -} - -do_install () { - oe_runmake install DESTDIR=${D} -} diff --git a/meta-oe/recipes-support/uhubctl/uhubctl_2.4.0.bb b/meta-oe/recipes-support/uhubctl/uhubctl_2.4.0.bb new file mode 100644 index 000000000..44aeaed09 --- /dev/null +++ b/meta-oe/recipes-support/uhubctl/uhubctl_2.4.0.bb @@ -0,0 +1,21 @@ +SUMMARY = "USB hub per-port power control" +HOMEPAGE = "https://github.com/mvp/uhubctl" +BUGTRACKER = "https://github.com/mvp/uhubctl/issues" +DEPENDS = "libusb1" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRCREV = "014b55ac5d1d7fb46a8f1eefe9fc3b87ea65a75f" +SRC_URI = "git://github.com/mvp/${BPN}" +S = "${WORKDIR}/git" + +# uhubctl gets its program version from "git describe". As we use the source +# archive do reduce download size replace the call with our hardcoded version. +do_configure:append() { + sed -i "s/^\(GIT_VERSION :=\).*$/\1 ${PV}/g" ${S}/Makefile +} + +do_install () { + oe_runmake install DESTDIR=${D} +} -- cgit v1.2.3-54-g00ecf