summaryrefslogtreecommitdiff
path: root/package/pulseaudio
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-18 13:28:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-18 13:28:50 +0100
commit3d1414631ce749e55141ba9ddb17ae531a9d9aff (patch)
tree69f16f65238685ebe604a4dec11decadcf70a6f4 /package/pulseaudio
parent28b6a4d3ecdd417a1272efa4ba1dbb217456a616 (diff)
add pulseaudio package and dependencies
Diffstat (limited to 'package/pulseaudio')
-rw-r--r--package/pulseaudio/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/package/pulseaudio/Makefile b/package/pulseaudio/Makefile
new file mode 100644
index 000000000..25e353bcd
--- /dev/null
+++ b/package/pulseaudio/Makefile
@@ -0,0 +1,49 @@
+# 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:= 1
+PKG_MD5SUM:= 591f211db2790a7e4d222f2dc6858db3
+PKG_DESCR:= a sound system for POSIX OSes
+PKG_SECTION:= multimedia
+PKG_DEPENDS:= libltdl json-c libsndfile libudev libspeex
+PKG_DEPENDS+= libflac libvorbis libogg libuuid libsndfile
+PKG_BUILDDEP:= libtool json-c libsndfile eudev speex libsndfile
+PKG_BUILDDEP+= flac libvorbis libogg util-linux
+PKG_URL:= http://www.freedesktop.org/wiki/Software/PulseAudio/
+PKG_SITES:= http://freedesktop.org/software/pulseaudio/releases/
+PKG_OPTS:= dev
+
+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}))
+
+CONFIGURE_ARGS+= --disable-systemd \
+ --disable-manpages \
+ --disable-neon-opt \
+ --disable-x11 \
+ --disable-openssl \
+ --enable-dbus \
+ --enable-udev \
+ --enable-speex \
+
+pulseaudio-install:
+ $(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/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