summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/mplayer
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-03-21 13:33:46 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-04-20 10:43:30 +0200
commit6a7f8bf6a9a56d8d57b35c0d699ee9a8107a7dc7 (patch)
tree3a9f7e21e0724e2a23ac484c8f28045f5dda7421 /meta-oe/recipes-multimedia/mplayer
parent38818bf223058fd5475fd460e846a1bb1f73e767 (diff)
downloadmeta-openembedded-6a7f8bf6a9a56d8d57b35c0d699ee9a8107a7dc7.tar.gz
mplayer2: bump SRCREV to fix build issues with newer live555
* live555 support was removed in: http://git.mplayer2.org/mplayer2/commit/?id=e77b823b341fca0b931228d3e623dab50aa11723 * remove now unsupported options * needs libav-9.10 which is in oe-core but with negative D_P otherwise configure fails: Requested 'libavcodec >= 54.25.0' but version of libavcodec is 53.35.0 * disable man installation, because we don't have rst2man Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/mplayer')
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mplayer2/0001-configure-don-t-disable-ASS-support-when-explicitly-.patch26
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mplayer2/cross.compile.codec-cfg.patch16
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb41
3 files changed, 35 insertions, 48 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2/0001-configure-don-t-disable-ASS-support-when-explicitly-.patch b/meta-oe/recipes-multimedia/mplayer/mplayer2/0001-configure-don-t-disable-ASS-support-when-explicitly-.patch
new file mode 100644
index 000000000..e232595cd
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mplayer2/0001-configure-don-t-disable-ASS-support-when-explicitly-.patch
@@ -0,0 +1,26 @@
1From 3541649b711a773aa2e42ac80d9b4c1b36fce23f Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Thu, 27 Mar 2014 00:08:54 +0100
4Subject: [PATCH] configure: don't disable ASS support when explicitly enabled
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7---
8 configure | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/configure b/configure
12index 60fd308..2f7df3b 100755
13--- a/configure
14+++ b/configure
15@@ -4346,7 +4346,7 @@ fi
16
17
18 echocheck "SSA/ASS support"
19-if test "$_ass" = auto ; then
20+if test "$_ass" = auto -o "$_ass" = yes ; then
21 if pkg_config_add libass ; then
22 _ass=yes
23 def_ass='#define CONFIG_ASS 1'
24--
251.9.1
26
diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2/cross.compile.codec-cfg.patch b/meta-oe/recipes-multimedia/mplayer/mplayer2/cross.compile.codec-cfg.patch
deleted file mode 100644
index 7b290b505..000000000
--- a/meta-oe/recipes-multimedia/mplayer/mplayer2/cross.compile.codec-cfg.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Upstream-Status: Pending
2Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
3
4diff --git a/Makefile b/Makefile
5index 6013ca3..28c6383 100644
6--- a/Makefile
7+++ b/Makefile
8@@ -600,7 +602,7 @@ mplayer$(EXESUF):
9 $(CC) -o $@ $^ $(EXTRALIBS)
10
11 codec-cfg$(EXESUF): codec-cfg.c codec-cfg.h
12- $(HOST_CC) -O -DCODECS2HTML -I. -o $@ $<
13+ $(BUILD_CC) -O -DCODECS2HTML -I. -Iffmpeg -o $@ $<
14
15 codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf
16 ./$^ > $@
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/