added libao package

This commit is contained in:
Alexander Zhirov 2024-03-14 18:57:22 +03:00
parent 3e7934904e
commit a745c18b7c
2 changed files with 28 additions and 0 deletions

25
packages/l/libao/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# Description: A Cross-platform Audio Library
# URL: https://xiph.org/ao/
# Maintainer: Alexander Zhirov
# Depends on: glibc alsa-lib pulseaudio autoconf
name=libao
version=1.2.2
release=1
source=(
https://gitlab.xiph.org/xiph/${name}/-/archive/${version}/${name}-${version}.tar.gz
libao.conf
)
build() {
cd ${name}-${version}
autoreconf -fiv
./configure --prefix=/usr --enable-alsa-mmap
make
make DESTDIR="$PKG" install
install -vDm 644 ../libao.conf -t "$PKG/etc/"
rm -rf $PKG/usr/share/doc
}

View File

@ -0,0 +1,3 @@
default_driver=alsa
dev=default
quiet