Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [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 | |
| 6 | DEPENDS_x86 += "nasm-native" |
| 7 | DEPENDS_x86-64 += "nasm-native" |
| 8 | |
| 9 | LICENSE = "BSD-2-Clause" |
| 10 | LICENSE_FLAGS = "commercial" |
| 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bb6d3771da6a07d33fd50d4d9aa73bcf" |
| 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | SRCREV = "a180c9d4d6f1a4830ca9eed9d159d54996bd63cb" |
| 15 | BRANCH = "openh264v1.7" |
| 16 | SRC_URI = "git://github.com/cisco/openh264.git;protocol=https;branch=${BRANCH};" |
| 17 | |
| 18 | COMPATIBLE_MACHINE_armv7a = "(.*)" |
| 19 | COMPATIBLE_MACHINE_aarch64 = "(.*)" |
| 20 | COMPATIBLE_MACHINE_x86 = "(.*)" |
| 21 | COMPATIBLE_MACHINE_x86-64 = "(.*)" |
| 22 | COMPATIBLE_MACHINE_mips = "(.*)" |
| 23 | COMPATIBLE_MACHINE_mips64 = "(.*)" |
| 24 | |
| 25 | EXTRA_OEMAKE_armv7a = "ARCH=arm" |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 26 | EXTRA_OEMAKE_armv7ve = "ARCH=arm" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 27 | EXTRA_OEMAKE_aarch64 = "ARCH=arm64" |
| 28 | EXTRA_OEMAKE_x86 = "ARCH=i386" |
| 29 | EXTRA_OEMAKE_x86-64 = "ARCH=x86_64" |
| 30 | EXTRA_OEMAKE_mips = "ARCH=mips" |
| 31 | EXTRA_OEMAKE_mips64 = "ARCH=mips64" |
| 32 | |
| 33 | do_configure() { |
| 34 | : |
| 35 | } |
| 36 | |
| 37 | do_compile() { |
| 38 | oe_runmake |
| 39 | } |
| 40 | |
| 41 | do_install() { |
| 42 | oe_runmake install DESTDIR=${D} PREFIX=${prefix} |
| 43 | } |