|
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
|
DEPENDS = "nasm-native"
|
|
DEPENDS = "nasm-native"
|
|
|
|
|
|
SRC_URI = "git://code.videolan.org/videolan/x264.git;branch=stable;protocol=https \
|
|
SRC_URI = "git://code.videolan.org/videolan/x264.git;branch=stable;protocol=https \
|
|
|
|
+ file://32c3b801191522961102d4bea292cdb61068d0dd.patch \
|
|
"
|
|
"
|
|
UPSTREAM_CHECK_COMMITS = "1"
|
|
UPSTREAM_CHECK_COMMITS = "1"
|
|
|
|
|
|
@@ -25,6 +26,13 @@ X264_DISABLE_ASM:armv5 = "--disable-asm"
|
|
X264_DISABLE_ASM:powerpc = "${@bb.utils.contains("TUNE_FEATURES", "spe", "--disable-asm", "", d)}"
|
|
X264_DISABLE_ASM:powerpc = "${@bb.utils.contains("TUNE_FEATURES", "spe", "--disable-asm", "", d)}"
|
|
X264_DISABLE_ASM:mipsarch = "${@bb.utils.contains("TUNE_FEATURES", "r6", "", "--disable-asm", d)}"
|
|
X264_DISABLE_ASM:mipsarch = "${@bb.utils.contains("TUNE_FEATURES", "r6", "", "--disable-asm", d)}"
|
|
|
|
|
|
|
|
+PACKAGECONFIG ?= " \
|
|
|
|
+ ffmpeg \
|
|
|
|
+ ${@bb.utils.filter("DISTRO_FEATURES", "opencl", d)} \
|
|
|
|
+"
|
|
|
|
+PACKAGECONFIG[ffmpeg] = "--enable-lavf --enable-swscale,--disable-lavf --disable-swscale,ffmpeg"
|
|
|
|
+PACKAGECONFIG[opencl] = "--enable-opencl,--disable-opencl,"
|
|
|
|
+
|
|
EXTRA_OECONF = '--prefix=${prefix} \
|
|
EXTRA_OECONF = '--prefix=${prefix} \
|
|
--host=${HOST_SYS} \
|
|
--host=${HOST_SYS} \
|
|
--libdir=${libdir} \
|
|
--libdir=${libdir} \
|
|
@@ -32,9 +40,6 @@ EXTRA_OECONF = '--prefix=${prefix} \
|
|
--sysroot=${STAGING_DIR_TARGET} \
|
|
--sysroot=${STAGING_DIR_TARGET} \
|
|
--enable-shared \
|
|
--enable-shared \
|
|
--enable-static \
|
|
--enable-static \
|
|
- --disable-lavf \
|
|
|
|
- --disable-swscale \
|
|
|
|
- --disable-opencl \
|
|
|
|
--enable-pic \
|
|
--enable-pic \
|
|
${X264_DISABLE_ASM} \
|
|
${X264_DISABLE_ASM} \
|
|
--extra-cflags="${TUNE_CCARGS}" \
|
|
--extra-cflags="${TUNE_CCARGS}" \
|