From 370c5183bf1cc13ca8e0d2b50c7656175652de3e Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 29 Jun 2018 19:04:10 +0300 Subject: [PATCH] alsa: add http mirror in the backported alsa recipes Unfortunately ftp doesn't work for me (looks like a firewall issue) and the default poky mirror at http://downloads.yoctoproject.org/mirror/sources/ doesn't contain alsa 1.1.6, so the build fails. I think this will be useful to other people with firewall issues. Change-Id: Ic6744f38ac8c007ed99b69fb410526b6c4ca8733 Signed-off-by: George Kiagiadakis --- meta-audio-4a-framework/recipes-multimedia/alsa/alsa-lib_1.1.6.bb | 4 ++++ meta-audio-4a-framework/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb | 4 ++++ meta-audio-4a-framework/recipes-multimedia/alsa/alsa-tools_1.1.6.bb | 4 ++++ meta-audio-4a-framework/recipes-multimedia/alsa/alsa-utils_1.1.6.bb | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-lib_1.1.6.bb b/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-lib_1.1.6.bb index 6364e9ea..e6961c7c 100644 --- a/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-lib_1.1.6.bb +++ b/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-lib_1.1.6.bb @@ -7,6 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ file://src/socket.c;md5=dd1bc7f44872690224d89c1a9806e495;beginline=1;endline=26 \ " +MIRRORS += "\ +ftp://ftp.alsa-project.org http://www.mirrorservice.org/sites/ftp.alsa-project.org \n \ +" + SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2" SRC_URI[md5sum] = "2f981a8f7897c59ec2ddc44916d33788" SRC_URI[sha256sum] = "5f2cd274b272cae0d0d111e8a9e363f08783329157e8dd68b3de0c096de6d724" diff --git a/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb b/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb index 17c1879f..82d65cd1 100644 --- a/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb +++ b/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb @@ -20,6 +20,10 @@ LIC_FILES_CHKSUM = "\ file://rate/rate_samplerate.c;endline=35;md5=fd77bce85f4a338c0e8ab18430b69fae \ " +MIRRORS += "\ +ftp://ftp.alsa-project.org http://www.mirrorservice.org/sites/ftp.alsa-project.org \n \ +" + SRC_URI = "ftp://ftp.alsa-project.org/pub/plugins/${BP}.tar.bz2" SRC_URI[md5sum] = "8387279e99feeb2ecffaac5f293223d7" SRC_URI[sha256sum] = "6f1d31ebe3b1fa1cc8dade60b7bed1cb2583ac998167002d350dc0a5e3e40c13" diff --git a/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-tools_1.1.6.bb b/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-tools_1.1.6.bb index 90e54dbb..1b8be048 100644 --- a/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-tools_1.1.6.bb +++ b/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-tools_1.1.6.bb @@ -9,6 +9,10 @@ LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=59530bdf33659b29e73d4adb9f9f65 file://ld10k1/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7 \ " +MIRRORS += "\ +ftp://ftp.alsa-project.org http://www.mirrorservice.org/sites/ftp.alsa-project.org \n \ +" + SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/${BP}.tar.bz2 \ file://0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch \ file://musl.patch \ diff --git a/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-utils_1.1.6.bb b/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-utils_1.1.6.bb index b8ba0cb2..dbc087fe 100644 --- a/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-utils_1.1.6.bb +++ b/meta-audio-4a-framework/recipes-multimedia/alsa/alsa-utils_1.1.6.bb @@ -19,6 +19,10 @@ PACKAGECONFIG[bat] = "--enable-bat,--disable-bat,fftwf" PACKAGECONFIG[udev] = "--with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d,--with-udev-rules-dir=/unwanted/rules.d,udev" PACKAGECONFIG[manpages] = "--enable-xmlto, --disable-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" +MIRRORS += "\ +ftp://ftp.alsa-project.org http://www.mirrorservice.org/sites/ftp.alsa-project.org \n \ +" + SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \ " -- 2.16.6