summaryrefslogtreecommitdiffstats
path: root/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch
blob: 70859aa49bcc6d4efd52d2bcaa2092d5ecc825bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 23a97efde2aef171312000f7859ef4c573ce2ada Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei@gherzan.ro>
Date: Sun, 19 Jan 2014 20:35:29 +0200
Subject: [PATCH] omxplayer: Update to remote HEAD

Revert the tar command change introduced in:
https://github.com/popcornmix/omxplayer/commit/201c77973155861e60492e45d35467b19b69c1c4

This fails if DIST is an absolute path. The old command was working just fine.

Upstream-Status: Pending

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Jonathan Liu <net147@gmail.com>

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: git/Makefile
===================================================================
--- git.orig/Makefile
+++ git/Makefile
@@ -91,7 +91,7 @@ dist: omxplayer.bin omxplayer.1
 	cp README.md $(DIST)/usr/share/doc/omxplayer/README
 	cp omxplayer.1 $(DIST)/usr/share/man/man1
 	cp -P ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/
-	cd $(DIST); tar -czf ../$(DIST).tgz *
+	tar -czf omxplayer-dist.tar.gz $(DIST)
 
 install:
 	cp -r $(DIST)/* /
OpenPOWER on IntegriCloud