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-multimedia | |
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-multimedia')
-rw-r--r-- | meta/recipes-multimedia/libsamplerate/libsamplerate0_0.2.2.bb | 6 | ||||
-rw-r--r-- | meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb | 6 |
2 files changed, 6 insertions, 6 deletions
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 |