blob: 75d5010f18368877127bed3896b00cd03257feec [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001DESCRIPTION = "OpenH264 is a codec library which supports H.264 encoding and \
2decoding. It is suitable for use in real time applications such as WebRTC."
3HOMEPAGE = "http://www.openh264.org/"
4SECTION = "libs/multimedia"
5
6DEPENDS_append_x86 = " nasm-native"
7DEPENDS_append_x86-64 = " nasm-native"
8
9LICENSE = "BSD-2-Clause"
10LICENSE_FLAGS = "commercial"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=bb6d3771da6a07d33fd50d4d9aa73bcf"
12
13S = "${WORKDIR}/git"
Andrew Geisslerc87764f2020-06-27 00:16:32 -050014SRCREV = "50a1fcf70fafe962c526749991cb4646406933ba"
15BRANCH = "openh264v2.1.1"
Andrew Geissler82c905d2020-04-13 13:39:40 -050016SRC_URI = "git://github.com/cisco/openh264.git;protocol=https;branch=${BRANCH} \
17 file://0001-Makefile-Use-cp-options-to-preserve-file-mode.patch \
18 "
19
20COMPATIBLE_MACHINE_armv7a = "(.*)"
21COMPATIBLE_MACHINE_aarch64 = "(.*)"
22COMPATIBLE_MACHINE_x86 = "(.*)"
23COMPATIBLE_MACHINE_x86-64 = "(.*)"
24COMPATIBLE_MACHINE_mips = "(.*)"
25COMPATIBLE_MACHINE_mips64 = "(.*)"
Andrew Geissler32b11992021-03-31 13:37:05 -050026COMPATIBLE_MACHINE_powerpc64le = "null"
Andrew Geissler82c905d2020-04-13 13:39:40 -050027
28EXTRA_OEMAKE_armv7a = "ARCH=arm"
29EXTRA_OEMAKE_armv7ve = "ARCH=arm"
30EXTRA_OEMAKE_aarch64 = "ARCH=arm64"
31EXTRA_OEMAKE_x86 = "ARCH=i386"
32EXTRA_OEMAKE_x86-64 = "ARCH=x86_64"
33EXTRA_OEMAKE_mips = "ARCH=mips"
34EXTRA_OEMAKE_mips64 = "ARCH=mips64"
35EXTRA_OEMAKE_riscv64 = "ARCH=riscv64"
36
37EXTRA_OEMAKE_append = " ENABLEPIC=Yes"
38do_configure() {
39 :
40}
41
42do_compile() {
43 oe_runmake
44}
45
46do_install() {
47 oe_runmake install DESTDIR=${D} PREFIX=${prefix}
48}
49
50CLEANBROKEN = "1"