summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/gnuradio/gnuradio-3.1.2/.mtn2git_empty0
-rw-r--r--packages/gnuradio/gnuradio-3.1.2/no-trellis-doc.patch20
-rw-r--r--packages/gnuradio/gnuradio.inc3
-rw-r--r--packages/gnuradio/gnuradio_3.1.2.bb8
-rw-r--r--packages/gnuradio/gnuradio_svn.bb2
5 files changed, 31 insertions, 2 deletions
diff --git a/packages/gnuradio/gnuradio-3.1.2/.mtn2git_empty b/packages/gnuradio/gnuradio-3.1.2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gnuradio/gnuradio-3.1.2/.mtn2git_empty
diff --git a/packages/gnuradio/gnuradio-3.1.2/no-trellis-doc.patch b/packages/gnuradio/gnuradio-3.1.2/no-trellis-doc.patch
new file mode 100644
index 0000000000..a5c1b90bd2
--- /dev/null
+++ b/packages/gnuradio/gnuradio-3.1.2/no-trellis-doc.patch
@@ -0,0 +1,20 @@
+--- /tmp/Makefile.am 2008-04-01 10:50:58.848945668 +0200
++++ gnuradio-3.1.2/usrp/Makefile.am 2008-04-01 10:51:06.095612812 +0200
+@@ -24,7 +24,7 @@
+ usrp.iss.in \
+ usrp.inf
+
+-SUBDIRS = host firmware fpga doc
++SUBDIRS = host firmware fpga
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = \
+--- /tmp/Makefile.am 2008-04-01 10:52:10.615605452 +0200
++++ gnuradio-3.1.2/gr-trellis/Makefile.am 2008-04-01 10:52:19.807923018 +0200
+@@ -21,5 +21,5 @@
+
+ include $(top_srcdir)/Makefile.common
+
+-SUBDIRS = src doc
++SUBDIRS = src
+
diff --git a/packages/gnuradio/gnuradio.inc b/packages/gnuradio/gnuradio.inc
index 4916411f0a..79b1fcefa5 100644
--- a/packages/gnuradio/gnuradio.inc
+++ b/packages/gnuradio/gnuradio.inc
@@ -21,7 +21,8 @@ EXTRA_OECONF = " \
--enable-gr-audio-jack \
--enable-gr-audio-oss \
--enable-mblock \
- "
+ --disable-html-docs \
+ "
do_configure_append() {
find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g
diff --git a/packages/gnuradio/gnuradio_3.1.2.bb b/packages/gnuradio/gnuradio_3.1.2.bb
new file mode 100644
index 0000000000..30a6d0ab5e
--- /dev/null
+++ b/packages/gnuradio/gnuradio_3.1.2.bb
@@ -0,0 +1,8 @@
+require gnuradio.inc
+
+PR = "r0"
+
+SRC_URI = "ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-${PV}.tar.gz \
+ file://no-trellis-doc.patch;patch=1 \
+ "
+
diff --git a/packages/gnuradio/gnuradio_svn.bb b/packages/gnuradio/gnuradio_svn.bb
index c84a8a2121..00d3a04056 100644
--- a/packages/gnuradio/gnuradio_svn.bb
+++ b/packages/gnuradio/gnuradio_svn.bb
@@ -1,6 +1,6 @@
require gnuradio.inc
-DEFAULT_PREFERENCE = "1"
+DEFAULT_PREFERENCE = "-1"
PV = "3.0.4+svnr${SRCREV}"
PR = "r2"