Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:guide-developer:build.mpd-full.pulse [2018/02/18 20:40] – link to howto build updated after wiki merge tmomasdocs:guide-developer:build.mpd-full.pulse [2021/10/15 09:06] (current) – ↷ Links adapted because of a move operation bobafetthotmail
Line 1: Line 1:
 ====== Building MPD-full with PulseAudio ====== ====== Building MPD-full with PulseAudio ======
-More information about building from source: [[docs:guide-developer:build-system:start|OpenWrt Buildroot - Usage]]+More information about building from source: [[docs:guide-developer:toolchain:start|OpenWrt Buildroot - Usage]]
  
 First you need to follow the HowtoBuild [[docs:guide-developer:build.mpd-full|MPD-full building from source]] First you need to follow the HowtoBuild [[docs:guide-developer:build.mpd-full|MPD-full building from source]]
Line 6: Line 6:
 Based on the following reference: [[https://forum.openwrt.org/viewtopic.php?pid=287809#p287809| BB + MPD-full + PulseAudio, unable to build]]\\ Based on the following reference: [[https://forum.openwrt.org/viewtopic.php?pid=287809#p287809| BB + MPD-full + PulseAudio, unable to build]]\\
  
-==== Barrier Breaker and Chaos Calmer ====+==== 18.06.02 ====
  
 === The MPD Makefile === === The MPD Makefile ===
-  - In your git clone directory edit the makefile ''/openwrt/feeds/packages/sound/mpd/Makefile''\\ It is a good idea to make a backup copy before starting. +In your git clone directory edit the makefile ''/openwrt/feeds/packages/sound/mpd/Makefile''.
-  - Detect the area in the Makefile involved with the full MPD installation. Add ''+pulseaudio-daemon'' +
-  - Save the file+
  
-Original file: +Detect the area in the Makefile involved with the full MPD installation.  
-<code> +Add ''+pulseaudio-daemon'' to DEPENDS.
-  TITLE+= (full) +
-  DEPENDS+= \ +
-    +AUDIO_SUPPORT:alsa-lib \ +
-    +libaudiofile +BUILD_PATENTED:libfaad2 +libffmpeg +libid3tag \ +
-    +libmms +libogg +libsndfile +libvorbis  +
-  PROVIDES:=mpd +
-  VARIANT:=full +
-</code>+
  
-Edited file:  
 <code>  <code> 
   TITLE+= (full)   TITLE+= (full)
-  DEPENDS+= +  DEPENDS+= +libffmpeg +libid3tag +libmms +libupnp +libshout +pulseaudio-daemon
-    +AUDIO_SUPPORT:alsa-lib \ +
-    +libaudiofile +BUILD_PATENTED:libfaad2 +libffmpeg-full +libid3tag +
-    +libmms +libogg +libsndfile +libvorbis +pulseaudio-daemon+
   PROVIDES:=mpd   PROVIDES:=mpd
   VARIANT:=full   VARIANT:=full
Line 37: Line 23:
  
 <code> <code>
-     --disable-mpg123 \ +     --disable-nfs \
-     --disable-mvp \+
      --disable-openal \      --disable-openal \
 +     --disable-opus \
      --enable-pulse \      --enable-pulse \
      --disable-sidplay \      --disable-sidplay \
-     --disable-solaris-output +     --disable-smbclient 
-     --disable-soup \+     --disable-sndfile \
 </code> </code>
  
-Edit the TARGET_LDFLAGS and add +Edit the EXTRA_LDFLAGS and add 
 <code> <code>
-,-rpath-link=$(STAGING_DIR)/usr/lib/pulseaudio +-Wl,-rpath-link=$(STAGING_DIR)/usr/lib/pulseaudio 
 </code> </code>
 The complete line looks like that: The complete line looks like that:
 <code> <code>
-  TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib,-rpath-link=$(STAGING_DIR)/usr/lib/pulseaudio $(if $(ICONV_FULL),-liconv)+  EXTRA_LDFLAGS += $(if $(ICONV_FULL),-liconv,-Wl,--whole-archive -liconv -Wl,--no-whole-archive-Wl,-rpath-link=$(STAGING_DIR)/usr/lib/pulseaudio
 </code>  </code> 
-=== The Pulseaudio Makefile === + 
-The Barrier Breaker and Chaos Calmer Pulseaudio Makefile do not need any modification to be build along with MPD+Maybe the path has to be adapted to $(STAGING_DIR)/opt/lib/pulseaudio.
  
  
  
  • Last modified: 2018/02/18 20:40
  • by tmomas