From a745c18b7cba0a02e6dc57b8c234631948ee7ddf Mon Sep 17 00:00:00 2001 From: Alexander Zhirov Date: Thu, 14 Mar 2024 18:57:22 +0300 Subject: [PATCH] added libao package --- packages/l/libao/Pkgfile | 25 +++++++++++++++++++++++++ packages/l/libao/libao.conf | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 packages/l/libao/Pkgfile create mode 100644 packages/l/libao/libao.conf diff --git a/packages/l/libao/Pkgfile b/packages/l/libao/Pkgfile new file mode 100644 index 0000000..5af57c9 --- /dev/null +++ b/packages/l/libao/Pkgfile @@ -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 +} diff --git a/packages/l/libao/libao.conf b/packages/l/libao/libao.conf new file mode 100644 index 0000000..f8f7edb --- /dev/null +++ b/packages/l/libao/libao.conf @@ -0,0 +1,3 @@ +default_driver=alsa +dev=default +quiet