[oe-commits] org.oe.dev dvb-apps_1.1.1.bb : add from OM mtn

xora commit oe at amethyst.openembedded.net
Fri May 9 15:30:35 UTC 2008


dvb-apps_1.1.1.bb : add from OM mtn

Author: xora at openembedded.org
Branch: org.openembedded.dev
Revision: 1f5736686ba80ae22f6b918afffad28a98341759
ViewMTN: http://monotone.openembedded.org/revision/info/1f5736686ba80ae22f6b918afffad28a98341759
Files:
1
packages/dvbtools/dvb-apps-1.1.1
packages/dvbtools/dvb-apps-1.1.1/makefile.patch
packages/dvbtools/dvb-apps_1.1.1.bb
Diffs:

#
# mt diff -r3607c00052ba968a5052e6b5f44f6cb522a38d8b -r1f5736686ba80ae22f6b918afffad28a98341759
#
#
#
# add_dir "packages/dvbtools/dvb-apps-1.1.1"
# 
# add_file "packages/dvbtools/dvb-apps-1.1.1/makefile.patch"
#  content [53e5a822fed5ab5130190362938ad037f477943f]
# 
# add_file "packages/dvbtools/dvb-apps_1.1.1.bb"
#  content [e6bd10253bca1ce854ad10588291cf42b9d0d50a]
#
============================================================
--- packages/dvbtools/dvb-apps-1.1.1/makefile.patch	53e5a822fed5ab5130190362938ad037f477943f
+++ packages/dvbtools/dvb-apps-1.1.1/makefile.patch	53e5a822fed5ab5130190362938ad037f477943f
@@ -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
============================================================
--- packages/dvbtools/dvb-apps_1.1.1.bb	e6bd10253bca1ce854ad10588291cf42b9d0d50a
+++ packages/dvbtools/dvb-apps_1.1.1.bb	e6bd10253bca1ce854ad10588291cf42b9d0d50a
@@ -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/
+}






More information about the Openembedded-commits mailing list