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.7
Date: Wed, 14 Apr 2021 04:18:29 +0200	[thread overview]
Message-ID: <20210414021829.dH447sG5Z5K2gP5wU-7oyzOArI7jBTKwXLsA-hBsTSY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30198@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1592 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/30198

sof-firmware: update to 1.7
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 3c100333cd2b11d6dfffec8a0c8c72e622f5d81b Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@protonmail.com>
Date: Tue, 13 Apr 2021 22:16:03 -0400
Subject: [PATCH] sof-firmware: update to 1.7

The installation method utilizing the go.sh script included in the tarball no longer works.
As per the issue created on the topic (thesofproject/sof-bin#38), I have used rsync to copy
the files into the correct DESTDIR directories.
---
 srcpkgs/sof-firmware/template | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/sof-firmware/template b/srcpkgs/sof-firmware/template
index 544ce9c5893e..677fe02c3b79 100644
--- a/srcpkgs/sof-firmware/template
+++ b/srcpkgs/sof-firmware/template
@@ -1,23 +1,23 @@
 # Template file for 'sof-firmware'
 pkgname=sof-firmware
-version=1.6.1
-revision=2
+version=1.7
+revision=1
 archs="i686* x86_64*"
 wrksrc="sof-bin-${version}"
+hostmakedepends="rsync"
 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/v${version}.tar.gz"
-checksum=587b320030bc84de1aacba5d86d89ba1a4f67201baf8b9b61bb885af60643bfb
+distfiles="https://github.com/thesofproject/sof-bin/archive/refs/tags/v${version}.tar.gz"
+checksum=895d0199c06fc9b8bd8452fffff4f0d53134af451f63ffd1b78f04b10ef6c251
 
 do_install() {
-	vlicense LICENCE.NXP
-
-	export ROOT="${DESTDIR}/usr"
-	export SOF_VERSION="v${version}"
+	vmkdir usr/lib/firmware/intel/sof
+	vmkdir usr/lib/firmware/intel/sof-tplg
+	rsync -a "sof-v${version}/" "${DESTDIR}/usr/lib/firmware/intel/sof"
+	rsync -a "sof-tplg-v${version}/" "${DESTDIR}/usr/lib/firmware/intel/sof-tplg"
 
-	vmkdir usr/lib/firmware/intel
-	./go.sh
+	vlicense LICENCE.NXP
 }

  parent reply	other threads:[~2021-04-14  2:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-13  4:33 [PR PATCH] " cinerea0
2021-04-13  4:37 ` cinerea0
2021-04-13 15:21 ` ericonr
2021-04-13 15:21 ` ericonr
2021-04-14  2:18 ` cinerea0 [this message]
2021-04-14  2:23 ` cinerea0
2021-04-14  5:02 ` [PR PATCH] [Merged]: " 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=20210414021829.dH447sG5Z5K2gP5wU-7oyzOArI7jBTKwXLsA-hBsTSY@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).