summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libcanberra/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/user/libcanberra/APKBUILD b/user/libcanberra/APKBUILD
index 9d2431be0..bd41ad019 100644
--- a/user/libcanberra/APKBUILD
+++ b/user/libcanberra/APKBUILD
@@ -2,16 +2,15 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libcanberra
pkgver=0.30
-pkgrel=3
+pkgrel=4
pkgdesc="Event sound library for free desktops"
url="http://0pointer.de/lennart/projects/libcanberra/"
arch="all"
options="!check" # No test suite.
license="LGPL-2.1+"
-depends=""
-depends_dev="alsa-lib-dev gstreamer-dev gtk+2.0-dev gtk+3.0-dev libogg-dev
- libtool libvorbis-dev pulseaudio-dev"
-makedepends="$depends_dev lynx"
+depends="sound-theme-freedesktop"
+makedepends="alsa-lib-dev gstreamer-dev gtk+2.0-dev gtk+3.0-dev libogg-dev
+ libtool libvorbis-dev lynx pulseaudio-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-gtk2 $pkgname-gtk3
$pkgname-gstreamer $pkgname-pulse"
source="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$pkgver.tar.xz"
@@ -42,6 +41,7 @@ package() {
gtk2() {
pkgdesc="Gtk+ 2.x Bindings for libcanberra"
+ install_if="$pkgname=$pkgver-r$pkgrel gtk+2.0"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libcanberra-gtk.so.* \
"$subpkgdir"/usr/lib/
@@ -51,6 +51,7 @@ gtk2() {
gtk3() {
pkgdesc="Gtk+ 3.x Bindings for libcanberra"
+ install_if="$pkgname=$pkgver-r$pkgrel gtk+3.0"
mkdir -p "$subpkgdir"/usr/lib/gnome-settings-daemon-3.0/gtk-modules \
"$subpkgdir"/usr/bin \
"$subpkgdir"/usr/share/gnome/autostart \