summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2014-01-19 17:19:41 +0000
committerGherzan Code Review <gerrit2@gherzan.ro>2014-01-19 17:19:41 +0000
commit07764b251d6e0bcb4864993b4a65f0c52e97f4bd (patch)
tree6820b8bca0c822da820566d8e40f409f40d4e572
parentc4fd6d110239b564b127bba7b47711367b6fe0c2 (diff)
parentcbb600828825639335baf215022af1a4fa1a2301 (diff)
downloadmeta-raspberrypi-07764b251d6e0bcb4864993b4a65f0c52e97f4bd.tar.gz
Merge "omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION"
-rw-r--r--recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch23
-rw-r--r--recipes-multimedia/omxplayer/omxplayer_git.bb31
2 files changed, 40 insertions, 14 deletions
diff --git a/recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch b/recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch
new file mode 100644
index 0000000..4e43c7d
--- /dev/null
+++ b/recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch
@@ -0,0 +1,23 @@
1Busybox has a restriction in temp file name. From documentation:
2Create a temporary file with name based on TEMPLATE and print its name.
3TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX).
4
5Use 6 x 'X' to be busybox compatible too.
6
7Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
8
9Index: git/omxplayer
10===================================================================
11--- git.orig/omxplayer
12+++ git/omxplayer
13@@ -43,8 +43,8 @@ if [ -z $NOREFRESH ] || [ "$NOREFRESH" =
14 fi
15 fi
16
17-OMXPLAYER_DBUS_ADDR=`mktemp -t omxplayer-XXXXX`
18-OMXPLAYER_DBUS_PID=`mktemp -t omxplayer-XXXXX`
19+OMXPLAYER_DBUS_ADDR=`mktemp -t omxplayer-XXXXXX`
20+OMXPLAYER_DBUS_PID=`mktemp -t omxplayer-XXXXXX`
21
22 exec 5> $OMXPLAYER_DBUS_ADDR
23 exec 6> $OMXPLAYER_DBUS_PID
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb
index c77f858..8d444fd 100644
--- a/recipes-multimedia/omxplayer/omxplayer_git.bb
+++ b/recipes-multimedia/omxplayer/omxplayer_git.bb
@@ -1,20 +1,21 @@
1DESCRIPTION = "OMXPlayer is a commandline OMX player for the Raspberry Pi" 1SUMMARY = "A commandline OMX player for the Raspberry Pi"
2DESCRIPTION = "This player was developed as a testbed for the XBMC \
3Raspberry PI implementation and is quite handy to use standalone"
2HOMEPAGE = "https://github.com/popcornmix/omxplayer" 4HOMEPAGE = "https://github.com/popcornmix/omxplayer"
3SECTION = "console/utils" 5SECTION = "console/utils"
4LICENSE = "GPLv2"
5 6
7LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7 9
8DEPENDS = "libpcre libav virtual/egl boost freetype dbus" 10DEPENDS = "libpcre libav virtual/egl boost freetype dbus"
11PR = "r2"
9 12
10PR = "r1" 13SRCREV = "74f4be222be05d3ea50be9f5a70846f7c0e9df6e"
11
12SRCREV = "c0dd9502ed2c43c487674939195c69680f3d98b0"
13
14SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \ 14SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \
15 file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \ 15 file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \
16 file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \ 16 file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \
17 file://0003-Remove-strip-step-in-Makefile.patch" 17 file://0003-Remove-strip-step-in-Makefile.patch \
18 file://mktemp-compatible-with-busybox.patch"
18S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
19 20
20COMPATIBLE_MACHINE = "raspberrypi" 21COMPATIBLE_MACHINE = "raspberrypi"
@@ -46,17 +47,17 @@ export INCLUDES = "-isystem${STAGING_DIR_HOST}/usr/include \
46export DIST = "${D}" 47export DIST = "${D}"
47 48
48do_compile() { 49do_compile() {
49 # Needed for compiler test in ffmpeg's configure 50 # Needed for compiler test in ffmpeg's configure
50 mkdir -p tmp 51 mkdir -p tmp
51 52
52 oe_runmake ffmpeg 53 oe_runmake ffmpeg
53 oe_runmake 54 oe_runmake
54} 55}
55 56
56do_install() { 57do_install() {
57 oe_runmake dist 58 oe_runmake dist
58 mkdir -p ${D}/usr/share/fonts/truetype/freefont/ 59 mkdir -p ${D}/usr/share/fonts/truetype/freefont/
59 install ${S}/fonts/* ${D}/usr/share/fonts/truetype/freefont/ 60 install ${S}/fonts/* ${D}/usr/share/fonts/truetype/freefont/
60} 61}
61 62
62FILES_${PN} = "${bindir}/omxplayer* \ 63FILES_${PN} = "${bindir}/omxplayer* \
@@ -64,3 +65,5 @@ FILES_${PN} = "${bindir}/omxplayer* \
64 /usr/share/fonts" 65 /usr/share/fonts"
65 66
66FILES_${PN}-dev += "${libdir}/omxplayer/*.so" 67FILES_${PN}-dev += "${libdir}/omxplayer/*.so"
68
69RDEPENDS_${PN} += "bash"