summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb')
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb41
1 files changed, 9 insertions, 32 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
index 63ee55eca..24378849a 100644
--- a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
@@ -1,7 +1,7 @@
1SUMMARY = "Open Source multimedia player" 1SUMMARY = "Open Source multimedia player"
2SECTION = "multimedia" 2SECTION = "multimedia"
3HOMEPAGE = "http://www.mplayerhq.hu/" 3HOMEPAGE = "http://www.mplayerhq.hu/"
4DEPENDS = "libvpx live555 libdvdread libtheora virtual/libsdl ffmpeg xsp zlib \ 4DEPENDS = "libvpx libdvdread libtheora virtual/libsdl ffmpeg xsp zlib \
5 libpng jpeg liba52 freetype fontconfig alsa-lib lzo ncurses \ 5 libpng jpeg liba52 freetype fontconfig alsa-lib lzo ncurses \
6 libxv virtual/libx11 libass speex faad2" 6 libxv virtual/libx11 libass speex faad2"
7 7
@@ -13,11 +13,11 @@ RCONFLICTS_${PN} = "mplayer"
13LICENSE = "GPLv3" 13LICENSE = "GPLv3"
14LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" 14LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
15 15
16SRC_URI = "git://repo.or.cz/mplayer.git;branch=master \ 16SRC_URI = "git://repo.or.cz/mplayer.git \
17 file://cross.compile.codec-cfg.patch \ 17 file://0001-configure-don-t-disable-ASS-support-when-explicitly-.patch \
18" 18"
19 19
20SRCREV = "e3f5043233336d8b4b0731c6a8b42a8fda5535ac" 20SRCREV = "2c378c71a4d9b1df382db9aa787b646628b4e3f9"
21 21
22ARM_INSTRUCTION_SET = "arm" 22ARM_INSTRUCTION_SET = "arm"
23 23
@@ -47,21 +47,15 @@ EXTRA_OECONF = " \
47 --disable-vm \ 47 --disable-vm \
48 --disable-xf86keysym \ 48 --disable-xf86keysym \
49 --enable-tv \ 49 --enable-tv \
50 --disable-tv-v4l1 \
51 --enable-tv-v4l2 \ 50 --enable-tv-v4l2 \
52 --disable-tv-bsdbt848 \ 51 --disable-tv-bsdbt848 \
53 --enable-rtc \ 52 --enable-rtc \
54 --enable-networking \ 53 --enable-networking \
55 --disable-smb \ 54 --disable-smb \
56 --enable-live \
57 --disable-dvdnav \ 55 --disable-dvdnav \
58 --enable-dvdread \ 56 --enable-dvdread \
59 --disable-dvdread-internal \ 57 --disable-dvdread-internal \
60 --disable-libdvdcss-internal \ 58 --disable-libdvdcss-internal \
61 --disable-cdparanoia \
62 --enable-freetype \
63 --enable-sortsub \
64 --disable-fribidi \
65 --disable-enca \ 59 --disable-enca \
66 --disable-ftp \ 60 --disable-ftp \
67 --disable-vstream \ 61 --disable-vstream \
@@ -84,49 +78,31 @@ EXTRA_OECONF = " \
84 --disable-musepack \ 78 --disable-musepack \
85 \ 79 \
86 --disable-gl \ 80 --disable-gl \
87 --disable-vesa \
88 --disable-svga \
89 --enable-sdl \ 81 --enable-sdl \
90 --disable-aa \
91 --disable-caca \ 82 --disable-caca \
92 --disable-ggi \
93 --disable-ggiwmh \
94 --disable-directx \ 83 --disable-directx \
95 --disable-dxr3 \
96 --disable-dvb \ 84 --disable-dvb \
97 --disable-mga \
98 --disable-xmga \
99 --enable-xv \ 85 --enable-xv \
100 --disable-vm \ 86 --disable-vm \
101 --disable-xinerama \ 87 --disable-xinerama \
102 --enable-x11 \ 88 --enable-x11 \
103 --enable-fbdev \
104 --disable-3dfx \
105 --disable-tdfxfb \
106 --disable-s3fb \
107 --disable-directfb \ 89 --disable-directfb \
108 --disable-bl \
109 --disable-tdfxvid \
110 --disable-tga \ 90 --disable-tga \
111 --disable-pnm \ 91 --disable-pnm \
112 --disable-md5sum \ 92 --disable-md5sum \
113 \ 93 \
114 --enable-alsa \ 94 --enable-alsa \
115 --enable-ossaudio \ 95 --enable-ossaudio \
116 --disable-arts \
117 --disable-esd \
118 --disable-pulse \ 96 --disable-pulse \
119 --disable-jack \ 97 --disable-jack \
120 --disable-openal \ 98 --disable-openal \
121 --disable-nas \
122 --disable-sgiaudio \
123 --disable-sunaudio \
124 --disable-win32waveout \
125 --enable-select \ 99 --enable-select \
126 --enable-libass \ 100 --enable-libass \
127 \ 101 \
128 --extra-libs=' -lXext -lX11 -lBasicUsageEnvironment -lUsageEnvironment -lgroupsock -lliveMedia -lstdc++ -lvorbis ' \ 102 --extra-libs=' -lXext -lX11 -lvorbis -ltheoradec -lasound ' \
129" 103"
104# -ltheoradec is missing in:
105# libmpcodecs/vd_theora.o: undefined reference to symbol 'theora_decode_init@@libtheora.so.1.0'
130 106
131EXTRA_OECONF_append_armv6 = " --enable-armv6" 107EXTRA_OECONF_append_armv6 = " --enable-armv6"
132EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon" 108EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"
@@ -157,7 +133,8 @@ do_compile () {
157 oe_runmake 133 oe_runmake
158} 134}
159 135
160do_install_append() { 136do_install() {
137 oe_runmake 'DESTDIR=${D}' install-no-man
161 install -d ${D}/usr/etc/mplayer 138 install -d ${D}/usr/etc/mplayer
162 install ${S}/etc/input.conf ${D}/usr/etc/mplayer/ 139 install ${S}/etc/input.conf ${D}/usr/etc/mplayer/
163 install ${S}/etc/example.conf ${D}/usr/etc/mplayer/ 140 install ${S}/etc/example.conf ${D}/usr/etc/mplayer/