New libcanberra for pulse

This commit is contained in:
Manuel 2011-05-08 10:34:18 +00:00
parent fecb59ed43
commit e02f94ba47
2 changed files with 14 additions and 7 deletions

View File

@ -291,7 +291,14 @@ packs=('ar'
# done
for it in ${packs[@]} ; do
pushd "kde-l10n-$it-$pkgver"
# Remove kdepim-runtime translations
pushd "kde-l10n-$it-$pkgver/messages/"
sed -i -e "s~add_subdirectory(kdepim-runtime)~~g" CMakeLists.txt
rm -rfv kdepim-runtime
popd
pushd "kde-l10n-$it-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=${_installprefix} -DCMAKE_BUILD_TYPE=Release
make || return 1
#make DESTDIR=${pkgdir} install

View File

@ -6,9 +6,9 @@
pkgbase=libcanberra
pkgname=(libcanberra libcanberra-pulse libcanberra-gstreamer)
pkgver=0.26
pkgrel=2
pkgdesc="A small and lightweight implementation of the XDG Sound Theme Specification without gtk support"
pkgver=0.28
pkgrel=1
pkgdesc="A small and lightweight implementation of the XDG Sound Theme Specification"
arch=(i686 x86_64)
license=('LGPL')
depends=('libvorbis>=1.3.1' 'libtool' 'alsa-lib>=1.0.23' 'tdb>=1.2.1')
@ -16,13 +16,13 @@ makedepends=('libpulse' 'gstreamer0.10>=0.10.30')
options=(!emptydirs)
url=http://0pointer.de/lennart/projects/libcanberra
source=(http://0pointer.de/lennart/projects/${pkgbase}/${pkgbase}-${pkgver}.tar.gz)
md5sums=('ee2c66ada7c851a4e7b6eb1682285a24')
md5sums=('c198b4811598c4c161ff505e4531b02c')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var \
--disable-static --with-builtin=dso --enable-null --disable-oss \
--enable-alsa --enable-gstreamer --enable-pulse --disable-gtk
--enable-alsa --enable-gstreamer --enable-pulse --disable-gtk
make
}
@ -63,4 +63,4 @@ package_libcanberra-gstreamer() {
mkdir -p "${pkgdir}/usr/lib/${pkgbase}-${pkgver}"
mv gstreamer-plugin/* "${pkgdir}/usr/lib/${pkgbase}-${pkgver}"
}
}