* update sndio to 1.10.0-1

This commit is contained in:
Alexander Baldeck 2024-10-08 21:36:14 +02:00
parent 7011bf5e49
commit 37e9233f33
3 changed files with 44 additions and 17 deletions

22
sndio/.SRCINFO Normal file
View File

@ -0,0 +1,22 @@
pkgbase = sndio
pkgdesc = A small audio and MIDI framework
pkgver = 1.10.0
pkgrel = 1
url = https://sndio.org
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = ISC
depends = alsa-lib
depends = libbsd
provides = libsndio.so
backup = etc/default/sndiod
source = https://sndio.org/sndio-1.10.0.tar.gz
source = https://sndio.org/sndio-1.10.0.tar.gz.asc
validpgpkeys = 6B1A7447AAF091CCDD36BAA6015E339411694A6E
sha256sums = bebd3bfd01c50c9376cf3e7814b9379bed9e17d0393b5113b7eb7a3d0d038c54
sha256sums = SKIP
pkgname = sndio

4
sndio/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[sndio]
source = "git"
git = "https://sndio.org/git/sndio"
prefix = "v"

View File

@ -1,10 +1,11 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: T.J. Townsend <blakkheim@archlinux.org>
# Maintainer:
# Contributor: T.J. Townsend <blakkheim@archlinux.org>
# Contributor: Ivy Foster <iff@archlinux.org>
pkgname=sndio
pkgver=1.9.0
pkgrel=2
pkgver=1.10.0
pkgrel=1
pkgdesc='A small audio and MIDI framework'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://sndio.org'
@ -16,28 +17,28 @@ depends=(alsa-lib libbsd)
provides=(libsndio.so)
backup=(etc/default/sndiod)
source=("https://sndio.org/sndio-$pkgver.tar.gz"{,.asc})
sha256sums=('f30826fc9c07e369d3924d5fcedf6a0a53c0df4ae1f5ab50fe9cf280540f699a'
sha256sums=('bebd3bfd01c50c9376cf3e7814b9379bed9e17d0393b5113b7eb7a3d0d038c54'
'SKIP')
validpgpkeys=('6B1A7447AAF091CCDD36BAA6015E339411694A6E') # Alexandre Ratchov <alex@caoua.org>
build() {
cd "sndio-$pkgver"
./configure --prefix=/usr --enable-alsa --with-libbsd
make
cd "sndio-$pkgver"
./configure --prefix=/usr --enable-alsa --with-libbsd
make
}
package() {
cd "sndio-$pkgver"
cd "sndio-$pkgver"
make DESTDIR="$pkgdir/" install
make DESTDIR="$pkgdir/" install
install -D -m 644 contrib/sndiod.service \
"$pkgdir/usr/lib/systemd/system/sndiod.service"
install -D -m 644 contrib/default.sndiod \
"$pkgdir/etc/default/sndiod"
install -D -m 644 contrib/sndiod.service \
"$pkgdir/usr/lib/systemd/system/sndiod.service"
install -D -m 644 contrib/default.sndiod \
"$pkgdir/etc/default/sndiod"
install -d "$pkgdir/usr/share/licenses/sndio"
# this is the most up-to-date license outside of bsd-compat,
# which isn't being used in this build
sed '/^ \*\//q' libsndio/sioctl.c > "$pkgdir/usr/share/licenses/sndio/LICENSE"
install -d "$pkgdir/usr/share/licenses/sndio"
# this is the most up-to-date license outside of bsd-compat,
# which isn't being used in this build
sed '/^ \*\//q' libsndio/sioctl.c > "$pkgdir/usr/share/licenses/sndio/LICENSE"
}