summaryrefslogtreecommitdiff
path: root/package/pulseaudio/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-23 08:13:59 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-23 08:13:59 +0100
commit17a6468b3f0fae577b1aaad51b56bdefe15a25c1 (patch)
tree2e0ccfed1a6a8afb24c2547ca97ae5d8c450b717 /package/pulseaudio/Makefile
parent2548d641ca7adfe3dcf31d09bb2f9b047b186a0f (diff)
parentc66e4117d3ac4d561718a8b17066dc8b04a02027 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pulseaudio/Makefile')
-rw-r--r--package/pulseaudio/Makefile71
1 files changed, 71 insertions, 0 deletions
diff --git a/package/pulseaudio/Makefile b/package/pulseaudio/Makefile
new file mode 100644
index 000000000..4c7247c5c
--- /dev/null
+++ b/package/pulseaudio/Makefile
@@ -0,0 +1,71 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= pulseaudio
+PKG_VERSION:= 4.0
+PKG_RELEASE:= 3
+PKG_MD5SUM:= 591f211db2790a7e4d222f2dc6858db3
+PKG_DESCR:= a sound system for POSIX OSes
+PKG_SECTION:= multimedia
+PKG_DEPENDS:= libltdl json-c libsndfile libudev libspeex libncurses
+PKG_DEPENDS+= libflac libvorbis libogg libuuid libsndfile dbus
+PKG_DEPENDS+= libgcc libpthread librt alsa-lib libsamplerate
+PKG_BUILDDEP:= libtool json-c libsndfile eudev speex libsndfile
+PKG_BUILDDEP+= flac libvorbis libogg util-linux dbus ncurses alsa-lib
+PKG_BUILDDEP+= libsamplerate
+PKG_URL:= http://www.freedesktop.org/wiki/Software/PulseAudio/
+PKG_SITES:= http://freedesktop.org/software/pulseaudio/releases/
+PKG_OPTS:= dev
+
+PKG_LIBC_DEPENDS:= uclibc eglibc glibc
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,PULSEAUDIO,pulseaudio,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+TARGET_CPPFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
+CONFIGURE_ARGS+= --disable-systemd \
+ --disable-manpages \
+ --disable-neon-opt \
+ --disable-x11 \
+ --disable-avahi \
+ --disable-lirc \
+ --disable-openssl \
+ --disable-orc \
+ --disable-tcpwrap \
+ --disable-oss-output \
+ --disable-oss-wrapper \
+ --disable-esound \
+ --disable-jack \
+ --disable-gconf \
+ --enable-samplerate \
+ --enable-alsa \
+ --enable-dbus \
+ --enable-udev \
+ --with-speex
+
+pulseaudio-install:
+ $(INSTALL_DIR) $(IDIR_PULSEAUDIO)/etc/dbus-1
+ $(CP) $(WRKINST)/etc/dbus-1/* \
+ $(IDIR_PULSEAUDIO)/etc/dbus-1
+ $(INSTALL_DIR) $(IDIR_PULSEAUDIO)/etc/pulse
+ $(CP) $(WRKINST)/etc/pulse/* \
+ $(IDIR_PULSEAUDIO)/etc/pulse
+ $(INSTALL_DIR) $(IDIR_PULSEAUDIO)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/* \
+ $(IDIR_PULSEAUDIO)/usr/bin
+ $(INSTALL_DIR) $(IDIR_PULSEAUDIO)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libpulse*.so* \
+ $(IDIR_PULSEAUDIO)/usr/lib
+ $(INSTALL_DIR) $(IDIR_PULSEAUDIO)/usr/lib/pulseaudio
+ $(CP) $(WRKINST)/usr/lib/pulseaudio/libpulse*.so* \
+ $(IDIR_PULSEAUDIO)/usr/lib/pulseaudio
+ $(INSTALL_DIR) $(IDIR_PULSEAUDIO)/usr/lib/pulse-$(PKG_VERSION)/modules
+ $(CP) $(WRKINST)/usr/lib/pulse-$(PKG_VERSION)/modules/*.so \
+ $(IDIR_PULSEAUDIO)/usr/lib/pulse-$(PKG_VERSION)/modules
+
+include ${TOPDIR}/mk/pkg-bottom.mk