debian swirl logo

Back to the packages list libcanberra

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
include /usr/share/cdbs/1/rules/autoreconf.mk

DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)

common-install-arch::
		find $(DEB_DESTDIR) -name "*.la" | xargs rm -f

common-binary-post-install-arch:: list-missing

DEB_CONFIGURE_EXTRA_FLAGS = 			\
		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
		--enable-pulse				\
		--enable-gstreamer			\
		--enable-gtk				\
		--enable-gtk-doc 			\
		--enable-tdb 				\
		--with-builtin=dso

# Linux-specific flags:
ifeq ($(DEB_HOST_ARCH_OS), linux)
DEB_CONFIGURE_EXTRA_FLAGS += --enable-alsa --disable-oss
else
DEB_CONFIGURE_EXTRA_FLAGS += --disable-alsa --enable-oss
endif

DEB_DH_MAKESHLIBS_ARGS_ALL += --exclude=usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/modules
DEB_DH_MAKESHLIBS_ARGS_ALL += --exclude=usr/lib/$(DEB_HOST_MULTIARCH)/gtk-3.0/modules
DEB_DH_MAKESHLIBS_ARGS_ALL += --exclude=usr/lib/$(DEB_HOST_MULTIARCH)/libcanberra-0.30
DEB_DH_MAKESHLIBS_ARGS_libcanberra0 += -- -c4
DEB_DH_MAKESHLIBS_ARGS_libcanberra-gtk0 += -- -c4
DEB_DH_MAKESHLIBS_ARGS_libcanberra-gtk3-0 += -- -c4

install/libcanberra-gtk3-module::
		cp -a src/canberra-gtk-module.desktop \
		      debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk3-module.desktop

Builds:

gnome-session-canberra
gnome session log in and log out sound events
libcanberra0-dbg
libcanberra libraries detached debugging symbols
libcanberra0
simple abstract interface for playing event sounds
libcanberra-dev
simple abstract interface for playing event sounds
libcanberra-doc
simple abstract interface for playing event sounds - doc
libcanberra-gstreamer-dbg
gstreamer libcanberra backend detached debugging symbols
libcanberra-gstreamer
gstreamer backend for libcanberra
libcanberra-gtk0-dbg
libcanberra-gtk libraries detached debugging symbols
libcanberra-gtk0
gtk+ helper for playing widget event sounds with libcanberra
libcanberra-gtk3-0-dbg
libcanberra-gtk libraries detached debugging symbols
libcanberra-gtk3-0
gtk+ 3.0 helper for playing widget event sounds with libcanberra
libcanberra-gtk3-dev
simple abstract interface for playing event sounds
libcanberra-gtk3-module-dbg
libcanberra gtkmodule detached debugging symbols
libcanberra-gtk3-module
translates gtk3 widgets signals to event sounds
libcanberra-gtk-common-dev
simple abstract interface for playing event sounds
libcanberra-gtk-dev
simple abstract interface for playing event sounds
libcanberra-gtk-module-dbg
libcanberra gtkmodule detached debugging symbols
libcanberra-gtk-module
translates gtk+ widgets signals to event sounds
libcanberra-pulse-dbg
pulseaudio libcanberra backend detached debugging symbols
libcanberra-pulse
pulseaudio backend for libcanberra