summaryrefslogtreecommitdiffstats
path: root/recipes/vlc/x264_r2245.bb
blob: f460a00156a1ae8735fb69d3a7a47890dac097e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DESCRIPTION = "H.264 encoder"
LICENSE = "GPL"
PR = "r4"

X264PV = "snapshot-20090928-2245"

SRC_URI = "http://download.videolan.org/pub/videolan/x264/snapshots/x264-${X264PV}.tar.bz2"

S = "${WORKDIR}/${PN}-${X264PV}"

inherit autotools lib_package pkgconfig

# 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
}

SRC_URI[md5sum] = "99870531113dafd01026c01a96c5fcbb"
SRC_URI[sha256sum] = "8b435c02ed0a09d039c0a89c8ddc5470e1885630a5dcedfe3d8bc60a6d63ab69"