summaryrefslogtreecommitdiffstats
path: root/abs/core/libao/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libao/PKGBUILD')
-rw-r--r--abs/core/libao/PKGBUILD43
1 files changed, 25 insertions, 18 deletions
diff --git a/abs/core/libao/PKGBUILD b/abs/core/libao/PKGBUILD
index 43cfe18..acc0d54 100644
--- a/abs/core/libao/PKGBUILD
+++ b/abs/core/libao/PKGBUILD
@@ -1,32 +1,39 @@
-# $Id: PKGBUILD 82932 2010-06-19 13:31:58Z ibiru $
-# Maintainer:
+# $Id: PKGBUILD 149069 2012-02-05 16:27:23Z bisson $
# Contributor: dorphell <dorphell@archlinux.org>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=libao
-pkgver=1.0.0
+pkgver=1.1.0
pkgrel=2
-pkgdesc="A cross-platform audio output library and plugins"
-url="http://www.xiph.org/ao"
+pkgdesc='Cross-platform audio output library and plugins'
+url='http://xiph.org/ao/'
arch=('i686' 'x86_64')
license=('GPL')
-depends=('glibc' 'alsa-lib')
-backup=('etc/libao.conf')
options=('!libtool')
+depends=('alsa-lib')
+#makedepends=('libpulse')
+backup=('etc/libao.conf')
source=("http://downloads.xiph.org/releases/ao/${pkgname}-${pkgver}.tar.gz"
- 'libao.conf')
-md5sums=('08283fbe1f587619053a156254afecec'
- '3ae8f3e3f1492210b3519af0f1f3c572')
+ 'libao.conf')
+sha1sums=('9301bc4886f170c7122ab62677fb71cf001c04fd'
+ '558b3d297e0956af6959565db477023dbd492ca0')
+
+#conflicts=('libao-pulse')
+#provides=("libao-pulse=${pkgver}-${pkgrel}")
+#replaces=('libao-pulse')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --enable-alsa-mmap \
+
+ make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
-
- # Add conf file
- install -Dm0644 ${srcdir}/libao.conf ${pkgdir}/etc/libao.conf || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 "${srcdir}"/libao.conf "${pkgdir}"/etc/libao.conf
}