summaryrefslogtreecommitdiff
path: root/packages/vlc/vlc-davinci_0.8.6h.bb
blob: 9d64cb4901f2ee0c6923592f3105e1ad5aa24ca3 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
DESCRIPTION = "Video player and streamer - davinci edition"
HOMEPAGE = "http://www.videolan.org"
LICENSE = "GPL"
PRIORITY = "optional"
SECTION = "multimedia"

SRCREV = "fa02f65b17429432d13a108f73744f33709dd01c"

PR = "r2"

PV = "0.8.6h+${PR}+gitr${SRCREV}"

DEPENDS = "dbus libxml2 gnutls tremor faad2 ffmpeg flac liba52 libid3tag libmad mpeg2dec"

SRC_URI = "git://git.videolan.org/vlc.git;protocol=git;branch=0.8.6-neuros"

S = "${WORKDIR}/git"

inherit autotools

EXTRA_OECONF = "\
    --with-contrib \
	--disable-dvdread \
	--disable-wxwidgets \
    --disable-skins2 \
	--disable-libmpeg2 \
    --disable-dvdnav \
	--disable-x11 --disable-xvideo --disable-opengl --disable-glx \
	--disable-screen --disable-caca \
	--disable-httpd --disable-vlm \
	--disable-freetype \
    --disable-sdl \ 
    --enable-png \
	--enable-live555 --enable-tremor \
    --disable-mod \
	--enable-davinci --enable-davincifb --enable-davinciresizer \
    --enable-v4l2 --enable-aa --enable-wma --enable-faad \
    --enable-dbus \
"


do_configure() {
	./bootstrap	
	gnu-configize
	libtoolize --force
	autoreconf --force -i
	oe_runconf
	rm config.log
	sed -i -e s:-L/usr/lib:-L${STAGING_LIBDIR}/:g vlc-config
}

do_stage() {
	autotools_stage_all
}

do_compile() {
	${S}/compile
}

RCONFLICTS_${PN} = "vlc"

FILES_${PN} += "${bindir}/vlc \
	${datadir}/applications \
	${datadir}/vlc/ \
	"