mplayer: adapt makefile-nostrip.patch to actually apply to rc2.
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Sat, 19 Apr 2008 08:43:03 +0000 (08:43 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Sat, 19 Apr 2008 08:43:03 +0000 (08:43 +0000)
* while we are at it, add an upstream line to all makefile-nostrip patch files
  (I think they are not applicable to upstream, please correct me if I am wrong)

packages/mplayer/files/makefile-nostrip-rc2.patch [new file with mode: 0644]
packages/mplayer/files/makefile-nostrip-svn.patch
packages/mplayer/files/makefile-nostrip.patch
packages/mplayer/mplayer_0.0+1.0rc2.bb

diff --git a/packages/mplayer/files/makefile-nostrip-rc2.patch b/packages/mplayer/files/makefile-nostrip-rc2.patch
new file mode 100644 (file)
index 0000000..d7c1475
--- /dev/null
@@ -0,0 +1,24 @@
+upstream: not applicable, I think (unless somebody claims there is a more portable way to stripping)
+
+Index: MPlayer-1.0rc2/Makefile
+===================================================================
+--- MPlayer-1.0rc2.orig/Makefile       2008-04-19 10:31:18.000000000 +0200
++++ MPlayer-1.0rc2/Makefile    2008-04-19 10:31:55.000000000 +0200
+@@ -253,7 +253,7 @@
+       if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi
+ install-mplayer: mplayer$(EXESUF)
+-      $(INSTALL) -m 755 $(INSTALLSTRIP) mplayer$(EXESUF) $(BINDIR)
++      $(INSTALL) -m 755 mplayer$(EXESUF) $(BINDIR)
+ install-mplayer-man:
+       for i in $(MAN_LANG); do \
+@@ -266,7 +266,7 @@
+       done
+ install-mencoder: mencoder$(EXESUF)
+-      $(INSTALL) -m 755 $(INSTALLSTRIP) mencoder$(EXESUF) $(BINDIR)
++      $(INSTALL) -m 755 mencoder$(EXESUF) $(BINDIR)
+       for i in $(MAN_LANG); do \
+               if test "$$i" = en ; then \
+                       cd $(MANDIR)/man1 && ln -sf mplayer.1 mencoder.1 ; \
index 96346a4..b1a60af 100644 (file)
@@ -1,3 +1,5 @@
+upstream: not applicable, I think (unless somebody claims there is a more portable way to stripping)
+
 --- /tmp/Makefile      2008-04-17 21:48:32.987984542 +0200
 +++ trunk/Makefile     2008-04-17 21:48:52.042750779 +0200
 @@ -337,7 +337,7 @@
index 22e5c5a..6044339 100644 (file)
@@ -1,3 +1,5 @@
+upstream: not applicable, I think (unless somebody claims there is a more portable way to stripping)
+
 Index: MPlayer-1.0rc1/Makefile
 ===================================================================
 --- MPlayer-1.0rc1.orig/Makefile
index c6e5ae4..7588b7e 100644 (file)
@@ -22,7 +22,7 @@ SRC_URI = "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2 \
            file://w100-video_out.patch;patch=1 \
            file://w100-mplayer.patch;patch= \
            file://pld-onlyarm5.patch;patch=1 \
-           file://makefile-nostrip-svn.patch;patch=1 \
+           file://makefile-nostrip-rc2.patch;patch=1 \
            file://mplayer-imageon-svn.patch;patch=1 \
            file://imageon-video_out.patch;patch=1 \
            file://pxa_configure.patch;patch=1 \