diff options
Diffstat (limited to 'meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb')
-rw-r--r-- | meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb | 41 |
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 @@ | |||
1 | SUMMARY = "Open Source multimedia player" | 1 | SUMMARY = "Open Source multimedia player" |
2 | SECTION = "multimedia" | 2 | SECTION = "multimedia" |
3 | HOMEPAGE = "http://www.mplayerhq.hu/" | 3 | HOMEPAGE = "http://www.mplayerhq.hu/" |
4 | DEPENDS = "libvpx live555 libdvdread libtheora virtual/libsdl ffmpeg xsp zlib \ | 4 | DEPENDS = "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" | |||
13 | LICENSE = "GPLv3" | 13 | LICENSE = "GPLv3" |
14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" | 14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" |
15 | 15 | ||
16 | SRC_URI = "git://repo.or.cz/mplayer.git;branch=master \ | 16 | SRC_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 | ||
20 | SRCREV = "e3f5043233336d8b4b0731c6a8b42a8fda5535ac" | 20 | SRCREV = "2c378c71a4d9b1df382db9aa787b646628b4e3f9" |
21 | 21 | ||
22 | ARM_INSTRUCTION_SET = "arm" | 22 | ARM_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 | ||
131 | EXTRA_OECONF_append_armv6 = " --enable-armv6" | 107 | EXTRA_OECONF_append_armv6 = " --enable-armv6" |
132 | EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon" | 108 | EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon" |
@@ -157,7 +133,8 @@ do_compile () { | |||
157 | oe_runmake | 133 | oe_runmake |
158 | } | 134 | } |
159 | 135 | ||
160 | do_install_append() { | 136 | do_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/ |