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-graphics | |
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-graphics')
4 files changed, 10 insertions, 13 deletions
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/ |