diff options
author | Alexandru Niculita <alexnick87@gmail.com> | 2013-11-14 17:17:54 +0200 |
---|---|---|
committer | Alexandru Niculita <alexnick87@gmail.com> | 2013-11-14 17:26:13 +0200 |
commit | eff5ec9b75f2df6f06645fcc673bce7ca35fdc51 (patch) | |
tree | 76c10b833a8ca68076c9de9d2b6c15f191c60bc5 /recipes-multimedia | |
parent | aa662e8575268c13461c9c036b83dcb253837e8f (diff) | |
download | meta-raspberrypi-eff5ec9b75f2df6f06645fcc673bce7ca35fdc51.tar.gz |
omxplayer: Updated package to the latest version from git
Changed the active development repository to git://github.com/popcornmix/omxplayer.git
Added dbus package as a dependency.
Installed fonts directory in the default location needed by omxplayer
Change-Id: Ie2e1ae73656d3c9a5cbefbf87d0792b10fcd9430
Signed-off-by: Alexandru Niculita <alexnick87@gmail.com>
Diffstat (limited to 'recipes-multimedia')
4 files changed, 52 insertions, 60 deletions
diff --git a/recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch b/recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch index b68e351..151c33c 100644 --- a/recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch +++ b/recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch | |||
@@ -8,40 +8,34 @@ variables provided by build system. | |||
8 | 8 | ||
9 | Upstream-Status: Inappropriate [embedded specific] | 9 | Upstream-Status: Inappropriate [embedded specific] |
10 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | 10 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
11 | --- | 11 | |
12 | Makefile | 2 -- | 12 | Updated patch to apply to c0dd9502ed2c43c487674939195c69680f3d98b0 revision |
13 | Makefile.ffmpeg | 2 -- | ||
14 | Makefile.include | 38 -------------------------------------- | ||
15 | 3 files changed, 42 deletions(-) | ||
16 | delete mode 100644 Makefile.include | ||
17 | 13 | ||
18 | diff --git a/Makefile b/Makefile | 14 | diff --git a/Makefile b/Makefile |
19 | index 519048a..1faa779 100644 | 15 | index f348465..65f7637 100644 |
20 | --- a/Makefile | 16 | --- a/Makefile |
21 | +++ b/Makefile | 17 | +++ b/Makefile |
22 | @@ -1,5 +1,3 @@ | 18 | @@ -1,4 +1,3 @@ |
23 | -include Makefile.include | 19 | -include Makefile.include |
24 | - | ||
25 | CFLAGS+=-std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST | ||
26 | 20 | ||
27 | LDFLAGS+=-L./ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/local/lib/ | 21 | CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST |
22 | |||
28 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg | 23 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg |
29 | index 6ec94af..4297b1f 100644 | 24 | index 083e214..3b31a82 100644 |
30 | --- a/Makefile.ffmpeg | 25 | --- a/Makefile.ffmpeg |
31 | +++ b/Makefile.ffmpeg | 26 | +++ b/Makefile.ffmpeg |
32 | @@ -1,5 +1,3 @@ | 27 | @@ -1,4 +1,3 @@ |
33 | -include Makefile.include | 28 | -include Makefile.include |
34 | - | ||
35 | CFLAGS=-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_HAVE_SBRK -D_LARGEFILE64_SOURCE -DHAVE_CMAKE_CONFIG -DHAVE_VMCS_CONFIG -D_REENTRANT -DUSE_VCHIQ_ARM -DVCHI_BULK_ALIGN=1 -DVCHI_BULK_GRANULARITY=1 -DEGL_SERVER_DISPMANX -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__VIDEOCORE4__ -DGRAPHICS_X_VG=1 -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT | ||
36 | 29 | ||
37 | WORK=$(PWD) | 30 | CFLAGS=-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_HAVE_SBRK -D_LARGEFILE64_SOURCE -DHAVE_CMAKE_CONFIG -DHAVE_VMCS_CONFIG -D_REENTRANT -DUSE_VCHIQ_ARM -DVCHI_BULK_ALIGN=1 -DVCHI_BULK_GRANULARITY=1 -DEGL_SERVER_DISPMANX -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__VIDEOCORE4__ -DGRAPHICS_X_VG=1 -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT |
31 | |||
38 | diff --git a/Makefile.include b/Makefile.include | 32 | diff --git a/Makefile.include b/Makefile.include |
39 | deleted file mode 100644 | 33 | deleted file mode 100644 |
40 | index 501fd4f..0000000 | 34 | index 58e9560..0000000 |
41 | --- a/Makefile.include | 35 | --- a/Makefile.include |
42 | +++ /dev/null | 36 | +++ /dev/null |
43 | @@ -1,38 +0,0 @@ | 37 | @@ -1,40 +0,0 @@ |
44 | -USE_BUILDROOT=1 | 38 | -USE_BUILDROOT=0 |
45 | -FLOAT=hard | 39 | -FLOAT=hard |
46 | - | 40 | - |
47 | -ifeq ($(USE_BUILDROOT), 1) | 41 | -ifeq ($(USE_BUILDROOT), 1) |
@@ -55,9 +49,10 @@ index 501fd4f..0000000 | |||
55 | -BUILDROOT :=/opt/bcm-rootfs | 49 | -BUILDROOT :=/opt/bcm-rootfs |
56 | -SDKSTAGE :=/opt/bcm-rootfs | 50 | -SDKSTAGE :=/opt/bcm-rootfs |
57 | -TARGETFS :=/opt/bcm-rootfs | 51 | -TARGETFS :=/opt/bcm-rootfs |
58 | -TOOLCHAIN :=/usr/local/bcm-gcc | 52 | -TOOLCHAIN :=/home/dc4/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/ |
59 | -HOST :=bcm2708 | 53 | -HOST :=arm-linux-gnueabihf |
60 | -SYSROOT :=$(TOOLCHAIN)/arm-bcm2708-linux-gnueabi/sys-root | 54 | -#SYSROOT :=$(TOOLCHAIN)/arm-bcm2708hardfp-linux-gnueabi/sysroot |
55 | -SYSROOT :=/opt/bcm-rootfs | ||
61 | -endif | 56 | -endif |
62 | - | 57 | - |
63 | -JOBS=7 | 58 | -JOBS=7 |
@@ -76,9 +71,7 @@ index 501fd4f..0000000 | |||
76 | -CXXCP := $(CXX) -E | 71 | -CXXCP := $(CXX) -E |
77 | -PATH := $(PREFIX)/bin:$(BUILDROOT)/output/host/usr/bin:$(PATH) | 72 | -PATH := $(PREFIX)/bin:$(BUILDROOT)/output/host/usr/bin:$(PATH) |
78 | - | 73 | - |
79 | -CFLAGS += -pipe -mfloat-abi=$(FLOAT) -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux -mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -mno-apcs-stack-check -O3 -mstructure-size-boundary=32 -mno-sched-prolog | 74 | -CFLAGS += -pipe -mfloat-abi=$(FLOAT) -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux -mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -mno-apcs-stack-check -g -mstructure-size-boundary=32 -mno-sched-prolog |
80 | -LDFLAGS += -L$(SDKSTAGE)/lib -L$(SDKSTAGE)/usr/lib -L$(SDKSTAGE)/opt/vc/lib/ | 75 | -LDFLAGS += -L$(SDKSTAGE)/lib -L$(SDKSTAGE)/usr/lib -L$(SDKSTAGE)/opt/vc/lib/ -Lpcre/build |
81 | -INCLUDES += -isystem$(SDKSTAGE)/usr/include -isystem$(SDKSTAGE)/opt/vc/include -isystem$(SYSROOT)/usr/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -isystem$(SDKSTAGE)/usr/include/freetype2 | 76 | -#INCLUDES += -isystem$(SDKSTAGE)/usr/include -isystem$(SDKSTAGE)/opt/vc/include -isystem$(SYSROOT)/usr/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -isystem$(SDKSTAGE)/usr/include/freetype2 |
82 | -- | 77 | -INCLUDES += -isystem$(SDKSTAGE)/opt/vc/include -isystem$(SYSROOT)/usr/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -Ipcre/build -Iboost-trunk -Ifreetype2/include |
83 | 1.7.9.5 | ||
84 | |||
diff --git a/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch b/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch index 00a1f29..4976995 100644 --- a/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch +++ b/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch | |||
@@ -7,26 +7,26 @@ Don't search for libraries and headers in /usr/local. | |||
7 | 7 | ||
8 | Upstream-Status: Inappropriate [embedded specific] | 8 | Upstream-Status: Inappropriate [embedded specific] |
9 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | 9 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
10 | --- | 10 | |
11 | Makefile | 6 +++--- | 11 | Updated patch to apply to c0dd9502ed2c43c487674939195c69680f3d98b0 revision |
12 | Makefile.ffmpeg | 2 +- | ||
13 | 2 files changed, 4 insertions(+), 4 deletions(-) | ||
14 | 12 | ||
15 | diff --git a/Makefile b/Makefile | 13 | diff --git a/Makefile b/Makefile |
16 | index 1faa779..7b639f1 100644 | 14 | index 65f7637..5dc1832 100644 |
17 | --- a/Makefile | 15 | --- a/Makefile |
18 | +++ b/Makefile | 16 | +++ b/Makefile |
19 | @@ -1,7 +1,7 @@ | 17 | @@ -1,9 +1,9 @@ |
20 | CFLAGS+=-std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST | 18 | |
19 | CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST | ||
20 | |||
21 | -LDFLAGS+=-L./ -ldbus-1 -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/local/lib/ | ||
22 | +LDFLAGS+=-L./ -ldbus-1 -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/lib/ | ||
21 | 23 | ||
22 | -LDFLAGS+=-L./ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/local/lib/ | ||
23 | -INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ | 24 | -INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ |
24 | +LDFLAGS+=-L./ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/lib/ | ||
25 | +INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/include/ | 25 | +INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/include/ |
26 | 26 | ||
27 | DIST ?= omxplayer-dist | 27 | DIST ?= omxplayer-dist |
28 | 28 | ||
29 | @@ -66,5 +66,5 @@ dist: omxplayer.bin | 29 | @@ -70,5 +70,5 @@ dist: omxplayer.bin |
30 | cp omxplayer omxplayer.bin $(DIST)/usr/bin | 30 | cp omxplayer omxplayer.bin $(DIST)/usr/bin |
31 | cp COPYING $(DIST)/usr/share/doc/ | 31 | cp COPYING $(DIST)/usr/share/doc/ |
32 | cp README.md $(DIST)/usr/share/doc/README | 32 | cp README.md $(DIST)/usr/share/doc/README |
@@ -34,16 +34,13 @@ index 1faa779..7b639f1 100644 | |||
34 | + cp -a ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ | 34 | + cp -a ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ |
35 | tar -czf omxplayer-dist.tar.gz $(DIST) | 35 | tar -czf omxplayer-dist.tar.gz $(DIST) |
36 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg | 36 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg |
37 | index 6ec94af..13e6c09 100644 | 37 | index 3b31a82..5f30b51 100644 |
38 | --- a/Makefile.ffmpeg | 38 | --- a/Makefile.ffmpeg |
39 | +++ b/Makefile.ffmpeg | 39 | +++ b/Makefile.ffmpeg |
40 | @@ -64,5 +64,5 @@ checkout: | 40 | @@ -248,5 +248,5 @@ checkout: |
41 | 41 | ||
42 | install: | 42 | install: |
43 | cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install | 43 | cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install |
44 | - $(HOST)-strip ffmpeg_compiled/usr/local/lib/*.so | 44 | - $(HOST)-strip ffmpeg_compiled/usr/local/lib/*.so |
45 | + $(HOST)-strip ffmpeg_compiled/usr/lib/*.so | 45 | + $(HOST)-strip ffmpeg_compiled/usr/lib/*.so |
46 | 46 | ||
47 | -- | ||
48 | 1.7.9.5 | ||
49 | |||
diff --git a/recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch b/recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch index df15763..d1d3d8f 100644 --- a/recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch +++ b/recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch | |||
@@ -10,30 +10,26 @@ omxplayer was already stripped, this will prevent future debugging! | |||
10 | 10 | ||
11 | Upstream-Status: Inappropriate [embedded specific] | 11 | Upstream-Status: Inappropriate [embedded specific] |
12 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | 12 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
13 | --- | 13 | |
14 | Makefile.ffmpeg | 4 ++-- | 14 | Updated patch to apply to 0dd9502ed2c43c487674939195c69680f3d98b0 revision |
15 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
16 | 15 | ||
17 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg | 16 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg |
18 | index 13e6c09..51c9514 100644 | 17 | index 5f30b51..e023927 100644 |
19 | --- a/Makefile.ffmpeg | 18 | --- a/Makefile.ffmpeg |
20 | +++ b/Makefile.ffmpeg | 19 | +++ b/Makefile.ffmpeg |
21 | @@ -53,7 +53,8 @@ configure: | 20 | @@ -237,7 +237,8 @@ configure: |
22 | --enable-hardcoded-tables \ | 21 | --disable-decoder=bintext \ |
23 | --disable-runtime-cpudetect \ | 22 | --disable-decoder=xbin \ |
24 | --disable-debug \ | 23 | --disable-decoder=idf \ |
25 | - --cross-prefix=$(HOST)- | 24 | - --cross-prefix=$(HOST)- |
26 | + --cross-prefix=$(HOST)- \ | 25 | + --cross-prefix=$(HOST)- \ |
27 | + --disable-stripping | 26 | + --disable-stripping |
28 | 27 | ||
29 | clean: | 28 | clean: |
30 | @rm -rf ffmpeg | 29 | @rm -rf ffmpeg |
31 | @@ -64,5 +65,4 @@ checkout: | 30 | @@ -248,5 +249,4 @@ checkout: |
32 | 31 | ||
33 | install: | 32 | install: |
34 | cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install | 33 | cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install |
35 | - $(HOST)-strip ffmpeg_compiled/usr/lib/*.so | 34 | - $(HOST)-strip ffmpeg_compiled/usr/lib/*.so |
36 | 35 | ||
37 | -- | ||
38 | 1.7.9.5 | ||
39 | |||
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb index a456026..c77f858 100644 --- a/recipes-multimedia/omxplayer/omxplayer_git.bb +++ b/recipes-multimedia/omxplayer/omxplayer_git.bb | |||
@@ -1,16 +1,17 @@ | |||
1 | DESCRIPTION = "OMXPlayer is a commandline OMX player for the Raspberry Pi" | 1 | DESCRIPTION = "OMXPlayer is a commandline OMX player for the Raspberry Pi" |
2 | HOMEPAGE = "https://github.com/huceke/omxplayer" | 2 | HOMEPAGE = "https://github.com/popcornmix/omxplayer" |
3 | SECTION = "console/utils" | 3 | SECTION = "console/utils" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | 5 | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
7 | 7 | ||
8 | DEPENDS = "libpcre libav virtual/egl boost freetype" | 8 | DEPENDS = "libpcre libav virtual/egl boost freetype dbus" |
9 | 9 | ||
10 | PR = "r1" | 10 | PR = "r1" |
11 | 11 | ||
12 | SRCREV = "dae98a8bba9dc7410b0621134f6ebdb406adb1bd" | 12 | SRCREV = "c0dd9502ed2c43c487674939195c69680f3d98b0" |
13 | SRC_URI = "git://github.com/huceke/omxplayer.git;protocol=git;branch=master \ | 13 | |
14 | SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \ | ||
14 | file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \ | 15 | file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \ |
15 | 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 \ |
16 | file://0003-Remove-strip-step-in-Makefile.patch" | 17 | file://0003-Remove-strip-step-in-Makefile.patch" |
@@ -37,6 +38,8 @@ export INCLUDES = "-isystem${STAGING_DIR_HOST}/usr/include \ | |||
37 | -isystem${STAGING_DIR_HOST}/usr/include/interface/vcos/pthreads \ | 38 | -isystem${STAGING_DIR_HOST}/usr/include/interface/vcos/pthreads \ |
38 | -isystem${STAGING_DIR_HOST}/usr/include/freetype2 \ | 39 | -isystem${STAGING_DIR_HOST}/usr/include/freetype2 \ |
39 | -isystem${STAGING_DIR_HOST}/usr/include/interface/vmcs_host/linux \ | 40 | -isystem${STAGING_DIR_HOST}/usr/include/interface/vmcs_host/linux \ |
41 | -isystem${STAGING_DIR_HOST}/usr/include/dbus-1.0 \ | ||
42 | -isystem${STAGING_DIR_HOST}/usr/lib/dbus-1.0/include \ | ||
40 | " | 43 | " |
41 | 44 | ||
42 | # Install in ${D} | 45 | # Install in ${D} |
@@ -52,9 +55,12 @@ do_compile() { | |||
52 | 55 | ||
53 | do_install() { | 56 | do_install() { |
54 | oe_runmake dist | 57 | oe_runmake dist |
58 | mkdir -p ${D}/usr/share/fonts/truetype/freefont/ | ||
59 | install ${S}/fonts/* ${D}/usr/share/fonts/truetype/freefont/ | ||
55 | } | 60 | } |
56 | 61 | ||
57 | FILES_${PN} = "${bindir}/omxplayer* \ | 62 | FILES_${PN} = "${bindir}/omxplayer* \ |
58 | ${libdir}/omxplayer/lib*${SOLIBS}" | 63 | ${libdir}/omxplayer/lib*${SOLIBS} \ |
64 | /usr/share/fonts" | ||
59 | 65 | ||
60 | FILES_${PN}-dev += "${libdir}/omxplayer/*.so" | 66 | FILES_${PN}-dev += "${libdir}/omxplayer/*.so" |