From a913442e502464c476527cfe8984ed83050a5fe7 Mon Sep 17 00:00:00 2001 From: kos Date: Mon, 30 Apr 2012 17:42:56 +0900 Subject: [PATCH] add plugin(streamtvplayer) --- recipes/enigma2/enigma2.bb | 3 ++- recipes/gstreamer/gst-plugins-bad_0.10.22.bb | 4 ++-- recipes/rtmp/librtmp.bb | 25 +++++++++++++++++++++++++ recipes/tasks/task-vuplus-enigma2.bb | 3 ++- 4 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 recipes/rtmp/librtmp.bb diff --git a/recipes/enigma2/enigma2.bb b/recipes/enigma2/enigma2.bb index af29b49..6ada7ac 100644 --- a/recipes/enigma2/enigma2.bb +++ b/recipes/enigma2/enigma2.bb @@ -68,9 +68,10 @@ DESCRIPTION_append_enigma2-plugin-systemplugins-crashreport = "automatically sen RDEPENDS_enigma2-plugin-systemplugins-crashreport = "twisted-mail twisted-names python-compression python-mime python-email" RDEPENDS_enigma2-plugin-systemplugins-3gmodemmanager = "ppp usbmodeswitch usbmodeswitch-data wvdial wvstreams libwvutils4.6 libwvstreams-extras libuniconf4.6" RDEPENDS_enigma2-plugin-systemplugins-wirelessaccesspoint = "hostap-daemon bridge-utils" +RDEPENDS_enigma2-plugin-extensions-streamtv = "librtmp0 gst-plugin-rtmp " PN = "enigma2" -PR = "r29" +PR = "r30" SRCDATE = "20110922" SRCREV = "5e19a3f8a5e8ce8a4e2cb2b601a1b8ef3554e4be" diff --git a/recipes/gstreamer/gst-plugins-bad_0.10.22.bb b/recipes/gstreamer/gst-plugins-bad_0.10.22.bb index dae328d..277cf84 100644 --- a/recipes/gstreamer/gst-plugins-bad_0.10.22.bb +++ b/recipes/gstreamer/gst-plugins-bad_0.10.22.bb @@ -1,12 +1,12 @@ require gst-plugins.inc -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" do_configure_prepend() { sed -i -e s:docs::g Makefile.am } -DEPENDS += "gst-plugins-base" +DEPENDS += "gst-plugins-base librtmp" EXTRA_OECONF_opendreambox += "--disable-apexsink --disable-dvdnav --disable-cdaudio --disable-mpeg2enc --disable-mplex --disable-librfb" EXTRA_OECONF_vuplus += "--disable-apexsink --disable-dvdnav --disable-cdaudio --disable-mpeg2enc --disable-mplex --disable-librfb" diff --git a/recipes/rtmp/librtmp.bb b/recipes/rtmp/librtmp.bb new file mode 100644 index 0000000..6b0f161 --- /dev/null +++ b/recipes/rtmp/librtmp.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "librtmp Real-Time Messaging Protocol API" +LICENSE = "LGPL" + +DEPENDS = "openssl" + +inherit gitpkgv + +PKGV = "2.4+git${GITPKGV}" +PV = "2.4+git${SRCPV}" +PR = "r1" + +BRANCH="" +SRCREV="" + +SRC_URI = "git://git.ffmpeg.org/rtmpdump;protocol=git;branch=${BRANCH};tag=${SRCREV}" + +S = "${WORKDIR}/git/librtmp" + +do_compile() { + oe_runmake CROSS_COMPILE=${TARGET_PREFIX} CFLAGS="${CFLAGS} -fPIC" LDFLAGS="${LDFLAGS}" +} + +do_install() { + oe_runmake DESTDIR=${D} install +} diff --git a/recipes/tasks/task-vuplus-enigma2.bb b/recipes/tasks/task-vuplus-enigma2.bb index 7acc715..86762e2 100644 --- a/recipes/tasks/task-vuplus-enigma2.bb +++ b/recipes/tasks/task-vuplus-enigma2.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Vuplus: E2 Task for the Vuplus Distribution" SECTION = "vuplus/base" LICENSE = "MIT" -PR = "r17" +PR = "r18" inherit task @@ -32,6 +32,7 @@ RDEPENDS_task-vuplus-enigma2 = "\ enigma2-skins-meta \ enigma2-plugin-systemplugins-crashreport \ enigma2-plugin-systemplugins-3gmodemmanager \ + enigma2-plugin-extensions-streamtv \ " RRECOMMENDS_task-vuplus-enigma2 = "\ -- 2.7.4