New comment by cinerea0 on void-packages repository https://github.com/void-linux/void-packages/pull/27917#issuecomment-763352523 Comment: Good news: I was able to find a way to use their own script to do the installation with only a little bit of patching required; I'll copy my files below. Bad news: I also realized that this package didn't install the firmware tools that come with it, and in my attempt to do so I've run into another problem. The xbps-src error I've encountered is `SONAME: libsof_tplg_parser.so <-> UNKNOWN PKG PLEASE FIX!`. I know this is a problem with `common/shlibs`, but for the life of me I can't figure out where this library comes from. Changed part of the template: ```shell do_install() { for bin in tools/v${version}/*; do vbin ${bin} done vlicense LICENCE.NXP vmkdir usr/lib/firmware/intel export ROOT=${DESTDIR} export SOF_VERSION=v${version} ./go.sh } ``` go.sh.patch: ```patch --- go.sh 2020-12-18 07:13:44.000000000 -0500 +++ "go (copy).sh" 2021-01-20 00:29:55.823488423 -0500 @@ -11,13 +11,13 @@ test -n "${ROOT}" || \ ROOT= test -n "${INTEL_PATH}" || \ - INTEL_PATH=lib/firmware/intel + INTEL_PATH=usr/lib/firmware/intel test -n "${SOF_VERSION}" || \ SOF_VERSION=$(git symbolic-ref HEAD 2>/dev/null | cut -d"/" -f 3| cut -d"-" -f 2) test -n "${SOF_VERSION}" || \ { echo "Can't work out SOF_VERSION using git, please specify SOF_VERSION as environment variable"; exit 1; } -test -d ${INTEL_PATH}/sof-tplg-${SOF_VERSION} || \ +test -d lib/firmware/intel/sof-tplg-${SOF_VERSION} || \ { echo "Can't find version ${SOF_VERSION} - are you missing leading v?"; exit 2; } echo "Installing Intel firmware and topology $SOF_VERSION to $INTEL_PATH" @@ -28,8 +28,9 @@ rm -rf ${ROOT}/${INTEL_PATH}/sof-tplg # copy to destination -cd lib/firmware -cp -rf intel ${ROOT}/lib/firmware +cd lib/firmware/intel +cp -rf sof ${ROOT}/${INTEL_PATH} +cp -rf sof-tplg-${SOF_VERSION} ${ROOT}/${INTEL_PATH} # add symlinks cd ${ROOT}/${INTEL_PATH}/sof ```