[arch-commits] Commit in libcanberra/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Fri Apr 1 19:04:38 UTC 2022
Date: Friday, April 1, 2022 @ 19:04:38
Author: heftig
Revision: 441189
0.30+r2+gc0620e4-1: debug on
Modified:
libcanberra/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-01 19:04:28 UTC (rev 441188)
+++ PKGBUILD 2022-04-01 19:04:38 UTC (rev 441189)
@@ -1,8 +1,10 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=libcanberra
-pkgver=0.30+2+gc0620e4
-pkgrel=5
+pkgver=0.30+r2+gc0620e4
+pkgrel=1
+epoch=1
pkgdesc="A small and lightweight implementation of the XDG Sound Theme Specification"
url="http://0pointer.de/lennart/projects/libcanberra"
arch=(x86_64)
@@ -9,9 +11,9 @@
license=(LGPL)
depends=(libvorbis libltdl alsa-lib libpulse tdb sound-theme-freedesktop)
makedepends=(gtk-doc gtk2 gtk3 git)
-provides=("libcanberra-pulse=$pkgver-$pkgrel" libcanberra{,-gtk,-gtk3}.so)
+provides=(libcanberra-pulse libcanberra{,-gtk,-gtk3}.so)
replaces=("libcanberra-pulse<0.30+2+gc0620e4-4")
-options=(libtool)
+options=(libtool debug)
_commit=c0620e432650e81062c1967cc669829dbd29b310 # master
source=("git+http://git.0pointer.net/clone/libcanberra.git#commit=$_commit"
40-libcanberra-gtk-module.sh
@@ -22,7 +24,7 @@
pkgver() {
cd libcanberra
- git describe --tags | sed 's/^v//;s/-/+/g'
+ git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
@@ -30,7 +32,7 @@
# https://bugs.archlinux.org/task/71341
# https://bugs.freedesktop.org/show_bug.cgi?id=51662
- patch -Np1 -i ../libcanberra-multi-backend.patch
+ git apply -3 ../libcanberra-multi-backend.patch
./autogen.sh
}
More information about the arch-commits
mailing list