summaryrefslogtreecommitdiffstats
path: root/abs/core/libao/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:51:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:51:40 (GMT)
commitbba84981f2b1fc815bda158d19522f759bbf5261 (patch)
treeaca3ce8c3ec69c4f0ad34f96d200f4b665f6c1a3 /abs/core/libao/PKGBUILD
parentaa076f2103fe1689b9504a2472fc40ecd0dbd506 (diff)
downloadlinhes_pkgbuild-bba84981f2b1fc815bda158d19522f759bbf5261.zip
linhes_pkgbuild-bba84981f2b1fc815bda158d19522f759bbf5261.tar.gz
linhes_pkgbuild-bba84981f2b1fc815bda158d19522f759bbf5261.tar.bz2
libao 1.1.0
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
}