Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] sof-firmware: update to 1.6rc3; New package: alsa-ucm-conf-1.2.4
Date: Thu, 10 Dec 2020 08:32:22 +0100	[thread overview]
Message-ID: <20201210073222.EnOi8Nk1wkB8809X8plDrV5_493TkBlpZThYcQcdRQQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26003@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 830 bytes --]

There is an updated pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages sof
https://github.com/void-linux/void-packages/pull/26003

sof-firmware: update to 1.6rc3; New package: alsa-ucm-conf-1.2.4
In addition to updating this package to version 1.6, this commit incorporates unmerged fixes proposed in #24776 and #24271. It also fixes a distfile error regarding pulling from a branch vs pulling from a commit. I would have pinned the distfile to a release tag, but unfortunately the sof-firmware project does not yet use those, though they are aware of the problem as shown by https://github.com/thesofproject/sof-bin/issues/21.

Closes #24776
Closes #24271
Closes #26419

A patch file from https://github.com/void-linux/void-packages/pull/26003.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sof-26003.patch --]
[-- Type: text/x-diff, Size: 4115 bytes --]

From 3fbc6d60a0237ad04622e5470004dafa46b421ab Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@protonmail.com>
Date: Thu, 10 Dec 2020 02:24:39 -0500
Subject: [PATCH 1/2] New package: alsa-ucm-conf-1.2.4

---
 srcpkgs/alsa-ucm-conf/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/alsa-ucm-conf/template

diff --git a/srcpkgs/alsa-ucm-conf/template b/srcpkgs/alsa-ucm-conf/template
new file mode 100644
index 00000000000..1a222b9e3cc
--- /dev/null
+++ b/srcpkgs/alsa-ucm-conf/template
@@ -0,0 +1,18 @@
+# Template file for 'alsa-ucm-conf'
+pkgname=alsa-ucm-conf
+version=1.2.4
+revision=1
+short_desc="ALSA Use Case Manager topology configurations"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/alsa-project/alsa-ucm-conf"
+distfiles="https://www.alsa-project.org/files/pub/lib/${pkgname}-${version}.tar.bz2"
+checksum=2c3b535c77dcb9aaf62a61f4f8324f1ab184162f105f7ec9ed1e37c742fcd340
+
+do_install() {
+	vdoc ucm2/README.md
+	rm ucm2/README.md
+	vmkdir usr/share/alsa
+	vcopy ucm2 usr/share/alsa
+	vlicense LICENSE
+}

From bfb0b7e948fde2a358e4715f51d3f93ec9bad0dc Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@protonmail.com>
Date: Thu, 10 Dec 2020 02:28:21 -0500
Subject: [PATCH 2/2]  sof-firmware: update to 1.6rc3, Closes #24776, Closes
 #24271

---
 srcpkgs/sof-firmware/template | 32 +++++++++++++++++++-------------
 1 file changed, 19 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/sof-firmware/template b/srcpkgs/sof-firmware/template
index 00dfd262191..7ab46e76aa5 100644
--- a/srcpkgs/sof-firmware/template
+++ b/srcpkgs/sof-firmware/template
@@ -1,34 +1,40 @@
 # Template file for 'sof-firmware'
 pkgname=sof-firmware
-version=1.5.1
+version=1.6rc3
 revision=1
