summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel A Fernandes <joelagnel@ti.com>2011-09-07 05:54:06 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2011-09-07 08:07:04 +0200
commit6e0fb5ec91f5d397b519908e45664f8ce5c64190 (patch)
treefafb4ac90f29258ab7066a78635d094414068513
parent7a7673af4b7c89b90f54484acae68fb40fe1f170 (diff)
downloadmeta-openembedded-6e0fb5ec91f5d397b519908e45664f8ce5c64190.tar.gz
vlc: Imported from OE classic
- Reset PR - Dropped PRIORITY= variable and changed schroedinger dependency to gst-plugins-bad - Moved common code to .inc - Updated LICENSE version to GPLv2 Signed-off-by: Joel A Fernandes <joelagnel@ti.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--meta-oe/recipes-multimedia/vlc/vlc.inc85
-rw-r--r--meta-oe/recipes-multimedia/vlc/vlc_1.1.4.1.bb12
2 files changed, 97 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/vlc/vlc.inc b/meta-oe/recipes-multimedia/vlc/vlc.inc
new file mode 100644
index 0000000000..bb67097f6c
--- /dev/null
+++ b/meta-oe/recipes-multimedia/vlc/vlc.inc
@@ -0,0 +1,85 @@
1DESCRIPTION = "Video player and streamer - davinci edition"
2HOMEPAGE = "http://www.videolan.org"
3LICENSE = "GPLv2"
4SECTION = "multimedia"
5
6DEPENDS = "libfribidi libtool hal gettext libgcrypt gst-plugins-bad virtual/libsdl qt4-x11-free dbus libxml2 gnutls tremor faad2 ffmpeg flac \
7 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad libid3tag liba52 mpeg2dec', d)}"
8
9SRC_URI = "http://download.videolan.org/pub/videolan/vlc/${PV}/vlc-${PV}.tar.bz2"
10
11inherit autotools
12
13ARM_INSTRUCTION_SET = "arm"
14
15DEPENDS += "libdvdcss libdvdread lua5.1-native lua5.1"
16
17LEAD_SONAME = "libvlc.so.5"
18
19PACKAGES =+ "libvlc-dbg libvlc-dev libvlc"
20
21FILES_libvlc-dev = "${libdir}/lib*.so"
22
23FILES_libvlc-dbg = "\
24 ${libdir}/.debug \
25 ${libdir}/vlc/meta_engine/.debug \
26 ${libdir}/vlc/audio_filter/.debug ${libdir}/vlc/audio_output/.debug \
27 ${libdir}/vlc/demux/.debug ${libdir}/vlc/control/.debug \
28 ${libdir}/vlc/gui/.debug ${libdir}/vlc/packetizer/.debug \
29 ${libdir}/vlc/audio_mixer/.debug ${libdir}/vlc/stream_out/.debug \
30 ${libdir}/vlc/mux/.debug ${libdir}/vlc/access/.debug \
31 ${libdir}/vlc/visualization/.debug ${libdir}/vlc/access_filter/.debug \
32 ${libdir}/vlc/access_output/.debug ${libdir}/vlc/video_output/.debug \
33 ${libdir}/vlc/services_discovery/.debug ${libdir}/vlc/video_chroma/.debug \
34 ${libdir}/vlc/video_codec/.debug ${libdir}/vlc/video_filter/.debug \
35 ${libdir}/vlc/misc/.debug ${libdir}/vlc/codec/.debug \
36 "
37
38FILES_libvlc = "${libdir}/lib*.so.*"
39
40FILES_${PN} += "${bindir}/vlc \
41 ${datadir}/applications \
42 ${datadir}/vlc/ \
43 ${datadir}/icons \
44 "
45
46FILES_${PN}-dbg += "${libdir}/vlc/*/.debug ${libdir}/vlc/plugins/*/.debug"
47
48EXTRA_OECONF = "\
49 --enable-dvdread \
50 --enable-libtool \
51 --with-contrib \
52 --enable-run-as-root \
53 --disable-wxwidgets \
54 --enable-x11 --enable-xvideo \
55 --disable-screen --disable-caca \
56 --enable-httpd --enable-vlm \
57 --enable-freetype \
58 --enable-sdl \
59 --enable-png \
60 --enable-live555 --enable-tremor \
61 --enable-v4l2 --enable-v4l --disable-aa --enable-wma --disable-faad \
62 --enable-dbus \
63 --enable-hal \
64 --without-contrib \
65 --disable-opengl --disable-glx \
66 --enable-realrtsp \
67 ac_cv_path_MOC=${STAGING_BINDIR_NATIVE}/moc4 \
68 ac_cv_path_RCC=${STAGING_BINDIR_NATIVE}/rcc4 \
69 ac_cv_path_UIC=${STAGING_BINDIR_NATIVE}/uic4 \
70"
71
72
73do_configure() {
74 cp ${STAGING_DATADIR}/aclocal/libgcrypt.m4 ${S}/m4/
75 ./bootstrap
76 gnu-configize --force
77 libtoolize --force
78 #autoreconf --force -i
79 cp ${STAGING_DATADIR}/libtool/config.* ${S}/autotools/ || true
80 oe_runconf
81 rm config.log
82 sed -i -e s:-L/usr/lib:-L${STAGING_LIBDIR}/:g vlc-config
83 sed -i -e s:'$(MOC) $(DEFS) $(CPPFLAGS)':'$(MOC) $(DEFS)'\ -I${S}/include\ -DSYS_LINUX:g ${S}/modules/gui/qt4/Makefile
84}
85
diff --git a/meta-oe/recipes-multimedia/vlc/vlc_1.1.4.1.bb b/meta-oe/recipes-multimedia/vlc/vlc_1.1.4.1.bb
new file mode 100644
index 0000000000..f28323c35a
--- /dev/null
+++ b/meta-oe/recipes-multimedia/vlc/vlc_1.1.4.1.bb
@@ -0,0 +1,12 @@
1# This recipe packages vlc as a library as well, so qt4 dependencies
2# can be avoided when ony the library is installed.
3# Would be cool if when newer vlc is added to OE and older ones are phased
4# out that could be made the default.
5
6require vlc.inc
7
8PR = "${INC_PR}.1"
9
10SRC_URI[md5sum] = "ce17c335b38b322949694313173fcd49"
11SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696d7c2aa"
12