[arch-commits] Commit in libcanberra/trunk (PKGBUILD libcanberra.install)
Jan de Groot
jgc at archlinux.org
Wed Oct 31 10:32:46 UTC 2012
Date: Wednesday, October 31, 2012 @ 06:32:45
Author: jgc
Revision: 170058
upgpkg: libcanberra 0.30-1
Update to 0.30, uses GStreamer 1.0 now
Modified:
libcanberra/trunk/PKGBUILD
libcanberra/trunk/libcanberra.install
---------------------+
PKGBUILD | 15 ++++++---------
libcanberra.install | 22 ++--------------------
2 files changed, 8 insertions(+), 29 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-31 10:24:44 UTC (rev 170057)
+++ PKGBUILD 2012-10-31 10:32:45 UTC (rev 170058)
@@ -3,18 +3,18 @@
pkgbase=libcanberra
pkgname=(libcanberra libcanberra-pulse libcanberra-gstreamer)
-pkgver=0.28
-pkgrel=5
+pkgver=0.30
+pkgrel=1
pkgdesc="A small and lightweight implementation of the XDG Sound Theme Specification"
arch=(i686 x86_64)
license=('LGPL')
depends=('libvorbis' 'libltdl' 'alsa-lib' 'tdb')
-makedepends=('gtk-doc' 'libpulse' 'gstreamer0.10' 'gtk2' 'gtk3')
+makedepends=('gtk-doc' 'libpulse' 'gstreamer' 'gtk2' 'gtk3')
options=(!emptydirs)
url=http://0pointer.de/lennart/projects/libcanberra
-source=(http://0pointer.de/lennart/projects/${pkgbase}/${pkgbase}-${pkgver}.tar.gz
+source=(http://0pointer.de/lennart/projects/${pkgbase}/${pkgbase}-${pkgver}.tar.xz
libcanberra.xinit)
-sha256sums=('eb1f8b2cabad7f07b6e44d606a91d73e1efca4b46daf92bd553e7222bc68868c'
+sha256sums=('c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72'
'68a68d66b7491f99d5aa09fe7c6ef4eb38352a2a8ff7997d184d1cbc5e80c0d3')
build() {
@@ -36,9 +36,6 @@
rm -f "${pkgdir}"/usr/lib/libcanberra-gtk*.la
rm -f "${pkgdir}"/usr/lib/gtk-{2,3}.0/modules/*.la
- install -d "${pkgdir}/usr/share/gconf"
- mv "${pkgdir}/etc/gconf/schemas" "${pkgdir}/usr/share/gconf/"
-
install -D "${srcdir}/libcanberra.xinit" \
"${pkgdir}/etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module"
@@ -61,7 +58,7 @@
package_libcanberra-gstreamer() {
pkgdesc="GStreamer plugin for libcanberra"
- depends=("$pkgbase=$pkgver-$pkgrel" 'gstreamer0.10')
+ depends=("$pkgbase=$pkgver-$pkgrel" 'gstreamer')
cd "${srcdir}/${pkgbase}-${pkgver}"
Modified: libcanberra.install
===================================================================
--- libcanberra.install 2012-10-31 10:24:44 UTC (rev 170057)
+++ libcanberra.install 2012-10-31 10:32:45 UTC (rev 170058)
@@ -1,23 +1,5 @@
-pkgname=libcanberra
-
-post_install() {
- if [ -x usr/sbin/gconfpkg ]; then
- usr/sbin/gconfpkg --install ${pkgname}
- fi
-}
-
pre_upgrade() {
- if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
- pre_remove
+ if [ -f usr/share/gconf/schemas/libcanberra.schemas ] && [ -x usr/sbin/gconfpkg ]; then
+ usr/sbin/gconfpkg --uninstall libcanberra
fi
}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- if [ -x usr/sbin/gconfpkg ]; then
- usr/sbin/gconfpkg --uninstall ${pkgname}
- fi
-}
More information about the arch-commits
mailing list