hey, On Mon, Jan 6, 2020 at 10:18 AM Tanu Kaskinen <[email protected]> wrote: > > The UCM configuration files were moved from the alsa-lib repository to a > new alsa-ucm-conf repository. The move was accompanied by a license > change from LGPL2.1 to BSD-3-Clause. > > Signed-off-by: Tanu Kaskinen <[email protected]> > --- > meta/conf/distro/include/maintainers.inc | 1 + > .../alsa/alsa-lib_1.2.1.2.bb | 2 +- > .../alsa/alsa-ucm-conf_1.2.1.2.bb | 23 +++++++++++++++++++ > 3 files changed, 25 insertions(+), 1 deletion(-) > create mode 100644 meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.1.2.bb > > diff --git a/meta/conf/distro/include/maintainers.inc > b/meta/conf/distro/include/maintainers.inc > index 39eee9475c..c9fb373f52 100644 > --- a/meta/conf/distro/include/maintainers.inc > +++ b/meta/conf/distro/include/maintainers.inc > @@ -35,6 +35,7 @@ RECIPE_MAINTAINER_pn-alsa-lib = "Tanu Kaskinen > <[email protected]>" > RECIPE_MAINTAINER_pn-alsa-plugins = "Tanu Kaskinen <[email protected]>" > RECIPE_MAINTAINER_pn-alsa-state = "Tanu Kaskinen <[email protected]>" > RECIPE_MAINTAINER_pn-alsa-tools = "Tanu Kaskinen <[email protected]>" > +RECIPE_MAINTAINER_pn-alsa-ucm-conf = "Tanu Kaskinen <[email protected]>" > RECIPE_MAINTAINER_pn-alsa-utils = "Tanu Kaskinen <[email protected]>" > RECIPE_MAINTAINER_pn-alsa-utils-scripts = "Tanu Kaskinen <[email protected]>" > RECIPE_MAINTAINER_pn-apmd = "Anuj Mittal <[email protected]>" > diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.2.1.2.bb > b/meta/recipes-multimedia/alsa/alsa-lib_1.2.1.2.bb > index 9565ad1b20..7bc78b8523 100644 > --- a/meta/recipes-multimedia/alsa/alsa-lib_1.2.1.2.bb > +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.2.1.2.bb > @@ -33,7 +33,7 @@ FILES_alsa-server = "${bindir}/*" > FILES_alsa-conf = "${datadir}/alsa/" > FILES_libatopology = "${libdir}/libatopology.so.*" > > -RDEPENDS_${PN}_class-target = "alsa-conf" > +RDEPENDS_${PN}_class-target = "alsa-conf alsa-ucm-conf" > > # upgrade path > RPROVIDES_${PN} = "libasound" > diff --git a/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.1.2.bb > b/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.1.2.bb > new file mode 100644 > index 0000000000..469d1f7a95 > --- /dev/null > +++ b/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.1.2.bb > @@ -0,0 +1,23 @@ > +SUMMARY = "ALSA Use Case Manager configuration" > +HOMEPAGE = "https://alsa-project.org" > +BUGTRACKER = "https://alsa-project.org/wiki/Bug_Tracking" > +LICENSE = "BSD-3-Clause" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=20d74d74db9741697903372ad001d3b4" > + > +# The tarball doesn't have any toplevel directory. The subdir option tells > +# Bitbake to unpack the archive to the correct place. > +SRC_URI = > "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2;subdir=${BP}" > +SRC_URI[md5sum] = "b7fa43cfd79df978184a6333766d2a50" > +SRC_URI[sha256sum] = > "ea8a86875f4cf430d49a662a04a6d6c606c5c9d67e54cb944c4d77b24554062f" > + > +inherit allarch
it's a bit late into the game.. but I have some questions about this patch. now that the alsa-ucm-conf are allarch, how do we expect a BSP layer to provide its own UCM config files? if i add a .bbappend file, I can't change PACKAGE_ARCH to be 'machine' specific. If i create a new recipe for my custom UCM files, then it's not obvious when I should install them, since we need them only if alsa-ucm-conf is installed in the first place.. I was thinking about adding an empty alsa-ucm-machine-conf recipe that BSP could append, like gpsd, e.g.: http://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-navigation/gpsd/gpsd-machine-conf_1.0.bb Is that a good idea? > + > +do_install() { > + install -d ${D}/usr/share/alsa > + cp -r ${S}/ucm ${D}/usr/share/alsa > + cp -r ${S}/ucm2 ${D}/usr/share/alsa > +} > + > +PACKAGES = "${PN}" > + > +FILES_${PN} = "*" > -- > 2.20.1 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
