summaryrefslogtreecommitdiff
path: root/packages/vlc/vlc_0.9.2.bb
blob: af42a7c957c3b59d7bb5270ba9de8dc0e29e2c3f (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
DESCRIPTION = "Video player and streamer - davinci edition"
HOMEPAGE = "http://www.videolan.org"
LICENSE = "GPL"
PRIORITY = "optional"
SECTION = "multimedia"

DEPENDS = "libtool gettext libgcrypt schroedinger libsdl-x11 qt4-x11-free dbus libxml2 gnutls tremor faad2 ffmpeg flac liba52 libid3tag libmad mpeg2dec"


SRC_URI = "http://videolan.mirror.technotop.nl/vlc/0.9.2/vlc-${PV}.tar.bz2"

inherit autotools

EXTRA_OECONF = "\
	--enable-libtool \
	--with-contrib \
	--disable-dvdread \
	--disable-wxwidgets \
	--enable-x11 --enable-xvideo \ 
	--disable-screen --disable-caca \
	--disable-httpd --disable-vlm \
	--enable-freetype \
	--enable-sdl \ 
	--enable-png \
	--enable-live555 --enable-tremor \
	--enable-v4l2 --disable-aa --enable-wma --disable-faad \
	--enable-dbus \
	--without-contrib \
	ac_cv_path_MOC=${STAGING_BINDIR_NATIVE}/moc4 \
"


do_configure() {
	cp ${STAGING_DATADIR}/aclocal/libgcrypt.m4 ${S}/m4/ 
	./bootstrap	
	gnu-configize --force
	libtoolize --force
	#autoreconf --force -i
	cp ${STAGING_DATADIR}/libtool/config.* ${S}/autotools/
	oe_runconf
	rm config.log
	sed -i -e s:-L/usr/lib:-L${STAGING_LIBDIR}/:g vlc-config
	sed -i -e s:'$(MOC) $(DEFS) $(CPPFLAGS)':'$(MOC) $(DEFS)'\ -I${S}/include\ -DSYS_LINUX:g ${S}/modules/gui/qt4/Makefile
}

do_stage() {
	autotools_stage_all
}


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

FILES_${PN}-dbg	+= "${libdir}/vlc/*/.debug"