diff options
-rw-r--r-- | meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb index e1a023f54..85f52fcde 100644 --- a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +++ b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | |||
@@ -4,8 +4,17 @@ SECTION = "apps" | |||
4 | LICENSE = "GPLv3" | 4 | LICENSE = "GPLv3" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
6 | 6 | ||
7 | DEPENDS = "uhd gsl fftwf python alsa-lib boost cppunit \ | 7 | DEPENDS = "gsl fftwf python alsa-lib boost cppunit \ |
8 | swig-native python-numpy python-pygtk orc qt4-x11-free qwt" | 8 | swig-native python-numpy python-cheetah-native orc" |
9 | |||
10 | #Available PACKAGECONFIG options are qt grc uhd | ||
11 | PACKAGECONFIG ??= "qtgui grc uhd" | ||
12 | |||
13 | PACKAGECONFIG[uhd] = "-DENABLE_GR_UHD=ON,-DENABLE_GR_UHD=OFF,uhd," | ||
14 | PACKAGECONFIG[grc] = "-DENABLE_GRC=ON,-DENABLE_GRC=OFF,python-pygtk python-cheetah, " | ||
15 | |||
16 | PACKAGECONFIG[qtgui] = "-DENABLE_GR_QTGUI=ON,-DENABLE_GR_QTGUI=OFF,qt4-x11-free qwt, " | ||
17 | |||
9 | 18 | ||
10 | inherit distutils-base cmake pkgconfig | 19 | inherit distutils-base cmake pkgconfig |
11 | 20 | ||
@@ -16,8 +25,9 @@ RDEPENDS_${PN} = "python-core python-audio python-threading python-codecs \ | |||
16 | python-lang python-textutils python-shell python-pickle \ | 25 | python-lang python-textutils python-shell python-pickle \ |
17 | python-compiler python-pkgutil python-pydoc python-mmap \ | 26 | python-compiler python-pkgutil python-pydoc python-mmap \ |
18 | python-netclient python-difflib \ | 27 | python-netclient python-difflib \ |
19 | python-pprint python-numpy python-pygtk python-lxml \ | 28 | python-pprint python-numpy \ |
20 | " | 29 | " |
30 | RDEPENDS_${PN}-grc = "python-pygtk python-lxml python-cheetah" | ||
21 | 31 | ||
22 | C_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 32 | C_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
23 | 33 | ||
@@ -68,7 +78,19 @@ S="${WORKDIR}/git" | |||
68 | OECMAKE_BUILDPATH = "${S}/build" | 78 | OECMAKE_BUILDPATH = "${S}/build" |
69 | OECMAKE_SOURCEPATH = "${S}" | 79 | OECMAKE_SOURCEPATH = "${S}" |
70 | 80 | ||
71 | EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE -DENABLE_GR_QTGUI=ON -DENABLE_GR_WXGUI=OFF -DENABLE_GR_VIDEO_SDL=OFF -DQT_HEADERS_DIR=${STAGING_INCDIR}/qt4 -DQT_QTCORE_INCLUDE_DIR=${STAGING_INCDIR}/qt4/QtCore -DQT_LIBRARY_DIR=${STAGING_LIBDIR} -DQT_QTCORE_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtCore.so -DQT_QTGUI_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtGui.so -DENABLE_GR_FCD=OFF -DIMPORT_EXECUTABLES=${S}/gr-vocoder/lib/generate_codebook.txt" | 81 | EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \ |
82 | -DENABLE_GR_FCD=OFF \ | ||
83 | -DENABLE_GR_WXGUI=OFF \ | ||
84 | -DENABLE_GR_VIDEO_SDL=OFF \ | ||
85 | -DIMPORT_EXECUTABLES=${S}/gr-vocoder/lib/generate_codebook.txt \ | ||
86 | -DQT_HEADERS_DIR=${STAGING_INCDIR}/qt4 \ | ||
87 | -DQT_QTCORE_INCLUDE_DIR=${STAGING_INCDIR}/qt4/QtCore \ | ||
88 | -DQT_LIBRARY_DIR=${STAGING_LIBDIR} \ | ||
89 | -DQT_QTCORE_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtCore.so \ | ||
90 | -DQT_QTGUI_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtGui.so \ | ||
91 | " | ||
92 | |||
93 | inherit distutils-base cmake pkgconfig | ||
72 | 94 | ||
73 | EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}" | 95 | EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}" |
74 | 96 | ||