summaryrefslogtreecommitdiff
path: root/recipes/dvbtools
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dvbtools')
-rw-r--r--recipes/dvbtools/dvb-apps-1.1.1/makefile.patch89
-rw-r--r--recipes/dvbtools/dvb-apps_1.1.1.bb109
-rw-r--r--recipes/dvbtools/dvbstream_cvs.bb15
-rw-r--r--recipes/dvbtools/dvbtraffic.bb19
-rw-r--r--recipes/dvbtools/dvbtune_cvs.bb22
-rw-r--r--recipes/dvbtools/sctzap_cvs.bb24
-rw-r--r--recipes/dvbtools/wscan_20080720.bb15
7 files changed, 293 insertions, 0 deletions
diff --git a/recipes/dvbtools/dvb-apps-1.1.1/makefile.patch b/recipes/dvbtools/dvb-apps-1.1.1/makefile.patch
new file mode 100644
index 0000000000..d3acb45d05
--- /dev/null
+++ b/recipes/dvbtools/dvb-apps-1.1.1/makefile.patch
@@ -0,0 +1,89 @@
+Index: linuxtv-dvb-apps-1.1.1/test/Makefile
+===================================================================
+--- linuxtv-dvb-apps-1.1.1.orig/test/Makefile 2004-01-17 17:59:46.000000000 +0100
++++ linuxtv-dvb-apps-1.1.1/test/Makefile 2008-03-25 20:04:23.000000000 +0100
+@@ -1,6 +1,6 @@
+ # Makefile for Linux DVB API Version 3 test programs
+
+-CC = gcc
++
+ CFLAGS = -g -O2 -W -Wall -I../include
+
+ TARGETS = \
+Index: linuxtv-dvb-apps-1.1.1/util/av7110_loadkeys/Makefile
+===================================================================
+--- linuxtv-dvb-apps-1.1.1.orig/util/av7110_loadkeys/Makefile 2004-01-17 17:59:46.000000000 +0100
++++ linuxtv-dvb-apps-1.1.1/util/av7110_loadkeys/Makefile 2008-03-25 20:04:23.000000000 +0100
+@@ -1,7 +1,6 @@
+-CC = gcc
+ CFLAGS = -g -Wall -O2
+
+-all: av7110_loadkeys evtest
++all: evtest
+
+ av7110_loadkeys: av7110_loadkeys.o
+
+Index: linuxtv-dvb-apps-1.1.1/util/lib/Makefile
+===================================================================
+--- linuxtv-dvb-apps-1.1.1.orig/util/lib/Makefile 2004-01-17 17:59:46.000000000 +0100
++++ linuxtv-dvb-apps-1.1.1/util/lib/Makefile 2008-03-25 20:04:23.000000000 +0100
+@@ -1,5 +1,5 @@
+
+-CC = gcc
++
+ CFLAGS = -MD -g -Wall -O2 -I../../include -I.
+ LFLAGS = -g -Wall
+
+Index: linuxtv-dvb-apps-1.1.1/util/scan/Makefile
+===================================================================
+--- linuxtv-dvb-apps-1.1.1.orig/util/scan/Makefile 2006-05-18 01:34:53.000000000 +0200
++++ linuxtv-dvb-apps-1.1.1/util/scan/Makefile 2008-03-25 20:04:23.000000000 +0100
+@@ -1,5 +1,5 @@
+
+-CC = gcc
++
+ CFLAGS = -MD -g -Wall -O2 -I../../include
+ LFLAGS = -g -Wall
+
+Index: linuxtv-dvb-apps-1.1.1/util/szap/Makefile
+===================================================================
+--- linuxtv-dvb-apps-1.1.1.orig/util/szap/Makefile 2006-05-18 01:31:54.000000000 +0200
++++ linuxtv-dvb-apps-1.1.1/util/szap/Makefile 2008-03-25 20:04:23.000000000 +0100
+@@ -1,4 +1,4 @@
+-CC = gcc
++
+ CFLAGS = -MD -Wall -g -O2 -I../../include -I../lib
+ LFLAGS = -Wall -g -O2
+ RM = rm -f
+Index: linuxtv-dvb-apps-1.1.1/util/dvbdate/Makefile
+===================================================================
+--- linuxtv-dvb-apps-1.1.1.orig/util/dvbdate/Makefile 2004-01-17 17:59:46.000000000 +0100
++++ linuxtv-dvb-apps-1.1.1/util/dvbdate/Makefile 2008-03-25 20:04:23.000000000 +0100
+@@ -1,5 +1,4 @@
+
+-CC = gcc
+ CFLAGS = -g -O2 -MD -Wall -I. -I../../include
+ LFLAGS =
+
+Index: linuxtv-dvb-apps-1.1.1/util/dvbnet/Makefile
+===================================================================
+--- linuxtv-dvb-apps-1.1.1.orig/util/dvbnet/Makefile 2004-01-17 17:59:46.000000000 +0100
++++ linuxtv-dvb-apps-1.1.1/util/dvbnet/Makefile 2008-03-25 20:04:23.000000000 +0100
+@@ -1,5 +1,4 @@
+
+-CC = gcc
+ CFLAGS = -g -O2 -MD -Wall -I. -I../../include
+ LFLAGS =
+
+Index: linuxtv-dvb-apps-1.1.1/util/dvbtraffic/Makefile
+===================================================================
+--- linuxtv-dvb-apps-1.1.1.orig/util/dvbtraffic/Makefile 2004-01-19 18:10:16.000000000 +0100
++++ linuxtv-dvb-apps-1.1.1/util/dvbtraffic/Makefile 2008-03-25 20:09:00.000000000 +0100
+@@ -1,6 +1,6 @@
+
+ dvbtraffic: dvbtraffic.c
+- gcc -MD -g -O2 -Wall -I../../include $< -o $@
++ $(CC) -MD -g -O2 -Wall -I../../include $< -o $@
+
+ clean:
+ rm -f *.o *.d dvbtraffic
diff --git a/recipes/dvbtools/dvb-apps_1.1.1.bb b/recipes/dvbtools/dvb-apps_1.1.1.bb
new file mode 100644
index 0000000000..ebf25d0393
--- /dev/null
+++ b/recipes/dvbtools/dvb-apps_1.1.1.bb
@@ -0,0 +1,109 @@
+HOMEPAGE = "http://www.linuxtv.org"
+LICENSE = "GPL"
+S = "${WORKDIR}/linuxtv-dvb-apps-${PV}"
+
+SRC_URI = "http://linuxtv.org/downloads/linuxtv-dvb-apps-${PV}.tar.bz2 \
+ file://makefile.patch;patch=1"
+
+PACKAGES += "evtest evtest-dbg \
+ dvbapp-tests dvbapp-tests-dbg \
+ dvbdate dvbdate-dbg \
+ dvbtraffic dvbtraffic-dbg \
+ dvbnet dvbnet-dbg \
+ dvb-scan dvb-scan-dbg dvb-scan-data \
+ dvb-azap dvb-azap-dbg \
+ dvb-czap dvb-czap-dbg \
+ dvb-szap dvb-szap-dbg \
+ dvb-tzap dvb-tzap-dbg \
+ dvb-femon dvb-femon-dbg \
+ dvb-zap-data"
+
+
+FILES_${PN} = ""
+FILES_${PN}-dbg = ""
+FILES_${PN}-doc = ""
+
+FILES_evtest = "${bindir}/evtest"
+FILES_evtest-dbg = "${bindir}/.debug/evtest"
+
+FILES_dvbapp-tests = "${bindir}/test_*"
+FILES_dvbapp-tests-dbg = "${bindir}/.debug/test_*"
+
+FILES_dvbdate = "${bindir}/dvbdate"
+FILES_dvbdate-dbg = "${bindir}/.debug/dvbdate"
+
+FILES_dvbtraffic = "${bindir}/dvbtraffic"
+FILES_dvbtraffic-dbg = "${bindir}/.debug/dvbtraffic"
+
+FILES_dvbnet = "${bindir}/dvbnet"
+FILES_dvbnet-dbg = "${bindir}/.debug/dvbnet"
+
+FILES_dvb-scan = "${bindir}/scan"
+FILES_dvb-scan-dbg = "${bindir}/.debug/scan"
+FILES_dvb-scan-data = "${docdir}/dvb-apps/scan"
+
+FILES_dvb-azap = "${bindir}/azap"
+FILES_dvb-azap-dbg = "${bindir}/.debug/azap"
+
+FILES_dvb-czap = "${bindir}/czap"
+FILES_dvb-czap-dbg = "${bindir}/.debug/czap"
+
+FILES_dvb-szap = "${bindir}/szap"
+FILES_dvb-szap-dbg = "${bindir}/.debug/szap"
+
+FILES_dvb-tzap = "${bindir}/tzap"
+FILES_dvb-tzap-dbg = "${bindir}/.debug/tzap"
+
+FILES_dvb-femon = "${bindir}/femon"
+FILES_dvb-femon-dbg = "${bindir}/.debug/femon"
+
+FILES_dvb-zap-data = "${docdir}/dvb-apps/szap"
+
+
+
+do_install() {
+ install -d ${D}/${bindir}
+ install -d ${D}/${docdir}/dvb-apps
+ install -d ${D}/${docdir}/dvb-apps/scan
+ install -d ${D}/${docdir}/dvb-apps/szap
+
+ # Install tests
+ install -m 0755 ${S}/test/setvoltage ${D}${bindir}/test_setvoltage
+ install -m 0755 ${S}/test/set22k ${D}${bindir}/test_set22k
+ install -m 0755 ${S}/test/video ${D}${bindir}/test_video
+ install -m 0755 ${S}/test/sendburst ${D}${bindir}/test_sendburst
+ install -m 0755 ${S}/test/diseqc ${D}${bindir}/test_diseqc
+ install -m 0755 ${S}/test/test_sections ${D}${bindir}/
+ install -m 0755 ${S}/test/test_av_play ${D}${bindir}/
+ install -m 0755 ${S}/test/test_stillimage ${D}${bindir}/
+ install -m 0755 ${S}/test/test_dvr_play ${D}${bindir}/
+ install -m 0755 ${S}/test/test_tt ${D}${bindir}/
+ install -m 0755 ${S}/test/test_sec_ne ${D}${bindir}/
+ install -m 0755 ${S}/test/test_stc ${D}${bindir}/
+ install -m 0755 ${S}/test/test_av ${D}${bindir}/
+ install -m 0755 ${S}/test/test_vevent ${D}${bindir}/
+ install -m 0755 ${S}/test/test_pes ${D}${bindir}/
+ install -m 0755 ${S}/test/test_dvr ${D}${bindir}/
+
+ # Install the utils
+ install -m 0755 ${S}/util/dvbtraffic/dvbtraffic ${D}${bindir}/
+ install -m 0755 ${S}/util/scan/scan ${D}${bindir}/
+ install -m 0755 ${S}/util/szap/tzap ${D}${bindir}/
+ install -m 0755 ${S}/util/szap/czap ${D}${bindir}/
+ install -m 0755 ${S}/util/szap/femon ${D}${bindir}/
+ install -m 0755 ${S}/util/szap/szap ${D}${bindir}/
+ install -m 0755 ${S}/util/szap/azap ${D}${bindir}/
+ install -m 0755 ${S}/util/av7110_loadkeys/evtest ${D}${bindir}/
+ install -m 0755 ${S}/util/dvbnet/dvbnet ${D}${bindir}/
+ install -m 0755 ${S}/util/dvbdate/dvbdate ${D}${bindir}/
+
+ # Install data files
+ cp -pPR ${S}/util/scan/dvb-c ${D}/${docdir}/dvb-apps/scan/
+ cp -pPR ${S}/util/scan/dvb-s ${D}/${docdir}/dvb-apps/scan/
+ cp -pPR ${S}/util/scan/dvb-t ${D}/${docdir}/dvb-apps/scan/
+ cp -pPR ${S}/util/scan/atsc ${D}/${docdir}/dvb-apps/scan/
+ cp -pPR ${S}/util/scan/README ${D}/${docdir}/dvb-apps/scan/
+
+ cp -pPR ${S}/util/szap/channels.conf-* ${D}/${docdir}/dvb-apps/szap/
+ cp -pPR ${S}/util/szap/README ${D}/${docdir}/dvb-apps/szap/
+}
diff --git a/recipes/dvbtools/dvbstream_cvs.bb b/recipes/dvbtools/dvbstream_cvs.bb
new file mode 100644
index 0000000000..c2411437e1
--- /dev/null
+++ b/recipes/dvbtools/dvbstream_cvs.bb
@@ -0,0 +1,15 @@
+SECTION = "console/multimedia"
+PRIORITY = "optional"
+LICENSE = "GPLV2"
+DEPENDS = "libxml2"
+PV = "0.0+cvs${SRCDATE}"
+
+SRC_URI = "cvs://anonymous@dvbtools.cvs.sourceforge.net/cvsroot/dvbtools;module=dvbstream"
+S = "${WORKDIR}/dvbstream"
+
+CFLAGS_append = " -D_GNU_SOURCE"
+
+do_install() {
+ mkdir -p ${D}${bindir}
+ for i in dvbstream dumprtp ts_filter rtpfeed; do install -m 0755 $i ${D}${bindir}/; done
+}
diff --git a/recipes/dvbtools/dvbtraffic.bb b/recipes/dvbtools/dvbtraffic.bb
new file mode 100644
index 0000000000..b41364353d
--- /dev/null
+++ b/recipes/dvbtools/dvbtraffic.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "dvbtraffic is a tool to display all pids on a transport stream"
+SECTION = "console/multimedia"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+PV = "0.0cvs${SRCDATE}"
+
+SRC_URI = "cvs://anonymous@cvs.linuxtv.org/cvs/linuxtv;module=dvb-apps/util/dvbtraffic"
+
+S = "${WORKDIR}/dvbtraffic"
+CFLAGS_append = " -D PATH_MAX=128"
+
+do_compile() {
+ oe_runmake dvbtraffic
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 dvbtraffic ${D}${bindir}/
+}
diff --git a/recipes/dvbtools/dvbtune_cvs.bb b/recipes/dvbtools/dvbtune_cvs.bb
new file mode 100644
index 0000000000..7b0f9e39d2
--- /dev/null
+++ b/recipes/dvbtools/dvbtune_cvs.bb
@@ -0,0 +1,22 @@
+SECTION = "console/multimedia"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+DEPENDS = "libxml2"
+PV = "0.0+cvs${SRCDATE}"
+
+SRC_URI = "cvs://anonymous@dvbtools.cvs.sourceforge.net/cvsroot/dvbtools;module=dvbtune"
+
+S = "${WORKDIR}/dvbtune"
+
+CFLAGS += "\$(shell xml2-config --cflags)"
+LDFLAGS += "\$(shell xml2-config --libs)"
+
+do_compile() {
+ oe_runmake dvbtune xml2vdr
+}
+
+do_install() {
+ mkdir -p ${D}${bindir}
+ install -m 0755 dvbtune ${D}${bindir}/
+ install -m 0755 xml2vdr ${D}${bindir}/
+}
diff --git a/recipes/dvbtools/sctzap_cvs.bb b/recipes/dvbtools/sctzap_cvs.bb
new file mode 100644
index 0000000000..294b3b4ac1
--- /dev/null
+++ b/recipes/dvbtools/sctzap_cvs.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "szap, czap, tzap are command-line based tools to tune in a DVB service"
+SECTION = "console/multimedia"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+PV = "0.0cvs${SRCDATE}"
+
+SRC_URI = "cvs://anonymous@cvs.linuxtv.org/cvs/linuxtv;module=dvb-apps/util/szap \
+ cvs://anonymous@cvs.linuxtv.org/cvs/linuxtv;module=dvb-apps/util/lib"
+
+S = "${WORKDIR}/szap"
+
+CFLAGS_append = " -I../lib "
+
+do_compile() {
+ oe_runmake szap czap tzap femon
+}
+
+do_install() {
+ mkdir -p ${D}${bindir}
+ install -m 0755 szap ${D}${bindir}/
+ install -m 0755 czap ${D}${bindir}/
+ install -m 0755 tzap ${D}${bindir}/
+ install -m 0755 femon ${D}${bindir}/
+}
diff --git a/recipes/dvbtools/wscan_20080720.bb b/recipes/dvbtools/wscan_20080720.bb
new file mode 100644
index 0000000000..b71fb2bf18
--- /dev/null
+++ b/recipes/dvbtools/wscan_20080720.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Wscan is a dvb channel scanner that doesn't require an initial frequency table"
+LICENSE = "GPLv2"
+
+SRC_URI = "http://wirbel.htpc-forum.de/w_scan/w_scan-${PV}.tar.bz2"
+S = "${WORKDIR}/w_scan-${PV}"
+
+do_install() {
+ install -d ${D}/${bindir}
+ install -m 0755 w_scan ${D}/${bindir}/
+
+ install -d ${D}/${datadir}/w_scan
+ install -m 0644 *.ids *.classes ${D}/${datadir}/w_scan/
+}
+
+FILES_${PN} += "${datadir}"