Skip to content

Commit

Permalink
New package: speakersafetyd
Browse files Browse the repository at this point in the history
  • Loading branch information
SlimJiM authored and dkwo committed Jan 11, 2025
1 parent 7637ed0 commit 521eccd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions srcpkgs/speakersafetyd/files/speakersafetyd/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
exec 2>&1
exec /usr/bin/speakersafetyd -c /usr/share/speakersafetyd/ -b /var/lib/speakersafetyd/blackbox -m 7
21 changes: 21 additions & 0 deletions srcpkgs/speakersafetyd/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Template file for 'speakersafetyd'
pkgname=speakersafetyd
version=1.0.2
revision=1
build_style=cargo
hostmakedepends="alsa-lib pkg-config"
makedepends="alsa-lib-devel"
short_desc="Software Smart Amp implementation"
maintainer="dkwo <[email protected]>"
license="MIT"
homepage="https://github.com/AsahiLinux/speakersafetyd"
distfiles="https://github.com/AsahiLinux/speakersafetyd/archive/refs/tags/${version}.tar.gz"
checksum=844ae3719c029e826f58c3799b6e358d189b0c42ade7a91f6c35b960cae35919
make_dirs="/var/lib/speakersafetyd/blackbox 0755 root root"

post_install() {
DESTDIR="${DESTDIR}" make install-data
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib
vlicense LICENSE
vsv speakersafetyd
}

0 comments on commit 521eccd

Please sign in to comment.