All of lore.kernel.org
 help / color / mirror / Atom feed
* can't compile ffmpeg without x11
@ 2016-02-02 10:08 Yi Qingliang
  2016-02-03 10:39 ` Carlos Rafael Giani
  2016-02-08 12:38 ` Alexander Kanavin
  0 siblings, 2 replies; 3+ messages in thread
From: Yi Qingliang @ 2016-02-02 10:08 UTC (permalink / raw)
  To: OE Core mailing list

HELLO!

in ffmpeg.bb:

DEPENDS = "alsa-lib zlib libogg yasm-native libxv"
PACKAGECONFIG ??= "... ${@bb.utils.contains('DISTRO_FEATURES', 'x11',
'x11', '', d)}"


the 'DEPENDS' says it need libxv which need x11, so the x11 detection
in 'PACKAGECONFIG' will not work anymore.

can I use ffmpeg without x11 ? (indeed, I want to use opencv)

the old poky will work with libav, but now libav has been dropped.


Yi Qingliang


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can't compile ffmpeg without x11
  2016-02-02 10:08 can't compile ffmpeg without x11 Yi Qingliang
@ 2016-02-03 10:39 ` Carlos Rafael Giani
  2016-02-08 12:38 ` Alexander Kanavin
  1 sibling, 0 replies; 3+ messages in thread
From: Carlos Rafael Giani @ 2016-02-03 10:39 UTC (permalink / raw)
  To: openembedded-core

I think libxv should be part of the x11 packageconfig dependency list 
instead of part of DEPENDS. I'm running a test build to see if it works 
like that.

On 2016-02-02 11:08, Yi Qingliang wrote:
> HELLO!
>
> in ffmpeg.bb:
>
> DEPENDS = "alsa-lib zlib libogg yasm-native libxv"
> PACKAGECONFIG ??= "... ${@bb.utils.contains('DISTRO_FEATURES', 'x11',
> 'x11', '', d)}"
>
>
> the 'DEPENDS' says it need libxv which need x11, so the x11 detection
> in 'PACKAGECONFIG' will not work anymore.
>
> can I use ffmpeg without x11 ? (indeed, I want to use opencv)
>
> the old poky will work with libav, but now libav has been dropped.
>
>
> Yi Qingliang



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can't compile ffmpeg without x11
  2016-02-02 10:08 can't compile ffmpeg without x11 Yi Qingliang
  2016-02-03 10:39 ` Carlos Rafael Giani
@ 2016-02-08 12:38 ` Alexander Kanavin
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Kanavin @ 2016-02-08 12:38 UTC (permalink / raw)
  To: openembedded-core

On 02/02/2016 12:08 PM, Yi Qingliang wrote:
> HELLO!
>
> in ffmpeg.bb:
>
> DEPENDS = "alsa-lib zlib libogg yasm-native libxv"
> PACKAGECONFIG ??= "... ${@bb.utils.contains('DISTRO_FEATURES', 'x11',
> 'x11', '', d)}"
>
>
> the 'DEPENDS' says it need libxv which need x11, so the x11 detection
> in 'PACKAGECONFIG' will not work anymore.
>
> can I use ffmpeg without x11 ? (indeed, I want to use opencv)

Yes. From my investigation of upstream, libxv is a floating, 
non-configurable dependency of libavdevice.

I'll send a patch that adds libxv recipe dependency only when 
libavdevice is enabled.


Alex


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-08 12:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-02 10:08 can't compile ffmpeg without x11 Yi Qingliang
2016-02-03 10:39 ` Carlos Rafael Giani
2016-02-08 12:38 ` Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.