source: packages/sound/pulseaudio/Makefile @ 24201

Last change on this file since 24201 was 24201, checked in by mirko, 5 years ago

[packages/pulseaudio] upgrade to version 0.9.22 (latest) - WARNING: this release requires libtool2 (libltdl7) which is not the default yet

  • Property copyright set to Copyright (C) 2007-2008 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1#
2# Copyright (C) 2007-2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=pulseaudio
11PKG_VERSION:=0.9.22
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://0pointer.de/lennart/projects/pulseaudio/
16#PKG_MD5SUM:=279fb92f08393a6a992d55e3ac9a006b
17
18PKG_FIXUP = libtool
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/pulseaudio
23  SECTION:=sound
24  CATEGORY:=Sound
25  DEPENDS:=+libspeex +libgdbm +liboil +libsamplerate +libsndfile +libatomicops +libltdl +dbus +libintl +libiconv @BROKEN
26  TITLE:=Network sound server
27  URL:=http://www.pulseaudio.org
28endef
29
30CONFIGURE_ARGS += \
31        --with-system-user=root \
32        --with-system-group=root \
33        --with-realtime-group=root \
34        --with-access-group=root \
35        --without-x \
36        --disable-dbus \
37        --disable-hal \
38        --disable-gconf \
39        --disable-tcpwrap \
40        --disable-nls \
41        --disable-solaris \
42        --disable-glib2 \
43        --disable-jack \
44        --disable-asyncns \
45        --disable-polkit \
46        --disable-samplerate \
47        --disable-lirc \
48        --disable-bluez \
49        --without-caps
50
51CONFIGURE_VARS += \
52        PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig"
53
54SUPP_LIBS:=-L$(STAGING_DIR)/usr/lib/libintl/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib
55
56define Build/Compile
57        $(MAKE) -C $(PKG_BUILD_DIR) \
58                CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
59                LDFLAGS="$(TARGET_LDFLAGS) $(SUPP_LIBS)" \
60                DESTDIR="$(PKG_INSTALL_DIR)" \
61                LIBLTDL="$(STAGING_DIR)/usr/lib/libltdl.la" \
62                X_CFLAGS="" \
63                all install
64endef
65
66define Package/pulseaudio/install       
67        $(INSTALL_DIR) $(1)/usr/bin
68        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
69endef
70
71$(eval $(call BuildPackage,pulseaudio))
Note: See TracBrowser for help on using the repository browser.