Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#13723 closed defect (fixed)

pulseaudio InstallDev section doesn't contain /usr/lib/pulseaudio directory

Reported by: kay.diam@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

When compiling mpd with pulseaudio support it can not find /usr/lib/pulseaudio/libpulsecommon-2.1.so library. To solve the issue I suggest using the following patch:

Index: packages/pulseaudio/Makefile
--- Makefile_old        2013-06-19 12:12:00.458287669 +0400
+++ Makefile  2013-06-19 12:07:43.225298052 +0400
@@ -139,7 +139,8 @@
        $(INSTALL_DIR) \
                $(1)/usr/lib/pkgconfig \
                $(1)/usr/include/pulse \
-               $(1)/usr/lib
+               $(1)/usr/lib \
+               $(1)/usr/lib/pulseaudio
        $(CP) \
                $(PKG_INSTALL_DIR)/usr/include/pulse/* \
                $(1)/usr/include/pulse
@@ -149,6 +150,9 @@
        $(CP) \
                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
                $(1)/usr/lib/
+       $(CP) \
+               $(PKG_INSTALL_DIR)/usr/lib/pulseaudio/*.so* \
+               $(1)/usr/lib/pulseaudio/
 endef
 
 define Package/pulseaudio-daemon/install

This patch should force pulseaudio to copy development libraries to the staging_dir/target* directory.

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by the2masters

looks identical to the following commit in trunk:

commit 5a98ccfe0626ab54b2752e2da144b528ec0bdfcc
Author: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Thu Mar 21 19:26:47 2013 +0000

pulseaudio: fix missing staging library directory /usr/lib/pulseaudio/


This library directory is required to link
against pulseaudio. e.g. mpd with pulseaudio support.


Signed-off-by: Alexander Couzens <lynxis@…>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@36103 3c298f89-4303-0410-b956-a3cf2f4a3e73

comment:2 Changed 5 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with r36103

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.