Looking for cerbero documentation (deps managing issue)

Andoni Morales ylatuya at gmail.com
Tue Jan 27 02:46:10 PST 2015


2015-01-26 12:21 GMT+01:00 Eric-BTG <eric.chaloin at bt-ground.com>:

> Re,
>
> Sorry for the dumb question about BuildType.MAKEFILE..!! I understood. I
> was
> just about to re-answer when your reply came :)
>
> (In fact I was looking what is done in zlib recipe. I was confused because
> BuildType is set to MAKEFILE and configure_tpl is also manually set to
> ./configure --prefix %(prefix)s...)
>
> Ok so yes it's better when using AUTOTOOLS backend ^^
>
> I'm building Freescale libfslvpuwrap library (foo) for Android platforms.
> This lib is a wrapper to VPU HW codecs. Libfslvpuwrap configure is looking
> for vpu_lib.h header and linker needs libvpu.so.
>
> This is a bit special because libvpu is build in Freescale Android tree. I
> created a cerbero recipe for libvpu (bar). It installs suitable built
> libvpu.so in $prefix/lib and headers $prefix/include/vpu/vpu_lib.h.
>
> I tried to create libvpu.la and libvpu.pc setting paths to libvpu.so and
> vpu_lib.h and expecting libfslvpuwrap using it.. They are declared as devel
> files in libvpu recipe.
>
> I'm able to "manually" build and link libfslvpuwrap to libvpu but not using
> cerbero.
>

Hi Eric,

Looking at configure.ac from libfslvpuwrap, it's checking the headers this
way:
AC_CHECK_HEADERS([vpu_lib.h], [HAVE_VPU_LIB=yes], [HAVE_VPU_LIB=no])

This means you have 2 options:
  1. Install vpu_lib.h in $/prefix/include instead of $/prefix/include/vpu/
  2. Add -I$prefix/include/vpu to your CFLAGS

Andoni

>
> Regards,
>
> Eric
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Looking-for-cerbero-documentation-deps-managing-issue-tp4670398p4670454.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150127/403af8c4/attachment.html>


More information about the gstreamer-devel mailing list