From: Jan Willies Date: Sat, 5 Feb 2011 19:46:49 +0000 (+0000) Subject: install header-files, fix modules installation, remove @BROKEN X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6e7bdc71f16ea5f5c35d03407faedc4e9b79db10;p=openwrt%2Fsvn-archive%2Fpackages.git install header-files, fix modules installation, remove @BROKEN SVN-Revision: 25375 --- diff --git a/sound/pulseaudio/Makefile b/sound/pulseaudio/Makefile index 26ac547d1..789db2f1d 100644 --- a/sound/pulseaudio/Makefile +++ b/sound/pulseaudio/Makefile @@ -28,7 +28,9 @@ include $(INCLUDE_DIR)/nls.mk define Package/pulseaudio SECTION:=sound CATEGORY:=Sound - DEPENDS:=+libspeexdsp +libgdbm +liboil +libsndfile +libatomicops +libltdl +dbus +libpthread +librt +alsa-lib $(ICONV_DEPENDS) $(INTL_DEPENDS) @BROKEN + DEPENDS:=+libspeexdsp +libgdbm +libsndfile \ + +libltdl +libpthread +librt +dbus \ + +alsa-lib $(ICONV_DEPENDS) $(INTL_DEPENDS) TITLE:=Network sound server URL:=http://www.pulseaudio.org endef @@ -44,11 +46,8 @@ endef CONFIGURE_ARGS += \ --with-system-user=root \ --with-system-group=root \ - --with-realtime-group=root \ --with-access-group=root \ - --without-x \ --enable-alsa \ - --disable-dbus \ --disable-hal \ --disable-gconf \ --disable-tcpwrap \ @@ -57,8 +56,6 @@ CONFIGURE_ARGS += \ --disable-glib2 \ --disable-jack \ --disable-asyncns \ - --disable-polkit \ - --disable-samplerate \ --disable-lirc \ --disable-bluez \ --without-caps @@ -70,6 +67,22 @@ CONFIGURE_VARS += \ #SUPP_LIBS:=-L$(INTL_PREFIX)/lib -L$(ICONV_PREFIX)/lib TARGET_CFLAGS += -std=gnu99 +define Build/InstallDev + $(INSTALL_DIR) \ + $(1)/usr/lib/pkgconfig \ + $(1)/usr/include/pulse \ + $(1)/usr/lib + $(CP) \ + $(PKG_INSTALL_DIR)/usr/include/pulse/* \ + $(1)/usr/include/pulse + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ + $(1)/usr/lib/pkgconfig + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib/ +endef + define Package/pulseaudio/install $(INSTALL_DIR) \ $(1)/usr/bin \ @@ -90,7 +103,10 @@ define Package/pulseaudio/install $(1)/usr/lib/ $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/pulse-$(PKG_VERSION)/modules/*.so \ + $(PKG_INSTALL_DIR)/usr/lib/pulse-$(PKG_VERSION)/modules/lib*.so \ + $(1)/usr/lib/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/pulse-$(PKG_VERSION)/modules/module*.so \ $(1)/usr/lib/pulse-$(PKG_VERSION)/modules/ endef