xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Bellagio OpenMAX Integration Layer (IL)"
2*4882a593SmuzhiyunDESCRIPTION = "Bellagio is an opensource implementation of the Khronos OpenMAX \
3*4882a593Smuzhiyun               Integration Layer API to access multimedia components."
4*4882a593SmuzhiyunHOMEPAGE = "http://omxil.sourceforge.net/"
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunLICENSE = "LGPL-2.1-or-later"
7*4882a593SmuzhiyunLICENSE_FLAGS = "${@bb.utils.contains('PACKAGECONFIG', 'amr', 'commercial', '', d)}"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=ae6f0f4dbc7ac193b50f323a6ae191cb \
9*4882a593Smuzhiyun                    file://src/omxcore.h;beginline=1;endline=27;md5=806b1e5566c06486fe8e42b461e03a90"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunSRC_URI = "${SOURCEFORGE_MIRROR}/omxil/libomxil-bellagio-${PV}.tar.gz \
12*4882a593Smuzhiyun           file://configure-fix.patch \
13*4882a593Smuzhiyun           file://parallel-make.patch \
14*4882a593Smuzhiyun           file://makefile-docdir-fix.patch \
15*4882a593Smuzhiyun           file://dynamicloader-linking.patch \
16*4882a593Smuzhiyun           file://disable-so-versioning.patch"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunSRC_URI[md5sum] = "a1de827fdb75c02c84e55f740ca27cb8"
19*4882a593SmuzhiyunSRC_URI[sha256sum] = "593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c"
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunS = "${WORKDIR}/${BPN}-bellagio-${PV}"
22*4882a593Smuzhiyun
23*4882a593Smuzhiyuninherit autotools
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunEXTRA_OECONF += "--disable-doc --disable-Werror"
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunPROVIDES += "virtual/libomxil"
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunCFLAGS += "-fcommon"
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunPACKAGECONFIG ??= ""
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunPACKAGECONFIG[amr] = "--enable-amr,,"
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun#
36*4882a593Smuzhiyun# The .so files under ${libdir}/bellagio are not intended to be versioned and symlinked.
37*4882a593Smuzhiyun# Make sure they get packaged in the main package.
38*4882a593Smuzhiyun#
39*4882a593SmuzhiyunFILES:${PN} += "${libdir}/bellagio/*.so \
40*4882a593Smuzhiyun                ${libdir}/omxloaders/*${SOLIBS}"
41*4882a593SmuzhiyunFILES:${PN}-staticdev += "${libdir}/bellagio/*.a \
42*4882a593Smuzhiyun                          ${libdir}/omxloaders/*.a"
43*4882a593SmuzhiyunFILES:${PN}-dev += "${libdir}/bellagio/*.la \
44*4882a593Smuzhiyun                    ${libdir}/omxloaders/*.la \
45*4882a593Smuzhiyun                    ${libdir}/omxloaders/*${SOLIBSDEV}"
46