summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-22 00:34:32 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-22 00:34:32 +0000
commita895c65799ca7016076f919a18ae01622a19b0f3 (patch)
tree9be608db670bc9ce1fb3908ee898ed74fcfa37dc /user
parent4835de62ddcc349abf3d969c5c1556e3ad464f1a (diff)
downloadpackages-a895c65799ca7016076f919a18ae01622a19b0f3.tar.gz
packages-a895c65799ca7016076f919a18ae01622a19b0f3.tar.bz2
packages-a895c65799ca7016076f919a18ae01622a19b0f3.tar.xz
packages-a895c65799ca7016076f919a18ae01622a19b0f3.zip
user/libcanberra: ship with sound support, fix split packages
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 \