summaryrefslogtreecommitdiff
path: root/package/multimedia/pulseaudio/pulseaudio.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-10-19 15:25:11 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-20 17:12:57 +0200
commitd96e977e372a9b7b7c681fc7bc6902211273ea1e (patch)
tree0d3063d8aeaa42c810fa12759c7c3b5add9dce8a /package/multimedia/pulseaudio/pulseaudio.mk
parent6206828e3f39721fc0a567818d967236b1afc97c (diff)
package: add pulseaudio
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/pulseaudio/pulseaudio.mk')
-rw-r--r--package/multimedia/pulseaudio/pulseaudio.mk40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/multimedia/pulseaudio/pulseaudio.mk b/package/multimedia/pulseaudio/pulseaudio.mk
new file mode 100644
index 000000000..0686d39ae
--- /dev/null
+++ b/package/multimedia/pulseaudio/pulseaudio.mk
@@ -0,0 +1,40 @@
+################################################################################
+#
+# pulseaudio
+#
+################################################################################
+
+PULSEAUDIO_VERSION = 1.0
+PULSEAUDIO_SITE = http://freedesktop.org/software/pulseaudio/releases/
+PULSEAUDIO_INSTALL_STAGING = YES
+PULSEAUDIO_CONF_OPT = \
+ --localstatedir=/var \
+ --disable-default-build-tests \
+ --disable-legacy-runtime-dir \
+ --disable-legacy-database-entry-format
+
+PULSEAUDIO_DEPENDENCIES = \
+ host-pkg-config libtool json-c libsndfile speex \
+ $(if $(BR2_PACKAGE_LIBINTL),libintl) \
+ $(if $(BR2_PACKAGE_LIBATOMIC_OPS),libatomic_ops) \
+ $(if $(BR2_PACKAGE_LIBSAMPLERATE),libsamplerate) \
+ $(if $(BR2_PACKAGE_ALSA_LIB),alsa-lib) \
+ $(if $(BR2_PACKAGE_LIBGLIB2),libglib2) \
+ $(if $(BR2_PACKAGE_LIBGTK2),libgtk2) \
+ $(if $(BR2_PACKAGE_AVAHI_DAEMON),avahi) \
+ $(if $(BR2_PACKAGE_DBUS),dbus) \
+ $(if $(BR2_PACKAGE_BLUEZ_UTILS),bluez_utils) \
+ $(if $(BR2_PACKAGE_UDEV),udev) \
+ $(if $(BR2_PACKAGE_OPENSSL),openssl) \
+ $(if $(BR2_PACKAGE_FFTW),fftw) \
+ $(if $(BR2_PACKAGE_ORC),orc)
+
+ifneq ($(BR2_PACKAGE_VALA),y)
+define PULSEAUDIO_REMOVE_VALA
+ rm -rf $(TARGET_DIR)/usr/share/vala
+endef
+
+PULSEAUDIO_POST_INSTALL_TARGET_HOOKS += PULSEAUDIO_REMOVE_VALA
+endif
+
+$(eval $(call AUTOTARGETS))