Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: sof-bin-1.5.1
@ 2020-08-10  0:32 cinerea0
  2020-08-10  1:09 ` [PR REVIEW] " ericonr
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10  0:32 UTC (permalink / raw)
  To: ml

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

There is a new pull request by cinerea0 against master on the void-packages repository

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

New package: sof-bin-1.5.1
This commit adds `sof-bin`, a package requested in issue #24162 

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

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

From 8a3ad25eaa00c086a4a4698da079695c595c35f5 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@protonmail.com>
Date: Sun, 9 Aug 2020 20:29:01 -0400
Subject: [PATCH] New package: sof-bin-1.5.1

---
 srcpkgs/sof-bin/template | 42 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 srcpkgs/sof-bin/template

diff --git a/srcpkgs/sof-bin/template b/srcpkgs/sof-bin/template
new file mode 100644
index 00000000000..9af9c1b3aec
--- /dev/null
+++ b/srcpkgs/sof-bin/template
@@ -0,0 +1,42 @@
+# Template file for 'sof-bin'
+pkgname=sof-bin
+version=1.5.1
+revision=1
+archs="i686 x86_64"
+wrksrc=${pkgname}-stable-v${version}
+make_dirs="/usr/lib/firmware/intel/sof/intel-signed 0755 root root
+ /usr/lib/firmware/intel/sof/public-signed 0755 root root
+ /usr/lib/firmware/intel/sof-tplg 0755 root root"
+short_desc="Sound Open Firmware and topology binaries"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+license="custom:Intel, custom:NXP"
+homepage="https://thesofproject.github.io/latest/index.html"
+distfiles="https://github.com/thesofproject/sof-bin/archive/stable-v${version}.tar.gz"
+checksum=270125fb621b9919de4190f53a86de5dc1163dcf839c349f4b22724a5a9c1fb1
+
+do_install() {
+	local intel_path="lib/firmware/intel"
+	for f in ${intel_path}/sof/v${version}/*.{ldc,ri}; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof
+	done
+	for f in ${intel_path}/sof/v${version}/intel-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/intel-signed
+	done
+	for f in ${intel_path}/sof/v${version}/public-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/public-signed
+	done
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/sof-bdw-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-bdw.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/sof-byt-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-byt.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/sof-cht-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cht.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-apl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-apl.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-apl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-glk.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cfl.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cnl.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cml.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-icl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-icl.ri
+	for f in ${intel_path}/sof-tplg-v${version}/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof-tplg
+	done
+	vlicense LICENCE.Intel
+	vlicense LICENCE.NXP
+}

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2020-08-11 23:40 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
2020-08-10  1:09 ` [PR REVIEW] " ericonr
2020-08-10  1:09 ` ericonr
2020-08-10  1:09 ` ericonr
2020-08-10  1:25 ` ericonr
2020-08-10  1:56 ` [PR PATCH] [Updated] " cinerea0
2020-08-10  1:57 ` [PR REVIEW] " cinerea0
2020-08-10  2:00 ` cinerea0
2020-08-10  2:01 ` cinerea0
2020-08-10  2:07 ` cinerea0
2020-08-10  2:46 ` [PR PATCH] [Closed]: " cinerea0
2020-08-10  2:46 ` [PR PATCH] [Updated] " cinerea0
2020-08-10  2:48 ` cinerea0
2020-08-10  2:55 ` cinerea0
2020-08-10 14:10 ` sgn
2020-08-10 15:42 ` [PR PATCH] [Updated] " cinerea0
2020-08-10 16:01 ` cinerea0
2020-08-10 23:52 ` sgn
2020-08-11  1:32 ` [PR PATCH] [Updated] " cinerea0
2020-08-11  1:40 ` New package: sof-firmware-1.5.1 cinerea0
2020-08-11  7:19 ` kotoko
2020-08-11 14:00 ` sgn
2020-08-11 23:39 ` [PR PATCH] [Merged]: " Vaelatern
2020-08-11 23:40 ` Vaelatern

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).