summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/vlc/vlc.inc
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-multimedia/recipes-multimedia/vlc/vlc.inc
downloadmeta-openembedded-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/vlc/vlc.inc')
-rw-r--r--meta-multimedia/recipes-multimedia/vlc/vlc.inc82
1 files changed, 82 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc.inc b/meta-multimedia/recipes-multimedia/vlc/vlc.inc
new file mode 100644
index 0000000000..1b2490b720
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc.inc
@@ -0,0 +1,82 @@
1DESCRIPTION = "Video player and streamer - davinci edition"
2HOMEPAGE = "http://www.videolan.org"
3SECTION = "multimedia"
4
5LICENSE = "GPL-2.0"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7
8DEPENDS = "libfribidi libtool libgcrypt gst-plugins-bad virtual/libsdl qt4-x11-free \
9 dbus libxml2 gnutls tremor faad2 ffmpeg flac libxpm fluidsynth alsa-lib \
10 libdvdcss libdvdread lua-native lua"
11
12SRC_URI = "http://download.videolan.org/pub/videolan/${BPN}/${PV}/${BP}.tar.xz"
13
14inherit autotools gettext
15
16ARM_INSTRUCTION_SET = "arm"
17
18EXTRA_OECONF = "\
19 --enable-dvdread \
20 --with-contrib \
21 --enable-run-as-root \
22 --enable-xvideo \
23 --disable-screen --disable-caca \
24 --enable-httpd --enable-vlm \
25 --enable-freetype \
26 --enable-sdl \
27 --enable-png \
28 --enable-live555 --enable-tremor \
29 --enable-v4l2 --enable-v4l --disable-aa --disable-faad \
30 --enable-dbus \
31 --without-contrib \
32 --without-kde-solid \
33 --disable-opengl --disable-glx \
34 --enable-realrtsp \
35 ac_cv_path_MOC=${STAGING_BINDIR_NATIVE}/moc4 \
36 ac_cv_path_RCC=${STAGING_BINDIR_NATIVE}/rcc4 \
37 ac_cv_path_UIC=${STAGING_BINDIR_NATIVE}/uic4 \
38"
39
40PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad"
41PACKAGECONFIG[id3tag] = "--enable-id3tag,--disable-id3tag,libid3tag"
42PACKAGECONFIG[a52] = "--enable-a52,--disable-a52,liba52"
43PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec"
44PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
45PACKAGECONFIG[live555] = "--enable-live555,--disable-live555,live555"
46
47do_configure() {
48 cp ${STAGING_DATADIR}/aclocal/libgcrypt.m4 ${S}/m4/
49 ./bootstrap
50 gnu-configize --force
51 libtoolize --force
52 #autoreconf --force -i
53 cp ${STAGING_DATADIR}/libtool/config.* ${S}/autotools/ || true
54 oe_runconf
55 rm config.log
56 #sed -i -e s:-L/usr/lib:-L${STAGING_LIBDIR}/:g ${S}/vlc-config
57 sed -i -e s:'$(MOC) $(DEFS) $(CPPFLAGS)':'$(MOC) $(DEFS)'\ -I${S}/include\ -DSYS_LINUX:g ${S}/modules/gui/qt4/Makefile
58 sed -i -e s:'${top_builddir_slash}libtool':${TARGET_SYS}-libtool:g ${S}/doltlibtool
59}
60
61# This recipe packages vlc as a library as well, so qt4 dependencies
62# can be avoided when only the library is installed.
63PACKAGES =+ "libvlc"
64
65LEAD_SONAME_libvlc = "libvlc.so.5"
66FILES_libvlc = "${libdir}/lib*.so.*"
67
68FILES_${PN} += "\
69 ${bindir}/vlc \
70 ${datadir}/applications \
71 ${datadir}/vlc/ \
72 ${datadir}/icons \
73"
74
75FILES_${PN}-dbg += "\
76 ${libdir}/vlc/*/.debug \
77 ${libdir}/vlc/plugins/*/.debug \
78"
79
80FILES_${PN}-staticdev += "\
81 ${libdir}/vlc/plugins/*/*.a \
82"