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-core | |
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-core')
-rw-r--r-- | meta/recipes-core/expat/expat_2.4.9.bb | 7 | ||||
-rw-r--r-- | meta/recipes-core/libcgroup/libcgroup_3.0.0.bb | 6 | ||||
-rw-r--r-- | meta/recipes-core/udev/eudev_3.2.11.bb | 7 |
3 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-core/expat/expat_2.4.9.bb b/meta/recipes-core/expat/expat_2.4.9.bb index cb007708c7..9561edd84f 100644 --- a/meta/recipes-core/expat/expat_2.4.9.bb +++ b/meta/recipes-core/expat/expat_2.4.9.bb | |||
@@ -8,11 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7b3b078238d0901d3b339289117cb7fb" | |||
8 | 8 | ||
9 | VERSION_TAG = "${@d.getVar('PV').replace('.', '_')}" | 9 | VERSION_TAG = "${@d.getVar('PV').replace('.', '_')}" |
10 | 10 | ||
11 | SRC_URI = "https://github.com/libexpat/libexpat/releases/download/R_${VERSION_TAG}/expat-${PV}.tar.bz2 \ | 11 | SRC_URI = "${GITHUB_BASE_URI}/download/R_${VERSION_TAG}/expat-${PV}.tar.bz2 \ |
12 | file://run-ptest \ | 12 | file://run-ptest \ |
13 | " | 13 | " |
14 | 14 | ||
15 | UPSTREAM_CHECK_URI = "https://github.com/libexpat/libexpat/releases/" | 15 | GITHUB_BASE_URI = "https://github.com/libexpat/libexpat/releases/" |
16 | UPSTREAM_CHECK_REGEX = "releases/tag/R_(?P<pver>.+)" | ||
16 | 17 | ||
17 | SRC_URI[sha256sum] = "7f44d1469b110773a94b0d5abeeeffaef79f8bd6406b07e52394bcf48126437a" | 18 | SRC_URI[sha256sum] = "7f44d1469b110773a94b0d5abeeeffaef79f8bd6406b07e52394bcf48126437a" |
18 | 19 | ||
@@ -20,7 +21,7 @@ EXTRA_OECMAKE:class-native += "-DEXPAT_BUILD_DOCS=OFF" | |||
20 | 21 | ||
21 | RDEPENDS:${PN}-ptest += "bash" | 22 | RDEPENDS:${PN}-ptest += "bash" |
22 | 23 | ||
23 | inherit cmake lib_package ptest | 24 | inherit cmake lib_package ptest github-releases |
24 | 25 | ||
25 | do_install_ptest:class-target() { | 26 | do_install_ptest:class-target() { |
26 | install -m 755 ${B}/tests/* ${D}${PTEST_PATH} | 27 | install -m 755 ${B}/tests/* ${D}${PTEST_PATH} |
diff --git a/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb b/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb index f3e841246f..9937a17fb5 100644 --- a/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb +++ b/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb | |||
@@ -7,16 +7,16 @@ SECTION = "libs" | |||
7 | LICENSE = "LGPL-2.1-only" | 7 | LICENSE = "LGPL-2.1-only" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=4d794c5d710e5b3547a6cc6a6609a641" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=4d794c5d710e5b3547a6cc6a6609a641" |
9 | 9 | ||
10 | inherit autotools pkgconfig | 10 | inherit autotools pkgconfig github-releases |
11 | 11 | ||
12 | DEPENDS = "bison-native flex-native" | 12 | DEPENDS = "bison-native flex-native" |
13 | 13 | ||
14 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v3.0/${BP}.tar.gz \ | 14 | SRC_URI = "${GITHUB_BASE_URI}/download/v3.0/${BP}.tar.gz \ |
15 | file://0001-api-Use-GNU-strerror_r-when-available.patch \ | 15 | file://0001-api-Use-GNU-strerror_r-when-available.patch \ |
16 | " | 16 | " |
17 | UPSTREAM_CHECK_URI = "https://github.com/libcgroup/libcgroup/tags" | ||
17 | 18 | ||
18 | SRC_URI[sha256sum] = "8d284d896fca1c981b55850e92acd3ad9648a69227c028dda7ae3402af878edd" | 19 | SRC_URI[sha256sum] = "8d284d896fca1c981b55850e92acd3ad9648a69227c028dda7ae3402af878edd" |
19 | UPSTREAM_CHECK_URI = "https://github.com/libcgroup/libcgroup/releases/" | ||
20 | 20 | ||
21 | DEPENDS:append:libc-musl = " fts " | 21 | DEPENDS:append:libc-musl = " fts " |
22 | EXTRA_OEMAKE:append:libc-musl = " LIBS=-lfts" | 22 | EXTRA_OEMAKE:append:libc-musl = " LIBS=-lfts" |
diff --git a/meta/recipes-core/udev/eudev_3.2.11.bb b/meta/recipes-core/udev/eudev_3.2.11.bb index bc2c77de89..eba36c2f91 100644 --- a/meta/recipes-core/udev/eudev_3.2.11.bb +++ b/meta/recipes-core/udev/eudev_3.2.11.bb | |||
@@ -9,7 +9,7 @@ DEPENDS = "gperf-native" | |||
9 | 9 | ||
10 | PROVIDES = "udev" | 10 | PROVIDES = "udev" |
11 | 11 | ||
12 | SRC_URI = "https://github.com/eudev-project/${BPN}/releases/download/v${PV}/${BP}.tar.gz \ | 12 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \ |
13 | file://init \ | 13 | file://init \ |
14 | file://local.rules \ | 14 | file://local.rules \ |
15 | file://0001-build-Remove-dead-g-i-r-configuration.patch \ | 15 | file://0001-build-Remove-dead-g-i-r-configuration.patch \ |
@@ -17,10 +17,9 @@ SRC_URI = "https://github.com/eudev-project/${BPN}/releases/download/v${PV}/${BP | |||
17 | 17 | ||
18 | SRC_URI[sha256sum] = "19847cafec67897da855fde56f9dc7d92e21c50e450aa79068a7e704ed44558b" | 18 | SRC_URI[sha256sum] = "19847cafec67897da855fde56f9dc7d92e21c50e450aa79068a7e704ed44558b" |
19 | 19 | ||
20 | UPSTREAM_CHECK_URI = "https://github.com/eudev-project/eudev/releases" | 20 | GITHUB_BASE_URI = "https://github.com/eudev-project/eudev/releases" |
21 | UPSTREAM_CHECK_REGEX = "eudev-(?P<pver>\d+(\.\d+)+)\.tar" | ||
22 | 21 | ||
23 | inherit autotools update-rc.d qemu pkgconfig features_check manpages | 22 | inherit autotools update-rc.d qemu pkgconfig features_check manpages github-releases |
24 | 23 | ||
25 | CONFLICT_DISTRO_FEATURES = "systemd" | 24 | CONFLICT_DISTRO_FEATURES = "systemd" |
26 | 25 | ||