Changeset - a78ac8ae45f1
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2010-02-23 17:43:18
ohnobinki@ohnopublishing.net
use --libs-only-L and --libs-only-l to avoid -pthread error for bug 300256
1 file changed with 16 insertions and 16 deletions:
0 comments (0 inline, 0 general)
eclass/gst-plugins-base.eclass
Show inline comments
 
@@ -75,40 +75,40 @@ gst-plugins-base_src_configure() {
 
###
 
# public inheritable functions
 
###
 

	
 
gst-plugins-base_src_unpack() {
 

	
 
#	local makefiles
 

	
 
	unpack ${A}
 

	
 
	# Link with the syswide installed gst-libs if needed
 
	gst-plugins10_find_plugin_dir
 
	sed -e "s:\$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces.*\.la:$(pkg-config --libs gstreamer-interfaces-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/interfaces/libgstinterfaces.*\.la:$(pkg-config --libs gstreamer-interfaces-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/audio/libgstaudio.*\.la:$(pkg-config --libs gstreamer-audio-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/audio/libgstaudio.*\.la:$(pkg-config --libs gstreamer-audio-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/cdda/libgstcdda\.la.*\.la:$(pkg-config --libs gstreamer-cdda-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/cdda/libgstcdda\.la.*\.la:$(pkg-config --libs gstreamer-cdda-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/riff/libgstriff.*\.la:$(pkg-config --libs gstreamer-riff-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/riff/libgstriff.*\.la:$(pkg-config --libs gstreamer-riff-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/tag/libgsttag.*\.la:$(pkg-config --libs gstreamer-tag-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/tag/libgsttag.*\.la:$(pkg-config --libs gstreamer-tag-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/video/libgstvideo.*\.la:$(pkg-config --libs gstreamer-video-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/video/libgstvideo.*\.la:$(pkg-config --libs gstreamer-video-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/netbuffer/libgstnetbuffer.*\.la:$(pkg-config --libs gstreamer-netbuffer-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/netbuffer/libgstnetbuffer.*\.la:$(pkg-config --libs gstreamer-netbuffer-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/rtp/libgstrtp.*\.la:$(pkg-config --libs gstreamer-rtp-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/rtp/libgstrtp.*\.la:$(pkg-config --libs gstreamer-rtp-${MY_PV}):" \
 
	sed -e "s:\$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-interfaces-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/interfaces/libgstinterfaces.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-interfaces-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/audio/libgstaudio.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-audio-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/audio/libgstaudio.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-audio-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/cdda/libgstcdda\.la.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-cdda-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/cdda/libgstcdda\.la.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-cdda-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/riff/libgstriff.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-riff-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/riff/libgstriff.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-riff-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/tag/libgsttag.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-tag-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/tag/libgsttag.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-tag-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/video/libgstvideo.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-video-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/video/libgstvideo.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-video-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/netbuffer/libgstnetbuffer.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-netbuffer-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/netbuffer/libgstnetbuffer.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-netbuffer-${MY_PV}):" \
 
		-e "s:\$(top_builddir)/gst-libs/gst/rtp/libgstrtp.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-rtp-${MY_PV}):" \
 
		-e "s:\${top_builddir}/gst-libs/gst/rtp/libgstrtp.*\.la:$(pkg-config --libs-only-L --libs-only-l gstreamer-rtp-${MY_PV}):" \
 
		-i Makefile.in
 
#	cd ${S}
 

	
 
	# Remove generation of any other Makefiles except the plugin's Makefile
 
#	if [ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]; then
 
#		makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile"
 
#	elif [ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]; then
 
#		makefiles="Makefile ext/Makefile ext/${GST_PLUGINS_BUILD_DIR}/Makefile"
 
#	fi
 
#	sed -e "s:ac_config_files=.*:ac_config_files='${makefiles}':" \
 
#		-i ${S}/configure
 

	
0 comments (0 inline, 0 general)