+_major=${version%rc*}
+_minor=${version#${_major}}
 archs="i686* x86_64*"
-wrksrc=sof-bin-stable-v${version}
+wrksrc="sof-bin-${_major}-${_minor}"
+depends="alsa-ucm-conf"
 short_desc="Sound Open Firmware and topology binaries"
 maintainer="cinerea0 <cinerea0@protonmail.com>"
 license="BSD-3-Clause"
 homepage="https://thesofproject.github.io/latest/index.html"
-distfiles="https://github.com/thesofproject/sof-bin/archive/stable-v${version}.tar.gz"
-checksum=270125fb621b9919de4190f53a86de5dc1163dcf839c349f4b22724a5a9c1fb1
+distfiles="https://github.com/thesofproject/sof-bin/archive/v${_major}-${_minor}.tar.gz"
+checksum=daefbeedfb26aa45ef73cc89d90f33dfb4c797244d40a00c8ac652ca3a5b4dce
 
 do_install() {
 	local intel_path="lib/firmware/intel"
-	for f in ${intel_path}/sof/v${version}/*.{ldc,ri}; do
+	for f in ${intel_path}/sof/v${_major}/*.{ldc,ri}; do
 		vinstall ${f} 0644 /usr/${intel_path}/sof
 	done
-	for f in ${intel_path}/sof/v${version}/intel-signed/*; do
+	for f in ${intel_path}/sof/v${_major}/intel-signed/*; do
 		vinstall ${f} 0644 /usr/${intel_path}/sof/intel-signed
 	done
-	for f in ${intel_path}/sof/v${version}/public-signed/*; do
+	for f in ${intel_path}/sof/v${_major}/public-signed/*; do
 		vinstall ${f} 0644 /usr/${intel_path}/sof/public-signed
 	done
-	for arc in {bdw,byt,cht,apl,cnl,icl}; do
-		ln -s sof-${arc}-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-${arc}.ri
+	for arc in {bdw,byt,cht}; do
+		ln -s sof-${arc}-v${_major}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-${arc}.ri
 	done
-	ln -s sof-apl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-glk.ri
-	ln -s sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cfl.ri
-	ln -s sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cml.ri
-	for f in ${intel_path}/sof-tplg-v${version}/*; do
+	for arc in {apl,cnl,icl}; do
+		ln -s intel-signed/sof-${arc}-v${_major}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-${arc}.ri
+	done
+	ln -s intel-signed/sof-apl-v${_major}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-glk.ri
+	ln -s intel-signed/sof-cnl-v${_major}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cfl.ri
+	ln -s intel-signed/sof-cnl-v${_major}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cml.ri
+	for f in ${intel_path}/sof-tplg-v${_major}/*; do
 		vinstall ${f} 0644 /usr/${intel_path}/sof-tplg
 	done
 	vlicense LICENCE.NXP

  parent reply	other threads:[~2020-12-10  7:32 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-31 17:05 [PR PATCH] sof-firmware: update to 1.6 cinerea0
2020-11-02  2:45 ` cinerea0
2020-11-02  5:21 ` Johnnynator
2020-11-06  0:33 ` [PR PATCH] [Updated] " cinerea0
2020-11-06 15:15 ` cinerea0
2020-11-24  0:42 ` ericonr
2020-12-06 18:15 ` sof-firmware: update to 1.6rc3; New package: alsa-ucm-conf-1.2.4 cinerea0
2020-12-06 22:45 ` [PR REVIEW] " ericonr
2020-12-06 22:45 ` ericonr
2020-12-06 22:45 ` ericonr
2020-12-06 22:45 ` ericonr
2020-12-06 22:45 ` ericonr
2020-12-06 22:45 ` ericonr
2020-12-06 22:45 ` ericonr
2020-12-06 22:45 ` ericonr
2020-12-06 22:46 ` ericonr
2020-12-06 22:46 ` ericonr
2020-12-07  0:52 ` cinerea0
2020-12-07  0:53 ` cinerea0
2020-12-07  0:54 ` cinerea0
2020-12-07  0:56 ` ericonr
2020-12-07  1:14 ` cinerea0
2020-12-07  1:36 ` cinerea0
2020-12-07  2:03 ` ericonr
2020-12-07  3:22 ` cinerea0
2020-12-07  3:58 ` ericonr
2020-12-07  4:11 ` [PR PATCH] [Updated] " cinerea0
2020-12-07  4:18 ` cinerea0
2020-12-07  7:32 ` [PR REVIEW] " cinerea0
2020-12-07 14:43 ` ericonr
2020-12-10  7:28 ` [PR PATCH] [Updated] " cinerea0
2020-12-10  7:29 ` [PR REVIEW] " cinerea0
2020-12-10  7:32 ` cinerea0 [this message]
2020-12-10  7:41 ` cinerea0
2020-12-10 15:22 ` [PR REVIEW] " ericonr
2020-12-10 15:24 ` ericonr
2020-12-10 18:35 ` [PR REVIEW] " cinerea0
2020-12-10 18:43 ` [PR PATCH] [Updated] " cinerea0
2020-12-10 18:47 ` cinerea0
2020-12-10 18:48 ` [PR REVIEW] " ericonr
2020-12-10 18:48 ` [PR PATCH] [Merged]: " ericonr
2020-12-10 20:38 ` [PR REVIEW] " cinerea0
2020-12-10 20:41 ` ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201210073222.EnOi8Nk1wkB8809X8plDrV5_493TkBlpZThYcQcdRQQ@z \
    --to=cinerea0@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).