aboutsummaryrefslogtreecommitdiffstats
path: root/testing/omxplayer/use-system-libs.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-27 08:45:44 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-27 08:46:14 +0000
commit93edf8b9cb587a262437fa17ecc73690f45487a2 (patch)
tree0dc288086775f11f324a6e2bfb31dffdc4ae305e /testing/omxplayer/use-system-libs.patch
parent3a49fdeb3ed63e395e1790f540c43ce889318fff (diff)
downloadaports-93edf8b9cb587a262437fa17ecc73690f45487a2.tar.bz2
aports-93edf8b9cb587a262437fa17ecc73690f45487a2.tar.xz
testing/omxplayer: new aport
Basic command line player for Raspberry Pi
Diffstat (limited to 'testing/omxplayer/use-system-libs.patch')
-rw-r--r--testing/omxplayer/use-system-libs.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/omxplayer/use-system-libs.patch b/testing/omxplayer/use-system-libs.patch
new file mode 100644
index 0000000000..d51d0fdd73
--- /dev/null
+++ b/testing/omxplayer/use-system-libs.patch
@@ -0,0 +1,23 @@
+--- omxplayer-b34143cb3e678453ccae968d3a65c0cb5a34333e.orig/Makefile
++++ omxplayer-b34143cb3e678453ccae968d3a65c0cb5a34333e/Makefile
+@@ -46,7 +46,7 @@
+ $(CXX) $(CFLAGS) $(INCLUDES) -c $< -o $@ -Wno-deprecated-declarations
+
+ version:
+- bash gen_version.sh > version.h
++ sh gen_version.sh > version.h
+
+ omxplayer.bin: version $(OBJS)
+ $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) -lvchiq_arm -lvcos -lrt -lpthread -lavutil -lavcodec -lavformat -lswscale -lswresample -lpcre
+@@ -65,11 +65,9 @@
+ make -f Makefile.ffmpeg install
+
+ dist: omxplayer.bin
+- mkdir -p $(DIST)/usr/lib/omxplayer
+ mkdir -p $(DIST)/usr/bin
+ mkdir -p $(DIST)/usr/share/doc
+ cp omxplayer omxplayer.bin $(DIST)/usr/bin
+ cp COPYING $(DIST)/usr/share/doc/
+ cp README.md $(DIST)/usr/share/doc/README
+- cp -a ffmpeg_compiled/usr/local/lib/*.so* $(DIST)/usr/lib/omxplayer/
+ tar -czf omxplayer-dist.tar.gz $(DIST)