blob: 4564d619ae2a9fad5a8a688b0a29cc6a60359c07 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Bellagio OpenMAX Integration Layer (IL)"
2DESCRIPTION = "Bellagio is an opensource implementation of the Khronos OpenMAX \
3 Integration Layer API to access multimedia components."
4HOMEPAGE = "http://omxil.sourceforge.net/"
5
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00006LICENSE = "LGPL-2.1-or-later"
Andrew Geissler9b4d8b02021-02-19 12:26:16 -06007LICENSE_FLAGS = "${@bb.utils.contains('PACKAGECONFIG', 'amr', 'commercial', '', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008LIC_FILES_CHKSUM = "file://COPYING;md5=ae6f0f4dbc7ac193b50f323a6ae191cb \
9 file://src/omxcore.h;beginline=1;endline=27;md5=806b1e5566c06486fe8e42b461e03a90"
10
11SRC_URI = "${SOURCEFORGE_MIRROR}/omxil/libomxil-bellagio-${PV}.tar.gz \
12 file://configure-fix.patch \
13 file://parallel-make.patch \
14 file://makefile-docdir-fix.patch \
15 file://dynamicloader-linking.patch \
16 file://disable-so-versioning.patch"
17
18SRC_URI[md5sum] = "a1de827fdb75c02c84e55f740ca27cb8"
19SRC_URI[sha256sum] = "593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c"
20
21S = "${WORKDIR}/${BPN}-bellagio-${PV}"
22
23inherit autotools
24
25EXTRA_OECONF += "--disable-doc --disable-Werror"
26
Andrew Geissler82c905d2020-04-13 13:39:40 -050027PROVIDES += "virtual/libomxil"
28
Andrew Geissler635e0e42020-08-21 15:58:33 -050029CFLAGS += "-fcommon"
30
Andrew Geissler9b4d8b02021-02-19 12:26:16 -060031PACKAGECONFIG ??= ""
32
33PACKAGECONFIG[amr] = "--enable-amr,,"
34
Patrick Williamsc124f4f2015-09-15 14:41:29 -050035#
36# The .so files under ${libdir}/bellagio are not intended to be versioned and symlinked.
37# Make sure they get packaged in the main package.
38#
Patrick Williams213cb262021-08-07 19:21:33 -050039FILES:${PN} += "${libdir}/bellagio/*.so \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050040 ${libdir}/omxloaders/*${SOLIBS}"
Patrick Williams213cb262021-08-07 19:21:33 -050041FILES:${PN}-staticdev += "${libdir}/bellagio/*.a \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050042 ${libdir}/omxloaders/*.a"
Patrick Williams213cb262021-08-07 19:21:33 -050043FILES:${PN}-dev += "${libdir}/bellagio/*.la \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050044 ${libdir}/omxloaders/*.la \
45 ${libdir}/omxloaders/*${SOLIBSDEV}"