summaryrefslogtreecommitdiff
path: root/recipes/vlc
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-03-29 18:04:08 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-03-29 18:04:08 +0200
commit02f5b72c6af300a49ccd8d7038b9bf2830a41348 (patch)
tree9c3c8db2ab79b01e0acad0c74f9d2710ee2df40a /recipes/vlc
parentb573614a7e5c5d01d8b2995a37e161cfd143b5d6 (diff)
parent6980c14769d34bf2c5c539740a01dd5de90cad67 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/vlc')
-rw-r--r--recipes/vlc/x264_r2245.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/vlc/x264_r2245.bb b/recipes/vlc/x264_r2245.bb
new file mode 100644
index 0000000000..a662b56240
--- /dev/null
+++ b/recipes/vlc/x264_r2245.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "H.264 encoder"
+LICENSE = "GPL"
+PR = "r2"
+
+X264PV = "snapshot-20090127-2245"
+
+SRC_URI = "http://download.videolan.org/pub/videolan/x264/snapshots/x264-${X264PV}.tar.bz2"
+
+S = "${WORKDIR}/${PN}-${X264PV}"
+
+inherit autotools lib_package
+
+# default --extra-cflags
+X264_ECFLAGS = ""
+
+# disable use of assembler written functions
+X264_DISABLE_ASM = "--disable-asm"
+# use assembler written functions for those archs supporting this
+X264_DISABLE_ASM_x86 = ""
+DEPENDS_x86 = "yasm-native"
+
+EXTRA_OECONF = '--enable-shared ${X264_DISABLE_ASM} --extra-cflags="${X264_ECFLAGS}"'
+
+do_stage() {
+ autotools_stage_all
+}
+
+do_configure() {
+ ${S}/configure ${EXTRA_OECONF}
+}
+