x264_git.bb 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. SUMMARY = "x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC format"
  2. HOMEPAGE = "http://www.videolan.org/developers/x264.html"
  3. LICENSE = "GPLv2"
  4. LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
  5. PR = "r1"
  6. DEPENDS = "yasm-native"
  7. SRC_URI = "git://git.videolan.org/x264.git \
  8. file://don-t-default-to-cortex-a9-with-neon.patch \
  9. "
  10. SRCREV = "bfed708c5358a2b4ef65923fb0683cefa9184e6f"
  11. PV = "r2230+git"
  12. S = "${WORKDIR}/git"
  13. inherit lib_package pkgconfig
  14. X264_DISABLE_ASM = ""
  15. X264_DISABLE_ASM_armv4 = "--disable-asm"
  16. X264_DISABLE_ASM_armv5 = "--disable-asm"
  17. EXTRA_OECONF = '--prefix=${prefix} \
  18. --host=${HOST_SYS} \
  19. --cross-prefix=${TARGET_PREFIX} \
  20. --sysroot=${STAGING_DIR_TARGET} \
  21. --enable-shared \
  22. --enable-static \
  23. --disable-lavf \
  24. --disable-swscale \
  25. ${X264_DISABLE_ASM} \
  26. '
  27. do_configure() {
  28. ./configure ${EXTRA_OECONF}
  29. }
  30. # Get rid of -e
  31. EXTRA_OEMAKE = ""
  32. AS = "${TARGET_PREFIX}gcc"
  33. do_install() {
  34. oe_runmake install DESTDIR=${D}
  35. }