2 # Copyright (C) 2007-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://0pointer.de
/lennart
/projects
/pulseaudio
/
16 PKG_MD5SUM
:=ca85ab470669b05e100861654cf5eb3c
18 PKG_BUILD_DEPENDS
:=intltool
/host
24 include $(INCLUDE_DIR
)/package.mk
26 #TODO: split pulse into executable and library (or even better into several libraries since they're used as loadable modules, so not linked into)
27 define Package
/pulseaudio
30 DEPENDS
:=+libspeexdsp
+libgdbm
+liboil
+libsndfile
+libatomicops
+libltdl
+dbus
+libpthread
+librt
+libintl
+libiconv @BROKEN
31 TITLE
:=Network sound server
32 URL
:=http
://www.pulseaudio.org
35 define Package
/pa-tools
38 DEPENDS
:=+libgdbm
+libsndfile
+pulseaudio
#+libpulse
39 TITLE
:=Tools for Pulseaudio
40 URL
:=http
://www.pulseaudio.org
44 --with-system-user
=root \
45 --with-system-group
=root \
46 --with-realtime-group
=root \
47 --with-access-group
=root \
59 --disable-samplerate \
66 PKG_CONFIG_PATH
="$(STAGING_DIR)/usr/lib/pkgconfig"
68 #SUPP_LIBS:=-L$(STAGING_DIR)/usr/lib/libintl/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib
69 TARGET_CFLAGS
+= -std
=gnu99
71 define Package
/pulseaudio
/install
75 $(1)/usr
/lib
/pulse-
$(PKG_VERSION
)/modules \
79 $(PKG_INSTALL_DIR
)/usr
/bin
/pulseaudio \
80 $(1)/usr
/bin
/pulseaudio
83 $(PKG_INSTALL_DIR
)/etc
/pulse
/* \
87 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
91 $(PKG_INSTALL_DIR
)/usr
/lib
/pulse-
$(PKG_VERSION
)/modules
/*.so \
92 $(1)/usr
/lib
/pulse-
$(PKG_VERSION
)/modules
/
95 define Package
/pa-tools
/install
100 $(PKG_INSTALL_DIR
)/usr
/bin
/pa
* \
104 $(eval
$(call BuildPackage
,pulseaudio
))
105 $(eval
$(call BuildPackage
,pa-tools
))