source: titan/libeplayer3/exteplayer3_28.bb @ 42227

Last change on this file since 42227 was 39688, checked in by obi, 5 years ago

add extplayer3

File size: 2.2 KB
Line 
1SUMMARY = "exteplayer3 - media player for E2"
2DESCRIPTION = "Core of movie player for E2 based on the libeplayer using the ffmpeg solution"
3SECTION = "multimedia"
4LICENSE = "GPL-2.0"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
6
7DEPENDS = "ffmpeg"
8RDEPENDS_${PN} = "ffmpeg"
9
10SRCREV = "921d3e0958425bc9b202e94b4ecc1d9340fea7e6"
11SRC_URI = "git://github.com/samsamsam-iptvplayer/exteplayer3.git;branch=master"
12
13S = "${WORKDIR}/git/"
14
15SOURCE_FILES = "main/exteplayer.c"
16SOURCE_FILES =+ "container/container.c"
17SOURCE_FILES =+ "container/container_ffmpeg.c"
18SOURCE_FILES =+ "manager/manager.c"
19SOURCE_FILES =+ "manager/audio.c"
20SOURCE_FILES =+ "manager/video.c"
21SOURCE_FILES =+ "manager/subtitle.c"
22SOURCE_FILES =+ "output/output_subtitle.c"
23SOURCE_FILES =+ "output/output.c"
24SOURCE_FILES =+ "output/writer/common/pes.c"
25SOURCE_FILES =+ "output/writer/common/misc.c"
26SOURCE_FILES =+ "playback/playback.c"
27
28SOURCE_FILES =+ "${@base_contains("TARGET_ARCH", "sh4", "\
29output/linuxdvb_sh4.c \
30output/writer/sh4/writer.c \
31output/writer/sh4/aac.c \
32output/writer/sh4/ac3.c \
33output/writer/sh4/divx2.c \
34output/writer/sh4/dts.c \
35output/writer/sh4/h263.c \
36output/writer/sh4/h264.c \
37output/writer/sh4/mp3.c \
38output/writer/sh4/mpeg2.c \
39output/writer/sh4/pcm.c \
40output/writer/sh4/vc1.c \
41output/writer/sh4/wma.c \
42output/writer/sh4/wmv.c ", " \
43output/linuxdvb_mipsel.c \
44output/writer/mipsel/writer.c \
45output/writer/mipsel/aac.c \
46output/writer/mipsel/ac3.c \
47output/writer/mipsel/mp3.c \
48output/writer/mipsel/pcm.c \
49output/writer/mipsel/lpcm.c \
50output/writer/mipsel/dts.c \
51output/writer/mipsel/amr.c \
52output/writer/mipsel/wma.c \
53output/writer/mipsel/h264.c \
54output/writer/mipsel/h263.c \
55output/writer/mipsel/mpeg2.c \
56output/writer/mipsel/mpeg4.c \
57output/writer/mipsel/divx3.c \
58output/writer/mipsel/vc1.c ", d)}"
59
60do_compile() {
61    ${CC} ${SOURCE_FILES} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I${S}/include -I${D}/${libdir} -I${D}/${includedir} -lpthread -lavformat -lavcodec -lavutil -lswresample -o exteplayer3
62}
63
64do_install() {
65    install -d ${D}${bindir}
66    install -m 0755 ${S}/exteplayer3 ${D}${bindir}
67}
68
Note: See TracBrowser for help on using the repository browser.