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 | |
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')
40 files changed, 113 insertions, 141 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb b/meta/recipes-connectivity/avahi/avahi_0.8.bb index a2efe7e80a..a830385352 100644 --- a/meta/recipes-connectivity/avahi/avahi_0.8.bb +++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb | |||
@@ -19,7 +19,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | |||
19 | file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969 \ | 19 | file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969 \ |
20 | file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf" | 20 | file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf" |
21 | 21 | ||
22 | SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV}.tar.gz \ | 22 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/avahi-${PV}.tar.gz \ |
23 | file://00avahi-autoipd \ | 23 | file://00avahi-autoipd \ |
24 | file://99avahi-autoipd \ | 24 | file://99avahi-autoipd \ |
25 | file://initscript.patch \ | 25 | file://initscript.patch \ |
@@ -28,7 +28,7 @@ SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV} | |||
28 | file://local-ping.patch \ | 28 | file://local-ping.patch \ |
29 | " | 29 | " |
30 | 30 | ||
31 | UPSTREAM_CHECK_URI = "https://github.com/lathiat/avahi/releases/" | 31 | GITHUB_BASE_URI = "https://github.com/lathiat/avahi/releases/" |
32 | SRC_URI[md5sum] = "229c6aa30674fc43c202b22c5f8c2be7" | 32 | SRC_URI[md5sum] = "229c6aa30674fc43c202b22c5f8c2be7" |
33 | SRC_URI[sha256sum] = "060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda" | 33 | SRC_URI[sha256sum] = "060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda" |
34 | 34 | ||
@@ -48,7 +48,7 @@ PACKAGECONFIG[libdns_sd] = "--enable-compat-libdns_sd --enable-dbus,,dbus" | |||
48 | PACKAGECONFIG[libevent] = "--enable-libevent,--disable-libevent,libevent" | 48 | PACKAGECONFIG[libevent] = "--enable-libevent,--disable-libevent,libevent" |
49 | PACKAGECONFIG[qt5] = "--enable-qt5,--disable-qt5,qtbase" | 49 | PACKAGECONFIG[qt5] = "--enable-qt5,--disable-qt5,qtbase" |
50 | 50 | ||
51 | inherit autotools pkgconfig gettext gobject-introspection | 51 | inherit autotools pkgconfig gettext gobject-introspection github-releases |
52 | 52 | ||
53 | EXTRA_OECONF = "--with-avahi-priv-access-group=adm \ | 53 | EXTRA_OECONF = "--with-avahi-priv-access-group=adm \ |
54 | --disable-stack-protector \ | 54 | --disable-stack-protector \ |
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 | ||
diff --git a/meta/recipes-devtools/ccache/ccache_4.6.3.bb b/meta/recipes-devtools/ccache/ccache_4.6.3.bb index 5ed46cdc19..bc1be92bff 100644 --- a/meta/recipes-devtools/ccache/ccache_4.6.3.bb +++ b/meta/recipes-devtools/ccache/ccache_4.6.3.bb | |||
@@ -11,14 +11,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=7a19377a02749d8a1281ed608169b0ee" | |||
11 | 11 | ||
12 | DEPENDS = "zstd" | 12 | DEPENDS = "zstd" |
13 | 13 | ||
14 | SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz \ | 14 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \ |
15 | file://0001-xxhash.h-Fix-build-with-gcc-12.patch \ | 15 | file://0001-xxhash.h-Fix-build-with-gcc-12.patch \ |
16 | " | 16 | " |
17 | SRC_URI[sha256sum] = "f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05" | 17 | SRC_URI[sha256sum] = "f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05" |
18 | 18 | ||
19 | UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/" | 19 | inherit cmake github-releases |
20 | |||
21 | inherit cmake | ||
22 | 20 | ||
23 | PATCHTOOL = "patch" | 21 | PATCHTOOL = "patch" |
24 | 22 | ||
diff --git a/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb b/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb index 289d939bb9..47d81dac8d 100644 --- a/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb +++ b/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb | |||
@@ -9,13 +9,11 @@ SECTION = "base" | |||
9 | LICENSE = "GPL-3.0-only" | 9 | LICENSE = "GPL-3.0-only" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
11 | 11 | ||
12 | SRC_URI = "https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${BP}.tar.gz \ | 12 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \ |
13 | " | 13 | " |
14 | SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527" | 14 | SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527" |
15 | 15 | ||
16 | UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases" | 16 | inherit autotools gettext pkgconfig update-alternatives github-releases |
17 | |||
18 | inherit autotools gettext pkgconfig update-alternatives | ||
19 | 17 | ||
20 | EXTRA_OECONF = "--enable-compat-symlinks --without-iconv" | 18 | EXTRA_OECONF = "--enable-compat-symlinks --without-iconv" |
21 | 19 | ||
diff --git a/meta/recipes-devtools/flex/flex_2.6.4.bb b/meta/recipes-devtools/flex/flex_2.6.4.bb index 8736b3585e..15cf6f5cca 100644 --- a/meta/recipes-devtools/flex/flex_2.6.4.bb +++ b/meta/recipes-devtools/flex/flex_2.6.4.bb | |||
@@ -12,7 +12,7 @@ BBCLASSEXTEND = "native nativesdk" | |||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \ | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \ |
13 | file://src/gettext.h;beginline=1;endline=17;md5=9c05dda2f58d89b850c399cf22e1a00c" | 13 | file://src/gettext.h;beginline=1;endline=17;md5=9c05dda2f58d89b850c399cf22e1a00c" |
14 | 14 | ||
15 | SRC_URI = "https://github.com/westes/flex/releases/download/v${PV}/flex-${PV}.tar.gz \ | 15 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/flex-${PV}.tar.gz \ |
16 | file://run-ptest \ | 16 | file://run-ptest \ |
17 | file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ | 17 | file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ |
18 | ${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \ | 18 | ${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \ |
@@ -24,16 +24,14 @@ SRC_URI = "https://github.com/westes/flex/releases/download/v${PV}/flex-${PV}.ta | |||
24 | SRC_URI[md5sum] = "2882e3179748cc9f9c23ec593d6adc8d" | 24 | SRC_URI[md5sum] = "2882e3179748cc9f9c23ec593d6adc8d" |
25 | SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995" | 25 | SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995" |
26 | 26 | ||
27 | # Flex has moved to github from 2.6.1 onwards | 27 | GITHUB_BASE_URI = "https://github.com/westes/flex/releases" |
28 | UPSTREAM_CHECK_URI = "https://github.com/westes/flex/releases" | ||
29 | UPSTREAM_CHECK_REGEX = "flex-(?P<pver>\d+(\.\d+)+)\.tar" | ||
30 | 28 | ||
31 | # Disputed - yes there is stack exhaustion but no bug and it is building the | 29 | # Disputed - yes there is stack exhaustion but no bug and it is building the |
32 | # parser, not running it, effectively similar to a compiler ICE. Upstream no plans to address | 30 | # parser, not running it, effectively similar to a compiler ICE. Upstream no plans to address |
33 | # https://github.com/westes/flex/issues/414 | 31 | # https://github.com/westes/flex/issues/414 |
34 | CVE_CHECK_IGNORE += "CVE-2019-6293" | 32 | CVE_CHECK_IGNORE += "CVE-2019-6293" |
35 | 33 | ||
36 | inherit autotools gettext texinfo ptest | 34 | inherit autotools gettext texinfo ptest github-releases |
37 | 35 | ||
38 | M4 = "${bindir}/m4" | 36 | M4 = "${bindir}/m4" |
39 | M4:class-native = "${STAGING_BINDIR_NATIVE}/m4" | 37 | M4:class-native = "${STAGING_BINDIR_NATIVE}/m4" |
diff --git a/meta/recipes-devtools/meson/meson_0.63.2.bb b/meta/recipes-devtools/meson/meson_0.63.2.bb index 406f5bf05e..890faacec9 100644 --- a/meta/recipes-devtools/meson/meson_0.63.2.bb +++ b/meta/recipes-devtools/meson/meson_0.63.2.bb | |||
@@ -7,7 +7,8 @@ interface for modern software development tools and practices." | |||
7 | LICENSE = "Apache-2.0" | 7 | LICENSE = "Apache-2.0" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" |
9 | 9 | ||
10 | SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz \ | 10 | GITHUB_BASE_URI = "https://github.com/mesonbuild/meson/releases/" |
11 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/meson-${PV}.tar.gz \ | ||
11 | file://meson-setup.py \ | 12 | file://meson-setup.py \ |
12 | file://meson-wrapper \ | 13 | file://meson-wrapper \ |
13 | file://0001-python-module-do-not-manipulate-the-environment-when.patch \ | 14 | file://0001-python-module-do-not-manipulate-the-environment-when.patch \ |
@@ -19,10 +20,7 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P | |||
19 | " | 20 | " |
20 | SRC_URI[sha256sum] = "16222f17ef76be0542c91c07994f9676ae879f46fc21c0c786a21ef2cb518bbf" | 21 | SRC_URI[sha256sum] = "16222f17ef76be0542c91c07994f9676ae879f46fc21c0c786a21ef2cb518bbf" |
21 | 22 | ||
22 | UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases" | 23 | inherit python_setuptools_build_meta github-releases |
23 | UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar" | ||
24 | |||
25 | inherit python_setuptools_build_meta | ||
26 | 24 | ||
27 | RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources" | 25 | RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources" |
28 | 26 | ||
diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.4.bb b/meta/recipes-devtools/perl-cross/perlcross_1.4.bb index 17ce901646..98a8fa3f8a 100644 --- a/meta/recipes-devtools/perl-cross/perlcross_1.4.bb +++ b/meta/recipes-devtools/perl-cross/perlcross_1.4.bb | |||
@@ -8,16 +8,16 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | |||
8 | # but is not provided inside the release tarballs | 8 | # but is not provided inside the release tarballs |
9 | LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" | 9 | LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" |
10 | 10 | ||
11 | inherit allarch | 11 | inherit allarch github-releases |
12 | 12 | ||
13 | SRC_URI = "https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \ | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \ |
14 | file://README.md \ | 14 | file://README.md \ |
15 | file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \ | 15 | file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \ |
16 | file://determinism.patch \ | 16 | file://determinism.patch \ |
17 | file://0001-Makefile-check-the-file-if-patched-or-not.patch \ | 17 | file://0001-Makefile-check-the-file-if-patched-or-not.patch \ |
18 | file://0001-configure_func.sh-Add-_GNU_SOURCE-define-and-functio.patch \ | 18 | file://0001-configure_func.sh-Add-_GNU_SOURCE-define-and-functio.patch \ |
19 | " | 19 | " |
20 | UPSTREAM_CHECK_URI = "https://github.com/arsv/perl-cross/releases/" | 20 | GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/" |
21 | 21 | ||
22 | SRC_URI[perl-cross.sha256sum] = "be9d9f9f7148edff7a2f9695ba3cb7e3975eff6b25a9a81dd311725fd757aa91" | 22 | SRC_URI[perl-cross.sha256sum] = "be9d9f9f7148edff7a2f9695ba3cb7e3975eff6b25a9a81dd311725fd757aa91" |
23 | 23 | ||
diff --git a/meta/recipes-devtools/python/python3-numpy_1.23.3.bb b/meta/recipes-devtools/python/python3-numpy_1.23.3.bb index 1e591c260f..9d086aedfd 100644 --- a/meta/recipes-devtools/python/python3-numpy_1.23.3.bb +++ b/meta/recipes-devtools/python/python3-numpy_1.23.3.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8026691468924fb6ec155dadfe2a1a7f" | |||
7 | 7 | ||
8 | SRCNAME = "numpy" | 8 | SRCNAME = "numpy" |
9 | 9 | ||
10 | SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ | 10 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ |
11 | file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ | 11 | file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ |
12 | file://0001-numpy-core-Define-RISCV-32-support.patch \ | 12 | file://0001-numpy-core-Define-RISCV-32-support.patch \ |
13 | file://run-ptest \ | 13 | file://run-ptest \ |
@@ -15,12 +15,11 @@ SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${S | |||
15 | " | 15 | " |
16 | SRC_URI[sha256sum] = "51bf49c0cd1d52be0a240aa66f3458afc4b95d8993d2d04f0d91fa60c10af6cd" | 16 | SRC_URI[sha256sum] = "51bf49c0cd1d52be0a240aa66f3458afc4b95d8993d2d04f0d91fa60c10af6cd" |
17 | 17 | ||
18 | UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases" | 18 | GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases" |
19 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" | ||
20 | 19 | ||
21 | DEPENDS += "python3-cython-native" | 20 | DEPENDS += "python3-cython-native" |
22 | 21 | ||
23 | inherit ptest setuptools3 | 22 | inherit ptest setuptools3 github-releases |
24 | 23 | ||
25 | S = "${WORKDIR}/numpy-${PV}" | 24 | S = "${WORKDIR}/numpy-${PV}" |
26 | 25 | ||
diff --git a/meta/recipes-devtools/python/python3-pycairo_1.21.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.21.0.bb index 29452c7660..b692067809 100644 --- a/meta/recipes-devtools/python/python3-pycairo_1.21.0.bb +++ b/meta/recipes-devtools/python/python3-pycairo_1.21.0.bb | |||
@@ -10,14 +10,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f3713ca2c28d9312ad718520b6dc3eee \ | |||
10 | # cairo >= 1.14 | 10 | # cairo >= 1.14 |
11 | DEPENDS = "cairo python3" | 11 | DEPENDS = "cairo python3" |
12 | 12 | ||
13 | SRC_URI = "https://github.com/pygobject/pycairo/releases/download/v${PV}/pycairo-${PV}.tar.gz" | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/pycairo-${PV}.tar.gz" |
14 | UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/" | 14 | GITHUB_BASE_URI = "https://github.com/pygobject/pycairo/releases/" |
15 | 15 | ||
16 | SRC_URI[sha256sum] = "251907f18a552df938aa3386657ff4b5a4937dde70e11aa042bc297957f4b74b" | 16 | SRC_URI[sha256sum] = "251907f18a552df938aa3386657ff4b5a4937dde70e11aa042bc297957f4b74b" |
17 | 17 | ||
18 | S = "${WORKDIR}/pycairo-${PV}" | 18 | S = "${WORKDIR}/pycairo-${PV}" |
19 | 19 | ||
20 | inherit meson pkgconfig python3targetconfig | 20 | inherit meson pkgconfig python3targetconfig github-releases |
21 | 21 | ||
22 | CFLAGS += "-fPIC" | 22 | CFLAGS += "-fPIC" |
23 | 23 | ||
diff --git a/meta/recipes-extended/cronie/cronie_1.6.1.bb b/meta/recipes-extended/cronie/cronie_1.6.1.bb index 6d150dd3c7..078187534e 100644 --- a/meta/recipes-extended/cronie/cronie_1.6.1.bb +++ b/meta/recipes-extended/cronie/cronie_1.6.1.bb | |||
@@ -14,9 +14,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dd2a592170760e1386c769e1043b3722 \ | |||
14 | 14 | ||
15 | SECTION = "utils" | 15 | SECTION = "utils" |
16 | 16 | ||
17 | UPSTREAM_CHECK_URI = "https://github.com/cronie-crond/${BPN}/releases/" | 17 | GITHUB_BASE_URI = "https://github.com/cronie-crond/${BPN}/releases/" |
18 | 18 | ||
19 | SRC_URI = "https://github.com/cronie-crond/cronie/releases/download/cronie-${PV}/cronie-${PV}.tar.gz \ | 19 | SRC_URI = "${GITHUB_BASE_URI}/download/cronie-${PV}/cronie-${PV}.tar.gz \ |
20 | file://crond.init \ | 20 | file://crond.init \ |
21 | file://crontab \ | 21 | file://crontab \ |
22 | file://crond.service \ | 22 | file://crond.service \ |
@@ -27,7 +27,8 @@ PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid" | |||
27 | 27 | ||
28 | SRC_URI[sha256sum] = "2cd0f0dd1680e6b9c39bf1e3a5e7ad6df76aa940de1ee90a453633aa59984e62" | 28 | SRC_URI[sha256sum] = "2cd0f0dd1680e6b9c39bf1e3a5e7ad6df76aa940de1ee90a453633aa59984e62" |
29 | 29 | ||
30 | inherit autotools update-rc.d useradd systemd | 30 | inherit autotools update-rc.d useradd systemd github-releases |
31 | UPSTREAM_CHECK_REGEX = "releases/tag/cronie-(?P<pver>\d+(\.\d+)+)" | ||
31 | 32 | ||
32 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" | 33 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" |
33 | 34 | ||
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index 4592980766..9c920bb133 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc | |||
@@ -8,7 +8,7 @@ SECTION = "console/utils" | |||
8 | LICENSE = "Apache-2.0" | 8 | LICENSE = "Apache-2.0" |
9 | DEPENDS = "libpng jpeg dbus zlib libusb1" | 9 | DEPENDS = "libpng jpeg dbus zlib libusb1" |
10 | 10 | ||
11 | SRC_URI = "https://github.com/OpenPrinting/cups/releases/download/v${PV}/cups-${PV}-source.tar.gz \ | 11 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \ |
12 | file://0001-use-echo-only-in-init.patch \ | 12 | file://0001-use-echo-only-in-init.patch \ |
13 | file://0002-don-t-try-to-run-generated-binaries.patch \ | 13 | file://0002-don-t-try-to-run-generated-binaries.patch \ |
14 | file://libexecdir.patch \ | 14 | file://libexecdir.patch \ |
@@ -17,8 +17,7 @@ SRC_URI = "https://github.com/OpenPrinting/cups/releases/download/v${PV}/cups-${ | |||
17 | file://cups-volatiles.conf \ | 17 | file://cups-volatiles.conf \ |
18 | " | 18 | " |
19 | 19 | ||
20 | UPSTREAM_CHECK_URI = "https://github.com/OpenPrinting/cups/releases" | 20 | GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases" |
21 | UPSTREAM_CHECK_REGEX = "cups-(?P<pver>(?!.+\d(b|rc)\d.+).+)-source.tar" | ||
22 | 21 | ||
23 | # Issue only applies to MacOS | 22 | # Issue only applies to MacOS |
24 | CVE_CHECK_IGNORE += "CVE-2008-1033" | 23 | CVE_CHECK_IGNORE += "CVE-2008-1033" |
@@ -33,7 +32,7 @@ LEAD_SONAME = "libcupsdriver.so" | |||
33 | 32 | ||
34 | CLEANBROKEN = "1" | 33 | CLEANBROKEN = "1" |
35 | 34 | ||
36 | inherit autotools-brokensep binconfig useradd systemd pkgconfig multilib_script | 35 | inherit autotools-brokensep binconfig useradd systemd pkgconfig multilib_script github-releases |
37 | 36 | ||
38 | USERADD_PACKAGES = "${PN}" | 37 | USERADD_PACKAGES = "${PN}" |
39 | GROUPADD_PARAM:${PN} = "--system lpadmin" | 38 | GROUPADD_PARAM:${PN} = "--system lpadmin" |
diff --git a/meta/recipes-extended/logrotate/logrotate_3.20.1.bb b/meta/recipes-extended/logrotate/logrotate_3.20.1.bb index 35977535aa..034c37b429 100644 --- a/meta/recipes-extended/logrotate/logrotate_3.20.1.bb +++ b/meta/recipes-extended/logrotate/logrotate_3.20.1.bb | |||
@@ -10,10 +10,7 @@ DEPENDS="coreutils popt" | |||
10 | 10 | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
12 | 12 | ||
13 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.xz" |
14 | UPSTREAM_CHECK_REGEX = "logrotate-(?P<pver>\d+(\.\d+)+).tar" | ||
15 | |||
16 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz" | ||
17 | 14 | ||
18 | SRC_URI[sha256sum] = "742f6d6e18eceffa49a4bacd933686d3e42931cfccfb694d7f6369b704e5d094" | 15 | SRC_URI[sha256sum] = "742f6d6e18eceffa49a4bacd933686d3e42931cfccfb694d7f6369b704e5d094" |
19 | 16 | ||
@@ -47,7 +44,7 @@ EXTRA_OEMAKE = "\ | |||
47 | # INSTALL=install and BASEDIR=/usr. | 44 | # INSTALL=install and BASEDIR=/usr. |
48 | OS_NAME = "Linux" | 45 | OS_NAME = "Linux" |
49 | 46 | ||
50 | inherit autotools systemd | 47 | inherit autotools systemd github-releases |
51 | 48 | ||
52 | SYSTEMD_SERVICE:${PN} = "\ | 49 | SYSTEMD_SERVICE:${PN} = "\ |
53 | ${BPN}.service \ | 50 | ${BPN}.service \ |
diff --git a/meta/recipes-extended/pam/libpam_1.5.2.bb b/meta/recipes-extended/pam/libpam_1.5.2.bb index 081986ef43..bde7fef8a2 100644 --- a/meta/recipes-extended/pam/libpam_1.5.2.bb +++ b/meta/recipes-extended/pam/libpam_1.5.2.bb | |||
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7eb5c1bf854e8881005d673599ee74d3 \ | |||
12 | file://libpamc/License;md5=a4da476a14c093fdc73be3c3c9ba8fb3 \ | 12 | file://libpamc/License;md5=a4da476a14c093fdc73be3c3c9ba8fb3 \ |
13 | " | 13 | " |
14 | 14 | ||
15 | SRC_URI = "https://github.com/linux-pam/linux-pam/releases/download/v${PV}/Linux-PAM-${PV}.tar.xz \ | 15 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/Linux-PAM-${PV}.tar.xz \ |
16 | file://99_pam \ | 16 | file://99_pam \ |
17 | file://pam.d/common-account \ | 17 | file://pam.d/common-account \ |
18 | file://pam.d/common-auth \ | 18 | file://pam.d/common-auth \ |
@@ -42,7 +42,7 @@ CFLAGS:append = " -fPIC " | |||
42 | 42 | ||
43 | S = "${WORKDIR}/Linux-PAM-${PV}" | 43 | S = "${WORKDIR}/Linux-PAM-${PV}" |
44 | 44 | ||
45 | inherit autotools gettext pkgconfig systemd ptest | 45 | inherit autotools gettext pkgconfig systemd ptest github-releases |
46 | 46 | ||
47 | PACKAGECONFIG ??= "" | 47 | PACKAGECONFIG ??= "" |
48 | PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit," | 48 | PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit," |
@@ -180,6 +180,6 @@ CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-session-noninteractive" | |||
180 | CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-account" | 180 | CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-account" |
181 | CONFFILES:${PN}-runtime += "${sysconfdir}/security/limits.conf" | 181 | CONFFILES:${PN}-runtime += "${sysconfdir}/security/limits.conf" |
182 | 182 | ||
183 | UPSTREAM_CHECK_URI = "https://github.com/linux-pam/linux-pam/releases" | 183 | GITHUB_BASE_URI = "https://github.com/linux-pam/linux-pam/releases" |
184 | 184 | ||
185 | CVE_PRODUCT = "linux-pam" | 185 | CVE_PRODUCT = "linux-pam" |
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index 414bf467ba..a87e23569b 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc | |||
@@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c9a450b7be84eac23e6353efecb60b5b \ | |||
10 | 10 | ||
11 | DEPENDS = "virtual/crypt" | 11 | DEPENDS = "virtual/crypt" |
12 | 12 | ||
13 | UPSTREAM_CHECK_URI = "https://github.com/shadow-maint/shadow/releases" | 13 | GITHUB_BASE_URI = "https://github.com/shadow-maint/shadow/releases" |
14 | SRC_URI = "https://github.com/shadow-maint/shadow/releases/download/${PV}/${BP}.tar.gz \ | 14 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.gz \ |
15 | file://0001-shadow-use-relaxed-usernames.patch \ | 15 | file://0001-shadow-use-relaxed-usernames.patch \ |
16 | ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ | 16 | ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ |
17 | file://useradd \ | 17 | file://useradd \ |
@@ -42,7 +42,7 @@ PAM_SRC_URI = "file://pam.d/chfn \ | |||
42 | file://pam.d/passwd \ | 42 | file://pam.d/passwd \ |
43 | file://pam.d/su" | 43 | file://pam.d/su" |
44 | 44 | ||
45 | inherit autotools gettext | 45 | inherit autotools gettext github-releases |
46 | 46 | ||
47 | export CONFIG_SHELL="/bin/sh" | 47 | export CONFIG_SHELL="/bin/sh" |
48 | 48 | ||
diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_5.1.0.bb b/meta/recipes-graphics/harfbuzz/harfbuzz_5.1.0.bb index 4c2d774803..4905e8e2ad 100644 --- a/meta/recipes-graphics/harfbuzz/harfbuzz_5.1.0.bb +++ b/meta/recipes-graphics/harfbuzz/harfbuzz_5.1.0.bb | |||
@@ -8,15 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6ee0f16281694fb6aa689cca1e0fb3da \ | |||
8 | file://src/hb-ucd.cc;beginline=1;endline=15;md5=29d4dcb6410429195df67efe3382d8bc \ | 8 | file://src/hb-ucd.cc;beginline=1;endline=15;md5=29d4dcb6410429195df67efe3382d8bc \ |
9 | " | 9 | " |
10 | 10 | ||
11 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" | 11 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz \ |
12 | UPSTREAM_CHECK_REGEX = "harfbuzz-(?P<pver>\d+(\.\d+)+).tar" | ||
13 | |||
14 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.xz \ | ||
15 | file://0001-fix-signedness-of-char-in-tests.patch \ | 12 | file://0001-fix-signedness-of-char-in-tests.patch \ |
16 | " | 13 | " |
17 | SRC_URI[sha256sum] = "2edb95db668781aaa8d60959d21be2ff80085f31b12053cdd660d9a50ce84f05" | 14 | SRC_URI[sha256sum] = "2edb95db668781aaa8d60959d21be2ff80085f31b12053cdd660d9a50ce84f05" |
18 | 15 | ||
19 | inherit meson pkgconfig lib_package gtk-doc gobject-introspection | 16 | inherit meson pkgconfig lib_package gtk-doc gobject-introspection github-releases |
20 | 17 | ||
21 | GIR_MESON_ENABLE_FLAG = 'enabled' | 18 | GIR_MESON_ENABLE_FLAG = 'enabled' |
22 | GIR_MESON_DISABLE_FLAG = 'disabled' | 19 | GIR_MESON_DISABLE_FLAG = 'disabled' |
diff --git a/meta/recipes-graphics/libepoxy/libepoxy_1.5.9.bb b/meta/recipes-graphics/libepoxy/libepoxy_1.5.9.bb index 487fc00360..1210f73a86 100644 --- a/meta/recipes-graphics/libepoxy/libepoxy_1.5.9.bb +++ b/meta/recipes-graphics/libepoxy/libepoxy_1.5.9.bb | |||
@@ -9,13 +9,13 @@ SECTION = "libs" | |||
9 | LICENSE = "MIT" | 9 | LICENSE = "MIT" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b" |
11 | 11 | ||
12 | SRC_URI = "https://github.com/anholt/${BPN}/releases/download/${PV}/${BP}.tar.xz \ | 12 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.xz \ |
13 | file://0001-dispatch_common.h-define-also-EGL_NO_X11.patch \ | 13 | file://0001-dispatch_common.h-define-also-EGL_NO_X11.patch \ |
14 | " | 14 | " |
15 | SRC_URI[sha256sum] = "d168a19a6edfdd9977fef1308ccf516079856a4275cf876de688fb7927e365e4" | 15 | SRC_URI[sha256sum] = "d168a19a6edfdd9977fef1308ccf516079856a4275cf876de688fb7927e365e4" |
16 | UPSTREAM_CHECK_URI = "https://github.com/anholt/libepoxy/releases" | 16 | GITHUB_BASE_URI = "https://github.com/anholt/libepoxy/releases" |
17 | 17 | ||
18 | inherit meson pkgconfig features_check | 18 | inherit meson pkgconfig features_check github-releases |
19 | 19 | ||
20 | REQUIRED_DISTRO_FEATURES = "opengl" | 20 | REQUIRED_DISTRO_FEATURES = "opengl" |
21 | 21 | ||
diff --git a/meta/recipes-graphics/libva/libva.inc b/meta/recipes-graphics/libva/libva.inc index 956cd50756..735f2fca5b 100644 --- a/meta/recipes-graphics/libva/libva.inc +++ b/meta/recipes-graphics/libva/libva.inc | |||
@@ -16,17 +16,17 @@ BUGTRACKER = "https://github.com/intel/libva/issues" | |||
16 | SECTION = "x11" | 16 | SECTION = "x11" |
17 | LICENSE = "MIT" | 17 | LICENSE = "MIT" |
18 | 18 | ||
19 | SRC_URI = "https://github.com/intel/libva/releases/download/${PV}/libva-${PV}.tar.bz2" | 19 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libva-${PV}.tar.bz2" |
20 | LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" | 20 | LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" |
21 | SRC_URI[sha256sum] = "258ed409458d3e7a000e1908bc852619615ee6a933359c745fcd93eb3e461eca" | 21 | SRC_URI[sha256sum] = "258ed409458d3e7a000e1908bc852619615ee6a933359c745fcd93eb3e461eca" |
22 | 22 | ||
23 | S = "${WORKDIR}/libva-${PV}" | 23 | S = "${WORKDIR}/libva-${PV}" |
24 | 24 | ||
25 | UPSTREAM_CHECK_URI = "https://github.com/intel/libva/releases" | 25 | GITHUB_BASE_URI = "https://github.com/intel/libva/releases" |
26 | 26 | ||
27 | DEPENDS = "libdrm" | 27 | DEPENDS = "libdrm" |
28 | 28 | ||
29 | inherit meson pkgconfig | 29 | inherit meson pkgconfig github-releases |
30 | 30 | ||
31 | PACKAGECONFIG[x11] = "-Dwith_x11=yes,-Dwith_x11=no,virtual/libx11 libxext libxfixes" | 31 | PACKAGECONFIG[x11] = "-Dwith_x11=yes,-Dwith_x11=no,virtual/libx11 libxext libxfixes" |
32 | PACKAGECONFIG[glx] = "-Dwith_glx=yes,-Dwith_glx=no,virtual/mesa" | 32 | PACKAGECONFIG[glx] = "-Dwith_glx=yes,-Dwith_glx=no,virtual/mesa" |
diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.5.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.5.bb index 32247b09c8..b7fdc0d399 100644 --- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.5.bb +++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.5.bb | |||
@@ -13,11 +13,11 @@ PE = "1" | |||
13 | SRC_URI = "https://github.com/liberationfonts/liberation-fonts/files/7261482/liberation-fonts-ttf-${PV}.tar.gz \ | 13 | SRC_URI = "https://github.com/liberationfonts/liberation-fonts/files/7261482/liberation-fonts-ttf-${PV}.tar.gz \ |
14 | file://30-liberation-aliases.conf" | 14 | file://30-liberation-aliases.conf" |
15 | SRC_URI[sha256sum] = "7191c669bf38899f73a2094ed00f7b800553364f90e2637010a69c0e268f25d0" | 15 | SRC_URI[sha256sum] = "7191c669bf38899f73a2094ed00f7b800553364f90e2637010a69c0e268f25d0" |
16 | UPSTREAM_CHECK_URI = "https://github.com/liberationfonts/liberation-fonts/releases" | 16 | GITHUB_BASE_URI = "https://github.com/liberationfonts/liberation-fonts/releases" |
17 | 17 | ||
18 | S = "${WORKDIR}/liberation-fonts-ttf-${PV}" | 18 | S = "${WORKDIR}/liberation-fonts-ttf-${PV}" |
19 | 19 | ||
20 | inherit allarch fontcache | 20 | inherit allarch fontcache github-releases |
21 | 21 | ||
22 | do_install () { | 22 | do_install () { |
23 | install -d ${D}${datadir}/fonts/ttf/ | 23 | install -d ${D}${datadir}/fonts/ttf/ |
diff --git a/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.2.2.bb b/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.2.2.bb index ed2b6437dd..29d48fd333 100644 --- a/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.2.2.bb +++ b/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.2.2.bb | |||
@@ -7,18 +7,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=336d6faf40fb600bafb0061f4052f1f4 \ | |||
7 | file://src/samplerate.c;beginline=1;endline=7;md5=7a4238289dc36bfb70968ccaa5bd0d4f" | 7 | file://src/samplerate.c;beginline=1;endline=7;md5=7a4238289dc36bfb70968ccaa5bd0d4f" |
8 | DEPENDS = "libsndfile1" | 8 | DEPENDS = "libsndfile1" |
9 | 9 | ||
10 | SRC_URI = "https://github.com/libsndfile/libsamplerate/releases/download/${PV}/libsamplerate-${PV}.tar.xz \ | 10 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsamplerate-${PV}.tar.xz \ |
11 | " | 11 | " |
12 | 12 | ||
13 | SRC_URI[sha256sum] = "3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893" | 13 | SRC_URI[sha256sum] = "3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893" |
14 | 14 | ||
15 | CVE_PRODUCT = "libsamplerate" | 15 | CVE_PRODUCT = "libsamplerate" |
16 | 16 | ||
17 | UPSTREAM_CHECK_URI = "https://github.com/libsndfile/libsamplerate/releases" | 17 | GITHUB_BASE_URI = "https://github.com/libsndfile/libsamplerate/releases" |
18 | 18 | ||
19 | S = "${WORKDIR}/libsamplerate-${PV}" | 19 | S = "${WORKDIR}/libsamplerate-${PV}" |
20 | 20 | ||
21 | inherit autotools pkgconfig | 21 | inherit autotools pkgconfig github-releases |
22 | 22 | ||
23 | # FFTW and ALSA are only used in tests and examples, so they don't affect | 23 | # FFTW and ALSA are only used in tests and examples, so they don't affect |
24 | # normal builds. It should be safe to ignore these, but explicitly disabling | 24 | # normal builds. It should be safe to ignore these, but explicitly disabling |
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb index 70626b3c16..1f1a40160d 100644 --- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb +++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb | |||
@@ -8,10 +8,10 @@ DEPENDS = "flac libogg libvorbis" | |||
8 | SECTION = "libs/multimedia" | 8 | SECTION = "libs/multimedia" |
9 | LICENSE = "LGPL-2.1-only" | 9 | LICENSE = "LGPL-2.1-only" |
10 | 10 | ||
11 | SRC_URI = "https://github.com/libsndfile/libsndfile/releases/download/${PV}/libsndfile-${PV}.tar.xz \ | 11 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \ |
12 | file://noopus.patch \ | 12 | file://noopus.patch \ |
13 | " | 13 | " |
14 | UPSTREAM_CHECK_URI = "https://github.com/libsndfile/libsndfile/releases/" | 14 | GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/" |
15 | 15 | ||
16 | SRC_URI[sha256sum] = "0f98e101c0f7c850a71225fb5feaf33b106227b3d331333ddc9bacee190bcf41" | 16 | SRC_URI[sha256sum] = "0f98e101c0f7c850a71225fb5feaf33b106227b3d331333ddc9bacee190bcf41" |
17 | 17 | ||
@@ -25,7 +25,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}" | |||
25 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | 25 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" |
26 | PACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3" | 26 | PACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3" |
27 | 27 | ||
28 | inherit autotools lib_package pkgconfig multilib_header | 28 | inherit autotools lib_package pkgconfig multilib_header github-releases |
29 | 29 | ||
30 | do_install:append() { | 30 | do_install:append() { |
31 | oe_multilib_header sndfile.h | 31 | oe_multilib_header sndfile.h |
diff --git a/meta/recipes-support/bash-completion/bash-completion_2.11.bb b/meta/recipes-support/bash-completion/bash-completion_2.11.bb index d981dd0c3a..19bc81619f 100644 --- a/meta/recipes-support/bash-completion/bash-completion_2.11.bb +++ b/meta/recipes-support/bash-completion/bash-completion_2.11.bb | |||
@@ -12,16 +12,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | |||
12 | 12 | ||
13 | SECTION = "console/utils" | 13 | SECTION = "console/utils" |
14 | 14 | ||
15 | SRC_URI = "https://github.com/scop/bash-completion/releases/download/${PV}/${BPN}-${PV}.tar.xz" | 15 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz" |
16 | 16 | ||
17 | SRC_URI[md5sum] = "2514c6772d0de6254758b98c53f91861" | 17 | SRC_URI[md5sum] = "2514c6772d0de6254758b98c53f91861" |
18 | SRC_URI[sha256sum] = "73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac" | 18 | SRC_URI[sha256sum] = "73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac" |
19 | UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar" | 19 | GITHUB_BASE_URI = "https://github.com/scop/bash-completion/releases" |
20 | UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases" | ||
21 | 20 | ||
22 | PARALLEL_MAKE = "" | 21 | PARALLEL_MAKE = "" |
23 | 22 | ||
24 | inherit autotools | 23 | inherit autotools github-releases |
25 | 24 | ||
26 | do_install:append() { | 25 | do_install:append() { |
27 | # compatdir | 26 | # compatdir |
diff --git a/meta/recipes-support/enchant/enchant2_2.3.3.bb b/meta/recipes-support/enchant/enchant2_2.3.3.bb index 96d56c2ea4..c892f570c4 100644 --- a/meta/recipes-support/enchant/enchant2_2.3.3.bb +++ b/meta/recipes-support/enchant/enchant2_2.3.3.bb | |||
@@ -9,12 +9,12 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | |||
9 | 9 | ||
10 | DEPENDS = "glib-2.0" | 10 | DEPENDS = "glib-2.0" |
11 | 11 | ||
12 | inherit autotools pkgconfig | 12 | inherit autotools pkgconfig github-releases |
13 | 13 | ||
14 | SRC_URI = "https://github.com/AbiWord/enchant/releases/download/v${PV}/enchant-${PV}.tar.gz" | 14 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/enchant-${PV}.tar.gz" |
15 | SRC_URI[sha256sum] = "3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891" | 15 | SRC_URI[sha256sum] = "3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891" |
16 | 16 | ||
17 | UPSTREAM_CHECK_URI = "https://github.com/AbiWord/enchant/releases" | 17 | GITHUB_BASE_URI = "https://github.com/AbiWord/enchant/releases" |
18 | 18 | ||
19 | S = "${WORKDIR}/enchant-${PV}" | 19 | S = "${WORKDIR}/enchant-${PV}" |
20 | 20 | ||
diff --git a/meta/recipes-support/fribidi/fribidi_1.0.12.bb b/meta/recipes-support/fribidi/fribidi_1.0.12.bb index b29c47822f..9e46d958e9 100644 --- a/meta/recipes-support/fribidi/fribidi_1.0.12.bb +++ b/meta/recipes-support/fribidi/fribidi_1.0.12.bb | |||
@@ -9,13 +9,11 @@ BUGTRACKER = "https://github.com/fribidi/fribidi/issues" | |||
9 | LICENSE = "LGPL-2.1-or-later" | 9 | LICENSE = "LGPL-2.1-or-later" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" |
11 | 11 | ||
12 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.xz \ | 12 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.xz \ |
13 | " | 13 | " |
14 | SRC_URI[sha256sum] = "0cd233f97fc8c67bb3ac27ce8440def5d3ffacf516765b91c2cc654498293495" | 14 | SRC_URI[sha256sum] = "0cd233f97fc8c67bb3ac27ce8440def5d3ffacf516765b91c2cc654498293495" |
15 | 15 | ||
16 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" | 16 | inherit meson lib_package pkgconfig github-releases |
17 | |||
18 | inherit meson lib_package pkgconfig | ||
19 | 17 | ||
20 | CVE_PRODUCT = "gnu_fribidi fribidi" | 18 | CVE_PRODUCT = "gnu_fribidi fribidi" |
21 | 19 | ||
diff --git a/meta/recipes-support/icu/icu_71.1.bb b/meta/recipes-support/icu/icu_71.1.bb index b39633c203..df999dce3b 100644 --- a/meta/recipes-support/icu/icu_71.1.bb +++ b/meta/recipes-support/icu/icu_71.1.bb | |||
@@ -17,7 +17,7 @@ STAGING_ICU_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/${BPN}/${PV}" | |||
17 | 17 | ||
18 | ICU_MAJOR_VER = "${@d.getVar('PV').split('.')[0]}" | 18 | ICU_MAJOR_VER = "${@d.getVar('PV').split('.')[0]}" |
19 | 19 | ||
20 | inherit autotools pkgconfig | 20 | inherit autotools pkgconfig github-releases |
21 | 21 | ||
22 | # ICU needs the native build directory as an argument to its --with-cross-build option when | 22 | # ICU needs the native build directory as an argument to its --with-cross-build option when |
23 | # cross-compiling. Taken the situation that different builds may share a common sstate-cache | 23 | # cross-compiling. Taken the situation that different builds may share a common sstate-cache |
@@ -96,8 +96,8 @@ ICU_FOLDER = "${@icu_download_folder(d)}" | |||
96 | ARM_INSTRUCTION_SET:armv4 = "arm" | 96 | ARM_INSTRUCTION_SET:armv4 = "arm" |
97 | ARM_INSTRUCTION_SET:armv5 = "arm" | 97 | ARM_INSTRUCTION_SET:armv5 = "arm" |
98 | 98 | ||
99 | BASE_SRC_URI = "https://github.com/unicode-org/icu/releases/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-src.tgz" | 99 | BASE_SRC_URI = "${GITHUB_BASE_URI}/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-src.tgz" |
100 | DATA_SRC_URI = "https://github.com/unicode-org/icu/releases/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-data.zip" | 100 | DATA_SRC_URI = "${GITHUB_BASE_URI}/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-data.zip" |
101 | SRC_URI = "${BASE_SRC_URI};name=code \ | 101 | SRC_URI = "${BASE_SRC_URI};name=code \ |
102 | ${DATA_SRC_URI};name=data \ | 102 | ${DATA_SRC_URI};name=data \ |
103 | file://filter.json \ | 103 | file://filter.json \ |
@@ -111,8 +111,8 @@ SRC_URI:append:class-target = "\ | |||
111 | SRC_URI[code.sha256sum] = "67a7e6e51f61faf1306b6935333e13b2c48abd8da6d2f46ce6adca24b1e21ebf" | 111 | SRC_URI[code.sha256sum] = "67a7e6e51f61faf1306b6935333e13b2c48abd8da6d2f46ce6adca24b1e21ebf" |
112 | SRC_URI[data.sha256sum] = "e3882b4fece6e5e039f22c3189b7ba224180fd26fdbfa9db284617455b93e804" | 112 | SRC_URI[data.sha256sum] = "e3882b4fece6e5e039f22c3189b7ba224180fd26fdbfa9db284617455b93e804" |
113 | 113 | ||
114 | UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src" | 114 | UPSTREAM_CHECK_REGEX = "releases/tag/release-(?P<pver>(?!.+rc).+)" |
115 | UPSTREAM_CHECK_URI = "https://github.com/unicode-org/icu/releases" | 115 | GITHUB_BASE_URI = "https://github.com/unicode-org/icu/releases" |
116 | 116 | ||
117 | EXTRA_OECONF:append:libc-musl = " ac_cv_func_strtod_l=no" | 117 | EXTRA_OECONF:append:libc-musl = " ac_cv_func_strtod_l=no" |
118 | 118 | ||
diff --git a/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.14.bb b/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.14.bb index fad92df507..fbfbdacbdd 100644 --- a/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.14.bb +++ b/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.14.bb | |||
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | |||
8 | file://doc/LICENSING.txt;md5=dfc50c7cea7b66935844587a0f7389e7 \ | 8 | file://doc/LICENSING.txt;md5=dfc50c7cea7b66935844587a0f7389e7 \ |
9 | " | 9 | " |
10 | 10 | ||
11 | SRC_URI = "https://github.com/ivmai/libatomic_ops/releases/download/v${PV}/libatomic_ops-${PV}.tar.gz" | 11 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libatomic_ops-${PV}.tar.gz" |
12 | UPSTREAM_CHECK_URI = "https://github.com/ivmai/libatomic_ops/releases" | 12 | GITHUB_BASE_URI = "https://github.com/ivmai/libatomic_ops/releases" |
13 | 13 | ||
14 | SRC_URI[sha256sum] = "390f244d424714735b7050d056567615b3b8f29008a663c262fb548f1802d292" | 14 | SRC_URI[sha256sum] = "390f244d424714735b7050d056567615b3b8f29008a663c262fb548f1802d292" |
15 | 15 | ||
@@ -17,6 +17,6 @@ S = "${WORKDIR}/libatomic_ops-${PV}" | |||
17 | 17 | ||
18 | ALLOW_EMPTY:${PN} = "1" | 18 | ALLOW_EMPTY:${PN} = "1" |
19 | 19 | ||
20 | inherit autotools pkgconfig | 20 | inherit autotools pkgconfig github-releases |
21 | 21 | ||
22 | BBCLASSEXTEND = "native nativesdk" | 22 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-support/libcheck/libcheck_0.15.2.bb b/meta/recipes-support/libcheck/libcheck_0.15.2.bb index 1393aa2a1c..83f3c3f46e 100644 --- a/meta/recipes-support/libcheck/libcheck_0.15.2.bb +++ b/meta/recipes-support/libcheck/libcheck_0.15.2.bb | |||
@@ -10,14 +10,14 @@ SECTION = "devel" | |||
10 | LICENSE = "LGPL-2.1-or-later" | 10 | LICENSE = "LGPL-2.1-or-later" |
11 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1" | 11 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1" |
12 | 12 | ||
13 | SRC_URI = "https://github.com/${BPN}/check/releases/download/${PV}/check-${PV}.tar.gz \ | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/check-${PV}.tar.gz \ |
14 | file://not-echo-compiler-info-to-check_stdint.h.patch" | 14 | file://not-echo-compiler-info-to-check_stdint.h.patch" |
15 | SRC_URI[sha256sum] = "a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a" | 15 | SRC_URI[sha256sum] = "a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a" |
16 | UPSTREAM_CHECK_URI = "https://github.com/libcheck/check/releases/" | 16 | GITHUB_BASE_URI = "https://github.com/libcheck/check/releases/" |
17 | 17 | ||
18 | S = "${WORKDIR}/check-${PV}" | 18 | S = "${WORKDIR}/check-${PV}" |
19 | 19 | ||
20 | inherit autotools pkgconfig texinfo | 20 | inherit autotools pkgconfig texinfo github-releases |
21 | 21 | ||
22 | CACHED_CONFIGUREVARS += "ac_cv_path_AWK_PATH=${bindir}/gawk" | 22 | CACHED_CONFIGUREVARS += "ac_cv_path_AWK_PATH=${bindir}/gawk" |
23 | 23 | ||
diff --git a/meta/recipes-support/libevent/libevent_2.1.12.bb b/meta/recipes-support/libevent/libevent_2.1.12.bb index e26e8a9b57..55a65e6c08 100644 --- a/meta/recipes-support/libevent/libevent_2.1.12.bb +++ b/meta/recipes-support/libevent/libevent_2.1.12.bb | |||
@@ -11,7 +11,7 @@ SECTION = "libs" | |||
11 | LICENSE = "BSD-3-Clause & MIT" | 11 | LICENSE = "BSD-3-Clause & MIT" |
12 | LIC_FILES_CHKSUM = "file://LICENSE;md5=17f20574c0b154d12236d5fbe964f549" | 12 | LIC_FILES_CHKSUM = "file://LICENSE;md5=17f20574c0b154d12236d5fbe964f549" |
13 | 13 | ||
14 | SRC_URI = "https://github.com/libevent/libevent/releases/download/release-${PV}-stable/${BP}-stable.tar.gz \ | 14 | SRC_URI = "${GITHUB_BASE_URI}/download/release-${PV}-stable/${BP}-stable.tar.gz \ |
15 | file://Makefile-missing-test-dir.patch \ | 15 | file://Makefile-missing-test-dir.patch \ |
16 | file://run-ptest \ | 16 | file://run-ptest \ |
17 | file://0001-test-regress_dns.c-patch-out-tests-that-require-a-wo.patch \ | 17 | file://0001-test-regress_dns.c-patch-out-tests-that-require-a-wo.patch \ |
@@ -21,15 +21,14 @@ SRC_URI = "https://github.com/libevent/libevent/releases/download/release-${PV}- | |||
21 | " | 21 | " |
22 | 22 | ||
23 | SRC_URI[sha256sum] = "92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb" | 23 | SRC_URI[sha256sum] = "92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb" |
24 | 24 | UPSTREAM_CHECK_REGEX = "releases/tag/release-(?P<pver>.+)-stable" | |
25 | UPSTREAM_CHECK_URI = "http://libevent.org/" | ||
26 | 25 | ||
27 | S = "${WORKDIR}/${BPN}-${PV}-stable" | 26 | S = "${WORKDIR}/${BPN}-${PV}-stable" |
28 | 27 | ||
29 | PACKAGECONFIG ??= "" | 28 | PACKAGECONFIG ??= "" |
30 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" | 29 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" |
31 | 30 | ||
32 | inherit autotools | 31 | inherit autotools github-releases |
33 | 32 | ||
34 | # Needed for Debian packaging | 33 | # Needed for Debian packaging |
35 | LEAD_SONAME = "libevent-2.1.so" | 34 | LEAD_SONAME = "libevent-2.1.so" |
diff --git a/meta/recipes-support/libexif/libexif_0.6.24.bb b/meta/recipes-support/libexif/libexif_0.6.24.bb index 20ba0ef282..367f012f8c 100644 --- a/meta/recipes-support/libexif/libexif_0.6.24.bb +++ b/meta/recipes-support/libexif/libexif_0.6.24.bb | |||
@@ -10,14 +10,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad" | |||
10 | def version_underscore(v): | 10 | def version_underscore(v): |
11 | return "_".join(v.split(".")) | 11 | return "_".join(v.split(".")) |
12 | 12 | ||
13 | SRC_URI = "https://github.com/libexif/libexif/releases/download/v${PV}/libexif-${PV}.tar.bz2 \ | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libexif-${PV}.tar.bz2 \ |
14 | " | 14 | " |
15 | 15 | ||
16 | SRC_URI[sha256sum] = "d47564c433b733d83b6704c70477e0a4067811d184ec565258ac563d8223f6ae" | 16 | SRC_URI[sha256sum] = "d47564c433b733d83b6704c70477e0a4067811d184ec565258ac563d8223f6ae" |
17 | 17 | ||
18 | UPSTREAM_CHECK_URI = "https://github.com/libexif/libexif/releases/" | 18 | inherit autotools gettext github-releases |
19 | |||
20 | inherit autotools gettext | ||
21 | 19 | ||
22 | EXTRA_OECONF += "--disable-docs" | 20 | EXTRA_OECONF += "--disable-docs" |
23 | 21 | ||
diff --git a/meta/recipes-support/libffi/libffi_3.4.2.bb b/meta/recipes-support/libffi/libffi_3.4.2.bb index 71d9518baf..41c3cad586 100644 --- a/meta/recipes-support/libffi/libffi_3.4.2.bb +++ b/meta/recipes-support/libffi/libffi_3.4.2.bb | |||
@@ -10,18 +10,16 @@ A layer must exist above `libffi' that handles type conversions for values passe | |||
10 | LICENSE = "MIT" | 10 | LICENSE = "MIT" |
11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=679b5c9bdc79a2b93ee574e193e7a7bc" | 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=679b5c9bdc79a2b93ee574e193e7a7bc" |
12 | 12 | ||
13 | SRC_URI = "https://github.com/libffi/libffi/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BPN}-${PV}.tar.gz \ |
14 | file://not-win32.patch \ | 14 | file://not-win32.patch \ |
15 | file://0001-arm-sysv-reverted-clang-VFP-mitigation.patch \ | 15 | file://0001-arm-sysv-reverted-clang-VFP-mitigation.patch \ |
16 | " | 16 | " |
17 | SRC_URI[sha256sum] = "540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620" | 17 | SRC_URI[sha256sum] = "540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620" |
18 | UPSTREAM_CHECK_URI = "https://github.com/libffi/libffi/releases/" | ||
19 | UPSTREAM_CHECK_REGEX = "libffi-(?P<pver>\d+(\.\d+)+)\.tar" | ||
20 | 18 | ||
21 | EXTRA_OECONF += "--disable-builddir --disable-exec-static-tramp" | 19 | EXTRA_OECONF += "--disable-builddir --disable-exec-static-tramp" |
22 | EXTRA_OECONF:class-native += "--with-gcc-arch=generic" | 20 | EXTRA_OECONF:class-native += "--with-gcc-arch=generic" |
23 | EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'" | 21 | EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'" |
24 | inherit autotools texinfo multilib_header | 22 | inherit autotools texinfo multilib_header github-releases |
25 | 23 | ||
26 | do_install:append() { | 24 | do_install:append() { |
27 | oe_multilib_header ffi.h ffitarget.h | 25 | oe_multilib_header ffi.h ffitarget.h |
diff --git a/meta/recipes-support/libical/libical_3.0.14.bb b/meta/recipes-support/libical/libical_3.0.14.bb index 58baf3f32f..44030fdc9f 100644 --- a/meta/recipes-support/libical/libical_3.0.14.bb +++ b/meta/recipes-support/libical/libical_3.0.14.bb | |||
@@ -12,13 +12,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1910a2a76ddf6a9ba369182494170d87 \ | |||
12 | " | 12 | " |
13 | SECTION = "libs" | 13 | SECTION = "libs" |
14 | 14 | ||
15 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz \ | 15 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \ |
16 | file://0001-cmake-Do-not-export-CC-into-gir-compiler.patch \ | 16 | file://0001-cmake-Do-not-export-CC-into-gir-compiler.patch \ |
17 | " | 17 | " |
18 | SRC_URI[sha256sum] = "4284b780356f1dc6a01f16083e7b836e63d3815e27ed0eaaad684712357ccc8f" | 18 | SRC_URI[sha256sum] = "4284b780356f1dc6a01f16083e7b836e63d3815e27ed0eaaad684712357ccc8f" |
19 | UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases" | ||
20 | 19 | ||
21 | inherit cmake pkgconfig gobject-introspection vala | 20 | inherit cmake pkgconfig gobject-introspection vala github-releases |
22 | 21 | ||
23 | DEPENDS += "libical-native" | 22 | DEPENDS += "libical-native" |
24 | 23 | ||
diff --git a/meta/recipes-support/libnl/libnl_3.7.0.bb b/meta/recipes-support/libnl/libnl_3.7.0.bb index ddcc83a039..ef286a6429 100644 --- a/meta/recipes-support/libnl/libnl_3.7.0.bb +++ b/meta/recipes-support/libnl/libnl_3.7.0.bb | |||
@@ -14,17 +14,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | |||
14 | 14 | ||
15 | DEPENDS = "flex-native bison-native" | 15 | DEPENDS = "flex-native bison-native" |
16 | 16 | ||
17 | SRC_URI = "https://github.com/thom311/${BPN}/releases/download/${BPN}${@d.getVar('PV').replace('.','_')}/${BP}.tar.gz \ | 17 | SRC_URI = "${GITHUB_BASE_URI}/download/${BPN}${@d.getVar('PV').replace('.','_')}/${BP}.tar.gz \ |
18 | file://enable-serial-tests.patch \ | 18 | file://enable-serial-tests.patch \ |
19 | file://run-ptest \ | 19 | file://run-ptest \ |
20 | " | 20 | " |
21 | 21 | ||
22 | SRC_URI[sha256sum] = "9fe43ccbeeea72c653bdcf8c93332583135cda46a79507bfd0a483bb57f65939" | 22 | SRC_URI[sha256sum] = "9fe43ccbeeea72c653bdcf8c93332583135cda46a79507bfd0a483bb57f65939" |
23 | 23 | ||
24 | GITHUB_BASE_URI = "https://github.com/thom311/${BPN}/releases" | ||
25 | UPSTREAM_CHECK_REGEX = "releases/tag/libnl(?P<pver>.+)" | ||
24 | 26 | ||
25 | UPSTREAM_CHECK_URI = "https://github.com/thom311/${BPN}/releases" | 27 | inherit autotools pkgconfig ptest github-releases |
26 | |||
27 | inherit autotools pkgconfig ptest | ||
28 | 28 | ||
29 | FILES:${PN} = "${libdir}/libnl-3.so.* \ | 29 | FILES:${PN} = "${libdir}/libnl-3.so.* \ |
30 | ${libdir}/libnl.so.* \ | 30 | ${libdir}/libnl.so.* \ |
diff --git a/meta/recipes-support/libpcre/libpcre2_10.40.bb b/meta/recipes-support/libpcre/libpcre2_10.40.bb index 8c2cadfe2b..13f7c8305f 100644 --- a/meta/recipes-support/libpcre/libpcre2_10.40.bb +++ b/meta/recipes-support/libpcre/libpcre2_10.40.bb | |||
@@ -10,9 +10,10 @@ SECTION = "devel" | |||
10 | LICENSE = "BSD-3-Clause" | 10 | LICENSE = "BSD-3-Clause" |
11 | LIC_FILES_CHKSUM = "file://LICENCE;md5=41bfb977e4933c506588724ce69bf5d2" | 11 | LIC_FILES_CHKSUM = "file://LICENCE;md5=41bfb977e4933c506588724ce69bf5d2" |
12 | 12 | ||
13 | SRC_URI = "https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${PV}/pcre2-${PV}.tar.bz2" | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/pcre2-${PV}/pcre2-${PV}.tar.bz2" |
14 | 14 | ||
15 | UPSTREAM_CHECK_URI = "https://github.com/PhilipHazel/pcre2/releases" | 15 | GITHUB_BASE_URI = "https://github.com/PhilipHazel/pcre2/releases" |
16 | UPSTREAM_CHECK_REGEX = "releases/tag/pcre2-(?P<pver>.+)" | ||
16 | 17 | ||
17 | SRC_URI[sha256sum] = "14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68" | 18 | SRC_URI[sha256sum] = "14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68" |
18 | 19 | ||
@@ -25,7 +26,7 @@ DEPENDS += "bzip2 zlib" | |||
25 | 26 | ||
26 | BINCONFIG = "${bindir}/pcre2-config" | 27 | BINCONFIG = "${bindir}/pcre2-config" |
27 | 28 | ||
28 | inherit autotools binconfig-disabled | 29 | inherit autotools binconfig-disabled github-releases |
29 | 30 | ||
30 | EXTRA_OECONF = "\ | 31 | EXTRA_OECONF = "\ |
31 | --enable-newline-is-lf \ | 32 | --enable-newline-is-lf \ |
diff --git a/meta/recipes-support/libproxy/libproxy_0.4.18.bb b/meta/recipes-support/libproxy/libproxy_0.4.18.bb index a9f2bf6cae..01ba2a6fe9 100644 --- a/meta/recipes-support/libproxy/libproxy_0.4.18.bb +++ b/meta/recipes-support/libproxy/libproxy_0.4.18.bb | |||
@@ -12,13 +12,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ | |||
12 | 12 | ||
13 | DEPENDS = "glib-2.0" | 13 | DEPENDS = "glib-2.0" |
14 | 14 | ||
15 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz" | 15 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.xz" |
16 | SRC_URI[sha256sum] = "69b5856e9ea42c38ac77e6b8c92ffc86a71d341fef74e77bef85f9cc6c47a4b1" | 16 | SRC_URI[sha256sum] = "69b5856e9ea42c38ac77e6b8c92ffc86a71d341fef74e77bef85f9cc6c47a4b1" |
17 | 17 | ||
18 | UPSTREAM_CHECK_URI = "https://github.com/libproxy/libproxy/releases" | 18 | inherit cmake pkgconfig github-releases |
19 | UPSTREAM_CHECK_REGEX = "libproxy-(?P<pver>.*)\.tar" | ||
20 | |||
21 | inherit cmake pkgconfig | ||
22 | 19 | ||
23 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)} gnome3" | 20 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)} gnome3" |
24 | PACKAGECONFIG[gnome] = "-DWITH_GNOME=yes,-DWITH_GNOME=no,gconf" | 21 | PACKAGECONFIG[gnome] = "-DWITH_GNOME=yes,-DWITH_GNOME=no,gconf" |
diff --git a/meta/recipes-support/libpsl/libpsl_0.21.1.bb b/meta/recipes-support/libpsl/libpsl_0.21.1.bb index 4fc0ad8acb..58f56c145e 100644 --- a/meta/recipes-support/libpsl/libpsl_0.21.1.bb +++ b/meta/recipes-support/libpsl/libpsl_0.21.1.bb | |||
@@ -10,13 +10,13 @@ LICENSE = "MIT" | |||
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5437030d9e4fbe7267ced058ddb8a7f5 \ | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5437030d9e4fbe7267ced058ddb8a7f5 \ |
11 | file://COPYING;md5=f41d10997a12da5ee3c24ceeb0148d18" | 11 | file://COPYING;md5=f41d10997a12da5ee3c24ceeb0148d18" |
12 | 12 | ||
13 | SRC_URI = "https://github.com/rockdaboot/${BPN}/releases/download/${PV}/${BP}.tar.gz \ | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.gz \ |
14 | " | 14 | " |
15 | SRC_URI[sha256sum] = "ac6ce1e1fbd4d0254c4ddb9d37f1fa99dec83619c1253328155206b896210d4c" | 15 | SRC_URI[sha256sum] = "ac6ce1e1fbd4d0254c4ddb9d37f1fa99dec83619c1253328155206b896210d4c" |
16 | 16 | ||
17 | UPSTREAM_CHECK_URI = "https://github.com/rockdaboot/libpsl/releases" | 17 | GITHUB_BASE_URI = "https://github.com/rockdaboot/libpsl/releases" |
18 | 18 | ||
19 | inherit autotools gettext gtk-doc manpages pkgconfig lib_package | 19 | inherit autotools gettext gtk-doc manpages pkgconfig lib_package github-releases |
20 | 20 | ||
21 | PACKAGECONFIG ?= "icu" | 21 | PACKAGECONFIG ?= "icu" |
22 | PACKAGECONFIG[manpages] = "--enable-man,--disable-man,libxslt-native" | 22 | PACKAGECONFIG[manpages] = "--enable-man,--disable-man,libxslt-native" |
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" |
diff --git a/meta/recipes-support/nghttp2/nghttp2_1.49.0.bb b/meta/recipes-support/nghttp2/nghttp2_1.49.0.bb index b7bcd0ece0..6c3d543083 100644 --- a/meta/recipes-support/nghttp2/nghttp2_1.49.0.bb +++ b/meta/recipes-support/nghttp2/nghttp2_1.49.0.bb | |||
@@ -4,15 +4,13 @@ SECTION = "libs" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=764abdf30b2eadd37ce47dcbce0ea1ec" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=764abdf30b2eadd37ce47dcbce0ea1ec" |
6 | 6 | ||
7 | UPSTREAM_CHECK_URI = "https://github.com/nghttp2/nghttp2/releases" | ||
8 | |||
9 | SRC_URI = "\ | 7 | SRC_URI = "\ |
10 | https://github.com/nghttp2/nghttp2/releases/download/v${PV}/nghttp2-${PV}.tar.xz \ | 8 | ${GITHUB_BASE_URI}/download/v${PV}/nghttp2-${PV}.tar.xz \ |
11 | file://0001-fetch-ocsp-response-use-python3.patch \ | 9 | file://0001-fetch-ocsp-response-use-python3.patch \ |
12 | " | 10 | " |
13 | SRC_URI[sha256sum] = "b0cfd492bbf0b131c472e8f6501c9f4ee82b51b68130f47b278c0b7c9848a66e" | 11 | SRC_URI[sha256sum] = "b0cfd492bbf0b131c472e8f6501c9f4ee82b51b68130f47b278c0b7c9848a66e" |
14 | 12 | ||
15 | inherit cmake manpages python3native | 13 | inherit cmake manpages python3native github-releases |
16 | PACKAGECONFIG[manpages] = "" | 14 | PACKAGECONFIG[manpages] = "" |
17 | 15 | ||
18 | # examples are never installed, and don't need to be built in the | 16 | # examples are never installed, and don't need to be built in the |
diff --git a/meta/recipes-support/re2c/re2c_3.0.bb b/meta/recipes-support/re2c/re2c_3.0.bb index ab047601ae..f8f85125a3 100644 --- a/meta/recipes-support/re2c/re2c_3.0.bb +++ b/meta/recipes-support/re2c/re2c_3.0.bb | |||
@@ -7,10 +7,10 @@ SECTION = "devel" | |||
7 | LICENSE = "PD" | 7 | LICENSE = "PD" |
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=64eca4d8a3b67f9dc7656094731a2c8d" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=64eca4d8a3b67f9dc7656094731a2c8d" |
9 | 9 | ||
10 | SRC_URI = "https://github.com/skvadrik/re2c/releases/download/${PV}/${BPN}-${PV}.tar.xz" | 10 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz" |
11 | SRC_URI[sha256sum] = "b3babbbb1461e13fe22c630a40c43885efcfbbbb585830c6f4c0d791cf82ba0b" | 11 | SRC_URI[sha256sum] = "b3babbbb1461e13fe22c630a40c43885efcfbbbb585830c6f4c0d791cf82ba0b" |
12 | UPSTREAM_CHECK_URI = "https://github.com/skvadrik/re2c/releases" | 12 | GITHUB_BASE_URI = "https://github.com/skvadrik/re2c/releases" |
13 | 13 | ||
14 | BBCLASSEXTEND = "native nativesdk" | 14 | BBCLASSEXTEND = "native nativesdk" |
15 | 15 | ||
16 | inherit autotools | 16 | inherit autotools github-releases |
diff --git a/meta/recipes-support/taglib/taglib_1.12.bb b/meta/recipes-support/taglib/taglib_1.12.bb index 47ad8aacb6..e6e3ef07ad 100644 --- a/meta/recipes-support/taglib/taglib_1.12.bb +++ b/meta/recipes-support/taglib/taglib_1.12.bb | |||
@@ -14,7 +14,7 @@ SRC_URI = "http://taglib.github.io/releases/${BP}.tar.gz" | |||
14 | SRC_URI[md5sum] = "4313ed2671234e029b7af8f97c84e9af" | 14 | SRC_URI[md5sum] = "4313ed2671234e029b7af8f97c84e9af" |
15 | SRC_URI[sha256sum] = "7fccd07669a523b07a15bd24c8da1bbb92206cb19e9366c3692af3d79253b703" | 15 | SRC_URI[sha256sum] = "7fccd07669a523b07a15bd24c8da1bbb92206cb19e9366c3692af3d79253b703" |
16 | 16 | ||
17 | UPSTREAM_CHECK_URI = "http://github.com/taglib/taglib/releases/" | 17 | UPSTREAM_CHECK_URI = "https://taglib.org/" |
18 | 18 | ||
19 | BINCONFIG = "${bindir}/taglib-config" | 19 | BINCONFIG = "${bindir}/taglib-config" |
20 | 20 | ||