Commit 706063f0 authored by Sandrine Avakian's avatar Sandrine Avakian
Browse files

Adding openh264 recipe and updating srcrev of bctoolbox.

parent 54bd7f83
......@@ -3,8 +3,7 @@ require bctoolbox.inc
inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "da0aef212b8752a1cdae2d55b4783229a55be75f"
#SRCREV = "2a4cf67dc6e7284a2fe10cca177de286116c5da8"
SRCREV = "6fe7b438489ac84e853f42a03d6e4d505c42cab6"
SRC_URI = "git://git.linphone.org/bctoolbox.git;commit=${SRCREV}"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
......
require openh264.inc
PR = "r0"
SRC_URI = "git://github.com/cisco/openh264.git;protocol=https;branch=openh264v1.5.1"
SRCREV = "9e75838c8638c48a32b15c73c9da7b1fe942fd5f"
#SRC_URI = "git://github.com/cisco/openh264.git;protocol=https;branch=openh264v1.4"
#SRCREV = "4adf9cd6dd1358eefe3cbb5eddbfbf4ff06cfa65"
S = "${WORKDIR}/git"
DESCRIPTION = "Cisco Open Source H.264 Codec library which supports H.264 encoding and decoding. "
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "BSD"
PROVIDES = "libopenh264"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bb6d3771da6a07d33fd50d4d9aa73bcf"
SRC_URI[md5sum] = "3a082059356cdde0a6a7274c3eb1f2ce"
PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PN}"
FILES_${PN} += "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
${sysconfdir} ${sharedstatedir} ${localstatedir} \
${base_bindir}/* ${base_sbindir}/* \
${base_libdir}/*${SOLIBS} \
${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d \
${datadir}/${BPN} ${libdir}/${BPN}/* "
FILES_SOLIBSDEV ?= "${base_libdir}/lib*${SOLIBSDEV} ${libdir}/lib*${SOLIBSDEV}"
FILES_${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \
${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \
${datadir}/aclocal ${base_libdir}/*.o \
${libdir}/${BPN}/*.la ${base_libdir}/*.la"
ALLOW_EMPTY_${PN}-dev = "1"
RDEPENDS_${PN}-dev = "${PN} (= ${EXTENDPKGV})"
FILES_${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a"
SECTION_${PN}-staticdev = "devel"
CFLAGS += "-Wall -fno-strict-aliasing -fPIC -MMD -MP"
LDFLAGS += "-lpthread"
#AR_OPTS = "crD $@"
#ASMFLAGS += "-march=armv7-a -mfpu=neon"
do_compile(){
make -e ARCH=${TARGET_ARCH} PREFIX="/usr/" ;
}
do_install(){
oe_runmake install ARCH=${TARGET_ARCH} PREFIX="/usr/" DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}
}
inherit pkgconfig
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment