Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | DESCRIPTION = "OpenH264 is a codec library which supports H.264 encoding and \ |
| 2 | decoding. It is suitable for use in real time applications such as WebRTC." |
| 3 | HOMEPAGE = "http://www.openh264.org/" |
| 4 | SECTION = "libs/multimedia" |
| 5 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 6 | DEPENDS:append:x86 = " nasm-native" |
| 7 | DEPENDS:append:x86-64 = " nasm-native" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | |
| 9 | LICENSE = "BSD-2-Clause" |
| 10 | LICENSE_FLAGS = "commercial" |
| 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bb6d3771da6a07d33fd50d4d9aa73bcf" |
| 12 | |
| 13 | S = "${WORKDIR}/git" |
Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame] | 14 | SRCREV = "50a1fcf70fafe962c526749991cb4646406933ba" |
| 15 | BRANCH = "openh264v2.1.1" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 16 | SRC_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 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 20 | COMPATIBLE_MACHINE:armv7a = "(.*)" |
| 21 | COMPATIBLE_MACHINE:aarch64 = "(.*)" |
| 22 | COMPATIBLE_MACHINE:x86 = "(.*)" |
| 23 | COMPATIBLE_MACHINE:x86-64 = "(.*)" |
| 24 | COMPATIBLE_MACHINE:mips = "(.*)" |
| 25 | COMPATIBLE_MACHINE:mips64 = "(.*)" |
| 26 | COMPATIBLE_MACHINE:powerpc64le = "null" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 27 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 28 | EXTRA_OEMAKE:armv7a = "ARCH=arm" |
| 29 | EXTRA_OEMAKE:armv7ve = "ARCH=arm" |
| 30 | EXTRA_OEMAKE:aarch64 = "ARCH=arm64" |
| 31 | EXTRA_OEMAKE:x86 = "ARCH=i386" |
| 32 | EXTRA_OEMAKE:x86-64 = "ARCH=x86_64" |
| 33 | EXTRA_OEMAKE:mips = "ARCH=mips" |
| 34 | EXTRA_OEMAKE:mips64 = "ARCH=mips64" |
| 35 | EXTRA_OEMAKE:riscv64 = "ARCH=riscv64" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 36 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 37 | EXTRA_OEMAKE:append = " ENABLEPIC=Yes" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 38 | do_configure() { |
| 39 | : |
| 40 | } |
| 41 | |
| 42 | do_compile() { |
| 43 | oe_runmake |
| 44 | } |
| 45 | |
| 46 | do_install() { |
| 47 | oe_runmake install DESTDIR=${D} PREFIX=${prefix} |
| 48 | } |
| 49 | |
| 50 | CLEANBROKEN = "1" |