🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940
pkgname: libao
pkgver: '1.2.2-git'
pkgrel: '2'
pkgdesc: 'Cross-platform audio output library and plugins'
url: 'https://xiph.org/ao/'
arch: x86_64
depends: []
makedepends:
- 'alsa-lib'
- pulseaudio
- git
source: []
sha256sums: []
build: |
git clone https://gitlab.xiph.org/xiph/libao.git ${pkgname}
cd ${pkgname}
./autogen.sh
./configure --prefix=/usr \
--enable-alsa-mmap
make
make DESTDIR=${PKGDIR} install
mkdir -p ${PKGDIR}/etc/
cat > ${PKGDIR}/etc/libao.conf << "EOF"
default_driver=alsa
dev=default
EOF
# Obsolets libs
rm -f ${PKGDIR}/usr/lib/ao/plugins-4/libalsa.la
rm -f ${PKGDIR}/usr/lib/ao/plugins-4/liboss.la
rm -f ${PKGDIR}/usr/lib/ao/plugins-4/libpulse.la
rm -f ${PKGDIR}/usr/lib/libao.la
package: |
true