[poky] Problem while adding "ffmpeg"

kubera samrat kubera.samrat at gmail.com
Thu Mar 10 01:51:14 PST 2011


Hi all,

I have added ffmpeg to my recipe. I have created the following recipe
for ffmpeg and placed in "meta/recipes-multimedia/ffmpeg" folder.

******************************************************************************************************************************************************************************************
# ffmpeg_0.6.1.bb
DESCRIPTION = "Complete and free Internet live audio and video
broadcasting solution for Linux/Unix"
DEPENDS = "alsa-lib bzip2 lame libvorbis faad2 zlib x264 libtheora
libxfixes schroedinger libvpx sdl xvidcore libvdpau libva"

LICENSE = "GPL"

inherit autotools pkgconfig

PR="r0"
#S = "${WORKDIR}/ffmpeg-${PV}"


SRC_URI = "http://ffmpeg.org/releases/ffmpeg-${PV}.tar.bz2"
EXTRA_OECONF += "--enable-shared \
	--enable-pthreads\
	--enable-gpl\
	--enable-libmp3lame\
	--enable-libvorbis\
	--enable-libfaac\
	--enable-libxvid\
	--enable-libx264\
   	--enable-libvpx\
    	--enable-libtheora\
    	--enable-postproc \
    	--enable-shared \
    	--enable-x11grab \
   	--enable-libopencore_amrnb \
    	--enable-libopencore_amrwb \
    	--enable-libschroedinger \
    	--enable-libopenjpeg \
    	--enable-version3 \
    	--enable-nonfree \
    	--enable-runtime-cpudetect \
    	--disable-debug \
    	--disable-asm"

do_configure(){
	oe_conf	--prefix=${D}
}

do_compile(){
        oe_runmake
}

do_install(){
        oe_runmake install DESTDIR=${D}
}

SRC_URI[md5sum] = "4f5d732d25eedfb072251b5314ba2093"
***************************************************************************************************************************************************************************************************************

While building, I am getting the following error:


ERROR: Nothing RPROVIDES 'ffmpeg' (but
/home/kuberasamrat/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'ffmpeg' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['ffmpeg']
ERROR: Required build target 'poky-image-minimal-akshat-live' has no
buildable providers.
Missing or unbuildable dependency chain was:
['poky-image-minimal-akshat-live', 'poky-image-minimal-akshat',
'ffmpeg']

Please guide me, if you have any solution or advice, if I am doing
something wrong.

Thanks and regards,
V kubera Samrat



More information about the poky mailing list