From a0f83cf72a97a8a5eb4f19df0221f4ea8850baae Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 21 Dec 2012 15:39:55 +0100 Subject: [PATCH] New package: libao-1.1.0. --- common/shlibs | 1 + srcpkgs/libao-devel | 1 + srcpkgs/libao/files/libao.conf | 1 + srcpkgs/libao/libao-devel.template | 12 ++++++++++++ srcpkgs/libao/template | 20 ++++++++++++++++++++ 5 files changed, 35 insertions(+) create mode 120000 srcpkgs/libao-devel create mode 100644 srcpkgs/libao/files/libao.conf create mode 100644 srcpkgs/libao/libao-devel.template create mode 100644 srcpkgs/libao/template diff --git a/common/shlibs b/common/shlibs index a723f47a0f..cd43fd861e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1137,3 +1137,4 @@ libpurple.so.0 libpurple-2.10.6_1 libpurple-client.so.0 libpurple-2.10.6_1 libgnt.so.0 libgnt-2.10.6_1 libvarnishapi.so.1 libvarnishapi-3.0.3_1 +libao.so.4 libao-1.1.0_1 diff --git a/srcpkgs/libao-devel b/srcpkgs/libao-devel new file mode 120000 index 0000000000..560aebcde6 --- /dev/null +++ b/srcpkgs/libao-devel @@ -0,0 +1 @@ +libao \ No newline at end of file diff --git a/srcpkgs/libao/files/libao.conf b/srcpkgs/libao/files/libao.conf new file mode 100644 index 0000000000..c4eb5cdc33 --- /dev/null +++ b/srcpkgs/libao/files/libao.conf @@ -0,0 +1 @@ +default_driver=alsa diff --git a/srcpkgs/libao/libao-devel.template b/srcpkgs/libao/libao-devel.template new file mode 100644 index 0000000000..008aa3907c --- /dev/null +++ b/srcpkgs/libao/libao-devel.template @@ -0,0 +1,12 @@ +# Template file for 'libao-devel'. +# +noarch=yes +depends="libao>=${version}" +short_desc="${short_desc} -- development files" + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove usr/share/doc usr/share + vmove usr/share/aclocal usr/share +} diff --git a/srcpkgs/libao/template b/srcpkgs/libao/template new file mode 100644 index 0000000000..29a60bd411 --- /dev/null +++ b/srcpkgs/libao/template @@ -0,0 +1,20 @@ +# Template file for 'libao' +pkgname=libao +version=1.1.0 +revision=1 +build_style=gnu-configure +configure_args="--enable-alsa-mmap" +homepage="http://xiph.org/ao/" +short_desc="Cross-platform audio output library" +maintainer="Juan RP " +license="GPL-2" +distfiles="http://downloads.xiph.org/releases/ao/${pkgname}-${version}.tar.gz" +checksum=29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4 + +subpackages="libao-devel" +makedepends="pkg-config alsa-lib-devel pulseaudio-devel" +conf_files="/etc/libao.conf" + +post_install() { + vinstall ${FILESDIR}/libao.conf 644 etc +}