summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-09-27 14:09:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-28 08:01:10 +0100
commitafefe7de281e558ed823460f80ddc631e718feb3 (patch)
tree69cc46fb93265fcbc2bcf9064829b088fa2dbed5 /meta/recipes-graphics
parent35708f8860adbf51549b2b2b07c176ba34eed812 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-graphics/harfbuzz/harfbuzz_5.1.0.bb7
-rw-r--r--meta/recipes-graphics/libepoxy/libepoxy_1.5.9.bb6
-rw-r--r--meta/recipes-graphics/libva/libva.inc6
-rw-r--r--meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.5.bb4
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
11UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" 11SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz \
12UPSTREAM_CHECK_REGEX = "harfbuzz-(?P<pver>\d+(\.\d+)+).tar"
13
14SRC_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 "
17SRC_URI[sha256sum] = "2edb95db668781aaa8d60959d21be2ff80085f31b12053cdd660d9a50ce84f05" 14SRC_URI[sha256sum] = "2edb95db668781aaa8d60959d21be2ff80085f31b12053cdd660d9a50ce84f05"
18 15
19inherit meson pkgconfig lib_package gtk-doc gobject-introspection 16inherit meson pkgconfig lib_package gtk-doc gobject-introspection github-releases
20 17
21GIR_MESON_ENABLE_FLAG = 'enabled' 18GIR_MESON_ENABLE_FLAG = 'enabled'
22GIR_MESON_DISABLE_FLAG = 'disabled' 19GIR_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"
9LICENSE = "MIT" 9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b" 10LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b"
11 11
12SRC_URI = "https://github.com/anholt/${BPN}/releases/download/${PV}/${BP}.tar.xz \ 12SRC_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 "
15SRC_URI[sha256sum] = "d168a19a6edfdd9977fef1308ccf516079856a4275cf876de688fb7927e365e4" 15SRC_URI[sha256sum] = "d168a19a6edfdd9977fef1308ccf516079856a4275cf876de688fb7927e365e4"
16UPSTREAM_CHECK_URI = "https://github.com/anholt/libepoxy/releases" 16GITHUB_BASE_URI = "https://github.com/anholt/libepoxy/releases"
17 17
18inherit meson pkgconfig features_check 18inherit meson pkgconfig features_check github-releases
19 19
20REQUIRED_DISTRO_FEATURES = "opengl" 20REQUIRED_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"
16SECTION = "x11" 16SECTION = "x11"
17LICENSE = "MIT" 17LICENSE = "MIT"
18 18
19SRC_URI = "https://github.com/intel/libva/releases/download/${PV}/libva-${PV}.tar.bz2" 19SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libva-${PV}.tar.bz2"
20LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" 20LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"
21SRC_URI[sha256sum] = "258ed409458d3e7a000e1908bc852619615ee6a933359c745fcd93eb3e461eca" 21SRC_URI[sha256sum] = "258ed409458d3e7a000e1908bc852619615ee6a933359c745fcd93eb3e461eca"
22 22
23S = "${WORKDIR}/libva-${PV}" 23S = "${WORKDIR}/libva-${PV}"
24 24
25UPSTREAM_CHECK_URI = "https://github.com/intel/libva/releases" 25GITHUB_BASE_URI = "https://github.com/intel/libva/releases"
26 26
27DEPENDS = "libdrm" 27DEPENDS = "libdrm"
28 28
29inherit meson pkgconfig 29inherit meson pkgconfig github-releases
30 30
31PACKAGECONFIG[x11] = "-Dwith_x11=yes,-Dwith_x11=no,virtual/libx11 libxext libxfixes" 31PACKAGECONFIG[x11] = "-Dwith_x11=yes,-Dwith_x11=no,virtual/libx11 libxext libxfixes"
32PACKAGECONFIG[glx] = "-Dwith_glx=yes,-Dwith_glx=no,virtual/mesa" 32PACKAGECONFIG[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"
13SRC_URI = "https://github.com/liberationfonts/liberation-fonts/files/7261482/liberation-fonts-ttf-${PV}.tar.gz \ 13SRC_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"
15SRC_URI[sha256sum] = "7191c669bf38899f73a2094ed00f7b800553364f90e2637010a69c0e268f25d0" 15SRC_URI[sha256sum] = "7191c669bf38899f73a2094ed00f7b800553364f90e2637010a69c0e268f25d0"
16UPSTREAM_CHECK_URI = "https://github.com/liberationfonts/liberation-fonts/releases" 16GITHUB_BASE_URI = "https://github.com/liberationfonts/liberation-fonts/releases"
17 17
18S = "${WORKDIR}/liberation-fonts-ttf-${PV}" 18S = "${WORKDIR}/liberation-fonts-ttf-${PV}"
19 19
20inherit allarch fontcache 20inherit allarch fontcache github-releases
21 21
22do_install () { 22do_install () {
23 install -d ${D}${datadir}/fonts/ttf/ 23 install -d ${D}${datadir}/fonts/ttf/