diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-09-27 14:09:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-28 08:01:10 +0100 |
commit | afefe7de281e558ed823460f80ddc631e718feb3 (patch) | |
tree | 69cc46fb93265fcbc2bcf9064829b088fa2dbed5 /meta/recipes-support/libusb | |
parent | 35708f8860adbf51549b2b2b07c176ba34eed812 (diff) | |
download | poky-afefe7de281e558ed823460f80ddc631e718feb3.tar.gz |
meta: fix version checks in all github recipes using the github-releases class
(From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libusb')
-rw-r--r-- | meta/recipes-support/libusb/libusb1_1.0.26.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-support/libusb/libusb1_1.0.26.bb b/meta/recipes-support/libusb/libusb1_1.0.26.bb index fd63e7adc2..7371faf017 100644 --- a/meta/recipes-support/libusb/libusb1_1.0.26.bb +++ b/meta/recipes-support/libusb/libusb1_1.0.26.bb | |||
@@ -10,17 +10,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | |||
10 | 10 | ||
11 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
12 | 12 | ||
13 | SRC_URI = "https://github.com/libusb/libusb/releases/download/v${PV}/libusb-${PV}.tar.bz2 \ | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libusb-${PV}.tar.bz2 \ |
14 | file://run-ptest \ | 14 | file://run-ptest \ |
15 | " | 15 | " |
16 | 16 | ||
17 | UPSTREAM_CHECK_URI = "https://github.com/libusb/libusb/releases" | 17 | GITHUB_BASE_URI = "https://github.com/libusb/libusb/releases" |
18 | 18 | ||
19 | SRC_URI[sha256sum] = "12ce7a61fc9854d1d2a1ffe095f7b5fac19ddba095c259e6067a46500381b5a5" | 19 | SRC_URI[sha256sum] = "12ce7a61fc9854d1d2a1ffe095f7b5fac19ddba095c259e6067a46500381b5a5" |
20 | 20 | ||
21 | S = "${WORKDIR}/libusb-${PV}" | 21 | S = "${WORKDIR}/libusb-${PV}" |
22 | 22 | ||
23 | inherit autotools pkgconfig ptest | 23 | inherit autotools pkgconfig ptest github-releases |
24 | 24 | ||
25 | PACKAGECONFIG:class-target ??= "udev" | 25 | PACKAGECONFIG:class-target ??= "udev" |
26 | PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev" | 26 | PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev" |