[oe-commits] org.oe.dev gnuradio: enable usrp and package its lib seperately
koen commit
openembedded-commits at lists.openembedded.org
Fri Jul 27 22:08:35 UTC 2007
gnuradio: enable usrp and package its lib seperately
Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 96140c2b284f4cb67311bf2ca1e0926bd7fb5cdd
ViewMTN: http://monotone.openembedded.org/revision.psp?id=96140c2b284f4cb67311bf2ca1e0926bd7fb5cdd
Files:
1
packages/gnuradio/gnuradio/no-trellis-doc.patch
packages/gnuradio/gnuradio_svn.bb
Diffs:
#
# mt diff -r06401097db8782daa3aa09e3bc2bff897b116041 -r96140c2b284f4cb67311bf2ca1e0926bd7fb5cdd
#
#
#
# patch "packages/gnuradio/gnuradio/no-trellis-doc.patch"
# from [cc0bb2e796e247acfa67f211e8d48be947e1d0f6]
# to [d5c686ac12fd6206586be1587735047f2ea35191]
#
# patch "packages/gnuradio/gnuradio_svn.bb"
# from [25ab6f6695b8c3a7ebb07f9d8f8d8eded6cddc07]
# to [afe45c2b8d3962029ab5b1bc7dd62aa9c8e32168]
#
============================================================
--- packages/gnuradio/gnuradio/no-trellis-doc.patch cc0bb2e796e247acfa67f211e8d48be947e1d0f6
+++ packages/gnuradio/gnuradio/no-trellis-doc.patch d5c686ac12fd6206586be1587735047f2ea35191
@@ -7,3 +7,14 @@
-SUBDIRS = src doc
+SUBDIRS = src
+--- /tmp/Makefile.am 2007-07-27 19:18:00.000000000 +0200
++++ trunk/usrp/Makefile.am 2007-07-27 19:18:20.995215000 +0200
+@@ -20,7 +20,7 @@
+ #
+
+ EXTRA_DIST = usrp.pc.in usrp.iss.in usrp.inf
+-SUBDIRS = host firmware fpga doc
++SUBDIRS = host firmware fpga
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = usrp.pc
============================================================
--- packages/gnuradio/gnuradio_svn.bb 25ab6f6695b8c3a7ebb07f9d8f8d8eded6cddc07
+++ packages/gnuradio/gnuradio_svn.bb afe45c2b8d3962029ab5b1bc7dd62aa9c8e32168
@@ -1,15 +1,14 @@ LICENSE = "GPL"
DESCRIPTION = "GNU Radio"
SECTION = "apps"
PRIORITY = "optional"
LICENSE = "GPL"
-DEPENDS = "fftwf python boost cppunit sdcc-native swig swig-native"
+DEPENDS = " guile-native fftwf python libusb virtual/libsdl alsa-lib jack boost cppunit sdcc-native swig-native"
-RDEPENDS_${PN} = "python-core python-audio python-codecs python-lang python-textutils swig"
+RDEPENDS_${PN} = "python-core python-audio python-codecs python-lang python-textutils"
PV = "3.0.4+svn${SRCDATE}"
-PR = "r1"
+PR = "r2"
-
SRC_URI = "svn://gnuradio.org/svn/gnuradio;module=trunk;proto=http \
file://no-trellis-doc.patch;patch=1 \
"
@@ -23,9 +22,22 @@ export HOST_SYS := "${HOST_SYS}"
export BUILD_SYS := "${BUILD_SYS}"
export HOST_SYS := "${HOST_SYS}"
-EXTRA_OECONF = "--disable-gr-atsc --disable-gr-video-sdl"
+EXTRA_OECONF = " \
+ --disable-gr-atsc \
+ --enable-gr-video-sdl \
+ --enable-gr-audio-alsa \
+ --enable-gr-audio-jack \
+ --enable-gr-audio-oss \
+ --enable-mblock \
+ "
-PACKAGES =+ "libgromnithread libgnuradio-core libgnuradio-core-qa"
+do_configure_append() {
+ find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g
+}
+
+PACKAGES =+ "libusrp libusrp-inband libgromnithread libgnuradio-core libgnuradio-core-qa"
+FILES_libusrp = "${libdir}/libusrp.so.*"
+FILES_libusrp-inband = "${libdir}/libusrp_inband.so.*"
FILES_libgnuradio-core = "${libdir}/libgnuradio-core.so.*"
FILES_libgnuradio-core-qa = "${libdir}/libgnuradio-core-qa.so.*"
FILES_libgromnithread = "${libdir}/libgromnithread.so*"
More information about the Openembedded-commits
mailing list