summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/gnuradio
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2013-11-14 19:14:12 -0500
committerMartin Jansa <Martin.Jansa@gmail.com>2013-11-18 23:12:32 +0100
commit4580f49afe7d974f279eae766c0171aeb208689a (patch)
tree0b2fcbd78e7694f7d44b072758a2a523a69cfe35 /meta-oe/recipes-connectivity/gnuradio
parent381c941594752465d08967f3567c7a63e4cc3170 (diff)
downloadmeta-openembedded-4580f49afe7d974f279eae766c0171aeb208689a.tar.gz
gnuradio: Remove recipes. Now lives in meta-sdr.
https://github.com/balister/meta-sdr Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/gnuradio')
-rw-r--r--meta-oe/recipes-connectivity/gnuradio/gnuradio/0001-gr-trellis-Kill-docs-hard.patch38
-rw-r--r--meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb100
2 files changed, 0 insertions, 138 deletions
diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio/0001-gr-trellis-Kill-docs-hard.patch b/meta-oe/recipes-connectivity/gnuradio/gnuradio/0001-gr-trellis-Kill-docs-hard.patch
deleted file mode 100644
index 38c3a1074..000000000
--- a/meta-oe/recipes-connectivity/gnuradio/gnuradio/0001-gr-trellis-Kill-docs-hard.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From 473342055e423384e2b17cc0957613299382fb79 Mon Sep 17 00:00:00 2001
2From: Philip Balister <philip@balister.org>
3Date: Mon, 17 Jun 2013 10:58:29 -0400
4Subject: [PATCH] gr-trellis : Kill docs hard.
5
6Signed-off-by: Philip Balister <philip@balister.org>
7---
8 gr-trellis/CMakeLists.txt | 7 -------
9 1 file changed, 7 deletions(-)
10
11diff --git a/gr-trellis/CMakeLists.txt b/gr-trellis/CMakeLists.txt
12index 16a3e7c..95e1420 100644
13--- a/gr-trellis/CMakeLists.txt
14+++ b/gr-trellis/CMakeLists.txt
15@@ -50,12 +50,6 @@ if(ENABLE_GR_TRELLIS)
16 include(GrPackage)
17 CPACK_SET(CPACK_COMPONENT_GROUP_TRELLIS_DESCRIPTION "GNU Radio Trellis Blocks")
18
19-CPACK_COMPONENT("trellis_docs"
20- GROUP "Trellis"
21- DISPLAY_NAME "Documentation"
22- DESCRIPTION "Doxygen HTML and XML"
23-)
24-
25 CPACK_COMPONENT("trellis_runtime"
26 GROUP "Trellis"
27 DISPLAY_NAME "Runtime"
28@@ -95,7 +89,6 @@ CPACK_COMPONENT("trellis_swig"
29 # Add subdirectories
30 ########################################################################
31 add_subdirectory(src/lib)
32-add_subdirectory(doc)
33 if(ENABLE_PYTHON)
34 add_subdirectory(grc)
35 add_subdirectory(src/python)
36--
371.7.11.7
38
diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb
deleted file mode 100644
index 1a7857544..000000000
--- a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb
+++ /dev/null
@@ -1,100 +0,0 @@
1DESCRIPTION = "GNU Radio"
2URL = "http://gnuradio.org"
3SECTION = "apps"
4LICENSE = "GPLv3"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7DEPENDS = "gsl fftwf python alsa-lib boost cppunit \
8 swig-native python-numpy python-cheetah-native orc"
9
10#Available PACKAGECONFIG options are qt grc uhd
11PACKAGECONFIG ??= "qtgui grc uhd"
12
13PACKAGECONFIG[uhd] = "-DENABLE_GR_UHD=ON,-DENABLE_GR_UHD=OFF,uhd,"
14PACKAGECONFIG[grc] = "-DENABLE_GRC=ON,-DENABLE_GRC=OFF,python-pygtk python-cheetah, "
15
16PACKAGECONFIG[qtgui] = "-DENABLE_GR_QTGUI=ON,-DENABLE_GR_QTGUI=OFF,qt4-x11-free qwt, "
17
18
19inherit distutils-base cmake pkgconfig
20
21export BUILD_SYS
22export HOST_SYS="${MULTIMACH_TARGET_SYS}"
23
24RDEPENDS_${PN} = "python-core python-audio python-threading python-codecs \
25 python-lang python-textutils python-shell python-pickle \
26 python-compiler python-pkgutil python-pydoc python-mmap \
27 python-netclient python-difflib \
28 python-pprint python-numpy \
29"
30RDEPENDS_${PN}-grc = "python-pygtk python-lxml python-cheetah python-netserver"
31
32C_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
33
34do_configure_prepend() {
35 ${BUILD_CC} ${S}/gr-vocoder/lib/codec2/generate_codebook.c -o ${S}/gr-vocoder/lib/generate_codebook -lm
36 echo "ADD_EXECUTABLE(generate_codebook IMPORTED)" >${S}/gr-vocoder/lib/generate_codebook.txt
37 echo "SET_PROPERTY(TARGET generate_codebook APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)" >>${S}/gr-vocoder/lib/generate_codebook.txt
38 echo 'SET_TARGET_PROPERTIES(generate_codebook PROPERTIES IMPORTED_LOCATION_RELEASE "${S}/gr-vocoder/lib/generate_codebook")' >>${S}/gr-vocoder/lib/generate_codebook.txt
39}
40
41do_compile_prepend() {
42 cp ${S}/gr-vocoder/lib/codec2/defines.h ${OECMAKE_BUILDPATH}/gr-vocoder/lib/codec2
43}
44
45PACKAGES += " \
46 ${PN}-grc \
47 ${PN}-examples \
48"
49
50FILES_${PN}-grc = "${datadir}/gnuradio/grc"
51FILES_${PN}-examples = "${datadir}/gnuradio/examples"
52
53FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/gnuradio"
54FILES_${PN} += "${datadir}/gnuradio/modtool"
55# The following needs fixing upstream
56FILES_${PN} += "${prefix}/etc/gnuradio"
57
58FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/gnuradio/.debug \
59 ${PYTHON_SITEPACKAGES_DIR}/gnuradio/*/.debug \
60 ${datadir}/gnuradio/examples/*/.debug \
61"
62
63PV = "3.6.5"
64
65FILESPATHPKG_prepend = "gnuradio-git:"
66
67SRCREV = "a7b3a9339106aaba72195b693dfeaa98f194e0d5"
68
69# Make it easy to test against developer repos and branches
70GIT_REPO = "gnuradio.git"
71GIT_BRANCH = "master"
72
73SRC_URI = "git://git.gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH} \
74 file://0001-gr-trellis-Kill-docs-hard.patch \
75"
76
77S="${WORKDIR}/git"
78
79OECMAKE_BUILDPATH = "${S}/build"
80OECMAKE_SOURCEPATH = "${S}"
81
82EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \
83 -DENABLE_GR_FCD=OFF \
84 -DENABLE_GR_WXGUI=OFF \
85 -DENABLE_GR_VIDEO_SDL=OFF \
86 -DENABLE_SPHINX=OFF -DENABLE_DOXYGEN=OFF \
87 -DIMPORT_EXECUTABLES=${S}/gr-vocoder/lib/generate_codebook.txt \
88 -DQT_HEADERS_DIR=${STAGING_INCDIR}/qt4 \
89 -DQT_QTCORE_INCLUDE_DIR=${STAGING_INCDIR}/qt4/QtCore \
90 -DQT_LIBRARY_DIR=${STAGING_LIBDIR} \
91 -DQT_QTCORE_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtCore.so \
92 -DQT_QTGUI_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtGui.so \
93 ${@base_contains('TUNE_FEATURES', 'neon', \
94 '-Dhave_mfpu_neon=1', '-Dhave_mfpu_neon=0', d)} \
95"
96
97inherit distutils-base cmake pkgconfig
98
99EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
100