Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audio PKGBUILDs #40

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions alsa-ucm-conf-asahi/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Maintainer: Janne Grunau <[email protected]>

pkgname=alsa-ucm-conf-asahi
pkgver=3
pkgver=5
pkgrel=1
pkgdesc="ALSA Use Case Manager configuration (and topologies) for Apple silicon devices"
arch=(any)
depends=('alsa-ucm-conf>=1.2.7.2')
url="https://asahilinux.org/"
license=(BSD)
_commit_id=v$pkgver
source=("$pkgname-$pkgver-$_commit_id.tar.gz::https://github.com/povik/$pkgname/archive/$_commit_id.tar.gz")
sha512sums=('11a778ff409978029f8aa9c92963cde2ecc5bf6c97895e811138338a23f3f110e8826554e5719f1333259cadfb365f007995a83024413182eb845f611f5df517')
b2sums=('6c10625ebcf7db4390f5f40c7d2d815b63edc097132a2dba1122dcde9a4612150934ca0e97f54351ad7993704f8614ad1856e25d692fa2c1eacb700fd9736719')
source=("$pkgname-$pkgver-$_commit_id.tar.gz::https://github.com/AsahiLinux/$pkgname/archive/$_commit_id.tar.gz")
sha512sums=('4e2f8b0108c0ec4168ebe1dae88da0b486cc26695ca89fc450340fbc5532616847eb9c49097be5216e8b7b8cb7c62ac78032d253d4264ac0d0378817bf85af81')
b2sums=('6da8c0d399330f18daef68b82056bf5da1b6d6e104ff34aab09af7c722433163facb89feaaa1e0ba162aff79b3ef2f14394982e9068d1b5056d99c0a0ac6a7f4')

package() {
cd $pkgname-${_commit_id##v}
Expand Down
25 changes: 25 additions & 0 deletions asahi-audio/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Maintainer: Hector Martin <[email protected]>

pkgname=asahi-audio
pkgver=1.6
pkgrel=1
pkgdesc='Linux Userspace Audio Configuration'
arch=('aarch64')
url='http://asahilinux.org'
license=('MIT')
makedepends=(wireplumber pipewire)
depends=('wireplumber>=0.4.16' pipewire bankstown lsp-plugins-lv2 speakersafetyd)
source=(
"asahi-audio-${pkgver}.tar.gz::https://github.com/AsahiLinux/asahi-audio/archive/refs/tags/v${pkgver}.tar.gz"
)
sha256sums=('03bd59292d9fb10f3cbb925603cd5648e9b97c83151a4089de864f53f4c1478e')

build() {
cd "${srcdir}/asahi-audio-${pkgver}"
make
}

package() {
cd "${srcdir}/asahi-audio-${pkgver}"
make DESTDIR="${pkgdir}" install
}
2 changes: 1 addition & 1 deletion asahi-desktop-meta/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ install=asahi-desktop-meta.install

package() {
# Put depends in package() to avoid unecessary build dependencies
depends=(bluedevil bluez-utils bluez-tools pipewire pipewire-audio pipewire-pulse pipewire-alsa wireplumber)
depends=(bluedevil bluez-utils bluez-tools pipewire pipewire-audio pipewire-pulse pipewire-alsa wireplumber asahi-audio bankstown speakersafetyd)

This comment was marked as resolved.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that may be a good idea, yes

}

# vim: ts=2 sw=2 et:
24 changes: 24 additions & 0 deletions bankstown/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Maintainer: Hector Martin <[email protected]>

pkgname=bankstown
pkgver=1.1.0
pkgrel=1
pkgdesc='a barebones bass enhancer'
arch=('aarch64')
url='http://asahilinux.org'
depends=('lv2')
license=('MIT')
source=(
"bankstown-${pkgver}.tar.gz::https://github.com/chadmed/bankstown/archive/refs/tags/${pkgver}.tar.gz"
)
sha256sums=('e877508b73fe90774d74526d838f75e8ea278bdbcee0a1f92e3eca67ed734675')

build() {
cd "${srcdir}/bankstown-${pkgver}"
make
}

package() {
cd "${srcdir}/bankstown-${pkgver}"
make LIBDIR=/usr/lib DESTDIR="${pkgdir}" install
}
25 changes: 25 additions & 0 deletions speakersafetyd/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Maintainer: Hector Martin <[email protected]>

pkgname=speakersafetyd
pkgver=0.1.9
commit=045dbfb5b59c6835d13278d85d874b83097fa083
pkgrel=1
pkgdesc='Asahi Linux speaker safety daemon'
arch=('aarch64')
url='http://asahilinux.org'
depends=('alsa-lib')
license=('MIT')
source=(
"speakersafetyd-${commit}.tar.gz::https://github.com/chadmed/speakersafetyd/archive/${commit}.tar.gz"
)
sha256sums=('df84178387acd5a579778269d3d50a64827d6a19455ff6eb81ce83df3ec253b9')

build() {
cd "${srcdir}/speakersafetyd-${commit}"
make
}

package() {
cd "${srcdir}/speakersafetyd-${commit}"
make DESTDIR="${pkgdir}" UNITDIR=/usr/lib/systemd/system UDEVDIR=/usr/lib/udev/rules.d install
}