change usbtunerhelper src_uri.
[vuplus_openembedded] / recipes / vlc / vlc.inc
1 DESCRIPTION = "Video player and streamer - davinci edition"
2 HOMEPAGE = "http://www.videolan.org"
3 LICENSE = "GPL"
4 PRIORITY = "optional"
5 SECTION = "multimedia"
6
7 DEPENDS = "libfribidi libtool hal gettext libgcrypt schroedinger libsdl-x11 qt4-x11-free dbus libxml2 gnutls tremor faad2 ffmpeg flac \
8            ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad libid3tag liba52 mpeg2dec', d)}"
9
10 SRC_URI = "http://download.videolan.org/pub/videolan/vlc/${PV}/vlc-${PV}.tar.bz2"
11
12 inherit autotools
13
14 ARM_INSTRUCTION_SET = "arm"
15
16 EXTRA_OECONF = "\
17         --enable-libtool \
18         --with-contrib \
19         --enable-run-as-root \
20         --disable-wxwidgets \
21         --enable-x11 --enable-xvideo \ 
22         --disable-screen --disable-caca \
23         --enable-httpd --enable-vlm \
24         --enable-freetype \
25         --enable-sdl \ 
26         --enable-png \
27         --enable-live555 --enable-tremor \
28         --enable-v4l2 --enable-v4l --disable-aa --enable-wma --disable-faad \
29         --enable-dbus \
30         --enable-hal \  
31         --without-contrib \
32         --disable-opengl --disable-glx \
33         --enable-realrtsp \
34         ac_cv_path_MOC=${STAGING_BINDIR_NATIVE}/moc4 \
35         ac_cv_path_RCC=${STAGING_BINDIR_NATIVE}/rcc4 \
36         ac_cv_path_UIC=${STAGING_BINDIR_NATIVE}/uic4 \
37 "
38
39
40 do_configure() {
41         cp ${STAGING_DATADIR}/aclocal/libgcrypt.m4 ${S}/m4/ 
42         ./bootstrap     
43         gnu-configize --force
44         libtoolize --force
45         #autoreconf --force -i
46         cp ${STAGING_DATADIR}/libtool/config.* ${S}/autotools/
47         oe_runconf
48         rm config.log
49         sed -i -e s:-L/usr/lib:-L${STAGING_LIBDIR}/:g vlc-config
50         sed -i -e s:'$(MOC) $(DEFS) $(CPPFLAGS)':'$(MOC) $(DEFS)'\ -I${S}/include\ -DSYS_LINUX:g ${S}/modules/gui/qt4/Makefile
51 }
52
53 do_stage() {
54         autotools_stage_all
55 }
56
57
58 FILES_${PN} += "${bindir}/vlc \
59         ${datadir}/applications \
60         ${datadir}/vlc/ \
61         "
62
63 FILES_${PN}-dbg += "${libdir}/vlc/*/.debug"