All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH 09/46] mplayer2: bump SRCREV to fix build issues with newer live555
Date: Tue,  1 Apr 2014 19:13:17 +0200	[thread overview]
Message-ID: <1396372434-10710-9-git-send-email-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <1396372434-10710-1-git-send-email-Martin.Jansa@gmail.com>

* 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>
---
 ...on-t-disable-ASS-support-when-explicitly-.patch | 26 ++++++++++++++
 .../mplayer/mplayer2/cross.compile.codec-cfg.patch | 16 ---------
 meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb | 41 +++++-----------------
 3 files changed, 35 insertions(+), 48 deletions(-)
 create mode 100644 meta-oe/recipes-multimedia/mplayer/mplayer2/0001-configure-don-t-disable-ASS-support-when-explicitly-.patch
 delete mode 100644 meta-oe/recipes-multimedia/mplayer/mplayer2/cross.compile.codec-cfg.patch

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 0000000..e232595
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mplayer2/0001-configure-don-t-disable-ASS-support-when-explicitly-.patch
@@ -0,0 +1,26 @@
+From 3541649b711a773aa2e42ac80d9b4c1b36fce23f Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa@gmail.com>
+Date: Thu, 27 Mar 2014 00:08:54 +0100
+Subject: [PATCH] configure: don't disable ASS support when explicitly enabled
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 60fd308..2f7df3b 100755
+--- a/configure
++++ b/configure
+@@ -4346,7 +4346,7 @@ fi
+ 
+ 
+ echocheck "SSA/ASS support"
+-if test "$_ass" = auto ; then
++if test "$_ass" = auto -o "$_ass" = yes ; then
+     if pkg_config_add libass ; then
+         _ass=yes
+         def_ass='#define CONFIG_ASS 1'
+-- 
+1.9.1
+
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 7b290b5..0000000
--- a/meta-oe/recipes-multimedia/mplayer/mplayer2/cross.compile.codec-cfg.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Upstream-Status: Pending
-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-
-diff --git a/Makefile b/Makefile
-index 6013ca3..28c6383 100644
---- a/Makefile
-+++ b/Makefile
-@@ -600,7 +602,7 @@ mplayer$(EXESUF):
- 	$(CC) -o $@ $^ $(EXTRALIBS)
- 
- codec-cfg$(EXESUF): codec-cfg.c codec-cfg.h
--	$(HOST_CC) -O -DCODECS2HTML -I. -o $@ $<
-+	$(BUILD_CC) -O -DCODECS2HTML -I. -Iffmpeg -o $@ $<
- 
- codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf
- 	./$^ > $@
diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
index 63ee55e..2437884 100644
--- a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
@@ -1,7 +1,7 @@
 SUMMARY = "Open Source multimedia player"
 SECTION = "multimedia"
 HOMEPAGE = "http://www.mplayerhq.hu/"
-DEPENDS = "libvpx live555 libdvdread libtheora virtual/libsdl ffmpeg xsp zlib \
+DEPENDS = "libvpx libdvdread libtheora virtual/libsdl ffmpeg xsp zlib \
            libpng jpeg liba52 freetype fontconfig alsa-lib lzo ncurses \
            libxv virtual/libx11 libass speex faad2"
 
@@ -13,11 +13,11 @@ RCONFLICTS_${PN} = "mplayer"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
 
-SRC_URI = "git://repo.or.cz/mplayer.git;branch=master \
-           file://cross.compile.codec-cfg.patch \
+SRC_URI = "git://repo.or.cz/mplayer.git \
+    file://0001-configure-don-t-disable-ASS-support-when-explicitly-.patch \
 "
 
-SRCREV = "e3f5043233336d8b4b0731c6a8b42a8fda5535ac"
+SRCREV = "2c378c71a4d9b1df382db9aa787b646628b4e3f9"
 
 ARM_INSTRUCTION_SET = "arm"
 
@@ -47,21 +47,15 @@ EXTRA_OECONF = " \
     --disable-vm \
     --disable-xf86keysym \
     --enable-tv \
-    --disable-tv-v4l1 \     
     --enable-tv-v4l2 \
     --disable-tv-bsdbt848 \
     --enable-rtc \
     --enable-networking \
     --disable-smb \
-    --enable-live \
     --disable-dvdnav \
     --enable-dvdread \
     --disable-dvdread-internal \
     --disable-libdvdcss-internal \
-    --disable-cdparanoia \
-    --enable-freetype \
-    --enable-sortsub \
-    --disable-fribidi \
     --disable-enca \
     --disable-ftp \
     --disable-vstream \
