alsa-ucm-conf: 1.2.12 -> 1.2.14
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "alsa-ucm-conf";
|
||||
version = "1.2.12";
|
||||
version = "1.2.14";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://alsa/lib/alsa-ucm-conf-${finalAttrs.version}.tar.bz2";
|
||||
hash = "sha256-Fo58BUm3v4mRCS+iv7kDYx33edxMQ+6PQnf8t3LYwDU=";
|
||||
hash = "sha256-MumAn1ktkrl4qhAy41KTwzuNDx7Edfk3Aiw+6aMGnCE=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
@@ -25,21 +25,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace ucm2/lib/card-init.conf \
|
||||
--replace-fail "/bin/rm" "${coreutils}/bin/rm" \
|
||||
--replace-fail "/bin/mkdir" "${coreutils}/bin/mkdir"
|
||||
|
||||
files=(
|
||||
"ucm2/HDA/HDA.conf"
|
||||
"ucm2/codecs/rt715/init.conf"
|
||||
"ucm2/codecs/rt715-sdca/init.conf"
|
||||
"ucm2/Intel/cht-bsw-rt5672/cht-bsw-rt5672.conf"
|
||||
"ucm2/Intel/bytcr-rt5640/bytcr-rt5640.conf"
|
||||
)
|
||||
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
for file in "''${files[@]}"; do
|
||||
substituteInPlace "$file" \
|
||||
--replace-fail '/sbin/modprobe' '${kmod}/bin/modprobe'
|
||||
done
|
||||
substituteInPlace ucm2/common/ctl/led.conf \
|
||||
--replace-fail '/sbin/modprobe' '${kmod}/bin/modprobe'
|
||||
''
|
||||
+ ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user