@@ -84,49 +78,31 @@ EXTRA_OECONF = " \
     --disable-musepack \
     \
     --disable-gl \
-    --disable-vesa \
-    --disable-svga \
     --enable-sdl \
-    --disable-aa \
     --disable-caca \
-    --disable-ggi \
-    --disable-ggiwmh \
     --disable-directx \
-    --disable-dxr3 \
     --disable-dvb \
-    --disable-mga \
-    --disable-xmga \
     --enable-xv \
     --disable-vm \
     --disable-xinerama \
     --enable-x11 \
-    --enable-fbdev \
-    --disable-3dfx \
-    --disable-tdfxfb \
-    --disable-s3fb \
     --disable-directfb \
-    --disable-bl \
-    --disable-tdfxvid \
     --disable-tga \
     --disable-pnm \
     --disable-md5sum \
     \
     --enable-alsa \
     --enable-ossaudio \
-    --disable-arts \
-    --disable-esd \
     --disable-pulse \
     --disable-jack \
     --disable-openal \
-    --disable-nas \
-    --disable-sgiaudio \
-    --disable-sunaudio \
-    --disable-win32waveout \
     --enable-select \
     --enable-libass \
     \
-    --extra-libs=' -lXext -lX11 -lBasicUsageEnvironment -lUsageEnvironment -lgroupsock -lliveMedia -lstdc++ -lvorbis ' \
+    --extra-libs=' -lXext -lX11 -lvorbis -ltheoradec -lasound ' \
 "
+# -ltheoradec is missing in:
+# libmpcodecs/vd_theora.o: undefined reference to symbol 'theora_decode_init@@libtheora.so.1.0'
 
 EXTRA_OECONF_append_armv6 = " --enable-armv6"
 EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"
@@ -157,7 +133,8 @@ do_compile () {
     oe_runmake
 }
 
-do_install_append() {
+do_install() {
+    oe_runmake 'DESTDIR=${D}' install-no-man
     install -d ${D}/usr/etc/mplayer
     install ${S}/etc/input.conf ${D}/usr/etc/mplayer/
     install ${S}/etc/example.conf ${D}/usr/etc/mplayer/
-- 
1.9.1



  parent reply	other threads:[~2014-04-01 17:14 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01 17:13 [meta-oe][PATCH 01/46] efl: upgrade to 1.9.0 Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 02/46] webkit-efl: upgrade to new snapshot r164189 Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 03/46] e-wm: upgrade to 0.18.4 and drop old 0.17.5 Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 04/46] e-tasks: Migrate to eldbus Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 05/46] python-efl: upgrade to 1.9.0 Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 06/46] eve: restrict for armv7a, because upstream dropped support in webkit-efl Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 07/46] efl, elementary, e-wm: upgrade to latest versions 1.9.2 and 1.18.6 Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 08/46] eve: adapt to webkit-efl changes Martin Jansa
2014-04-01 17:13 ` Martin Jansa [this message]
2014-04-01 17:13 ` [meta-oe][PATCH 10/46] libdc1394: add libsdl dependency Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 11/46] sound-theme-freedesktop: add glib-2.0 and intltool-native dependency Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 12/46] freerdp: move to nonworking Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 13/46] gnome-control-center: include datadir/mime in PN Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 14/46] tracker: inherit only gnomebase, fix QA warn Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 15/46] libwnck*: inherit only gnomebase Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 16/46] elementary: remove --disable-web Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 17/46] wvstreams: fix QA warning Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 18/46] gnome-menus: inherit only gnomebase Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 19/46] babl: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 20/46] dconf: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 21/46] gnome-bluetooth: inherit only gnomebase, gtk-icon-cache Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 22/46] libgtop: inherit only gnomebase Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 23/46] libgdata: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 24/46] gnome-disk-utility: inherit only gnomebase, gtk-icon-cache Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 25/46] libgnome-keyring: inherit only gnomebase Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 26/46] libbonobo: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 27/46] modemmanager: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 28/46] gcr: inherit only gnomebase, gtk-icon-cache Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 29/46] gnome-backgrounds: inherit only gnomebase Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 30/46] gnome-themes: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 31/46] zenity: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 32/46] goffice: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 33/46] gtksourceview2: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 34/46] metacity: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 35/46] atftp: include whole sysconfdir in PN Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 36/46] zram: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 37/46] edbus: remove test-gui option Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 38/46] libgnomecanvas: add intltool dependency Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 39/46] mousepad: add dbus and intltool-native dependency Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 40/46] lzip: remove infodir Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 41/46] emacs: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 42/46] libgnomecups: inherit only gnomebase Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 43/46] libgnomeprint: " Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 44/46] tracker: remove --disable-introspection Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 45/46] libbonoboui: inherit only gnomebase Martin Jansa
2014-04-01 17:13 ` [meta-oe][PATCH 46/46] gnome-backgrounds: add glib-2.0 dependency Martin Jansa
2014-04-20  8:54 ` [meta-oe][PATCH 01/46] efl: upgrade to 1.9.0 Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1396372434-10710-9-git-send-email-Martin.Jansa@gmail.com \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.