summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-05-30 22:13:39 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-05-30 22:13:39 +0000
commit92fcf3f7c0f6913948c803585ae010c7d26b0079 (patch)
tree7d669f60e05a3b848f2e944ac970f0abf8352adf /net-wireless/gr-osmosdr
parentremove old (diff)
downloadgentoo-2-92fcf3f7c0f6913948c803585ae010c7d26b0079.tar.gz
gentoo-2-92fcf3f7c0f6913948c803585ae010c7d26b0079.tar.bz2
gentoo-2-92fcf3f7c0f6913948c803585ae010c7d26b0079.zip
Add release ebuild, adjust dependencies on gnuradio.
(Portage version: 2.1.11.62/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-wireless/gr-osmosdr')
-rw-r--r--net-wireless/gr-osmosdr/ChangeLog10
-rw-r--r--net-wireless/gr-osmosdr/gr-osmosdr-0.0.1.ebuild39
-rw-r--r--net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild20
3 files changed, 60 insertions, 9 deletions
diff --git a/net-wireless/gr-osmosdr/ChangeLog b/net-wireless/gr-osmosdr/ChangeLog
index 8db2aec6b7fa..30c4bad87e11 100644
--- a/net-wireless/gr-osmosdr/ChangeLog
+++ b/net-wireless/gr-osmosdr/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/gr-osmosdr
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/ChangeLog,v 1.5 2012/07/05 21:40:48 chithanh Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/ChangeLog,v 1.6 2013/05/30 22:13:39 chithanh Exp $
+
+*gr-osmosdr-0.0.1 (30 May 2013)
+
+ 30 May 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +gr-osmosdr-0.0.1.ebuild, gr-osmosdr-9999.ebuild:
+ Add release ebuild, adjust dependencies on gnuradio.
05 Jul 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> metadata.xml:
Assign maintainership to radio herd.
diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.0.1.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.0.1.ebuild
new file mode 100644
index 000000000000..8dee3fd58f13
--- /dev/null
+++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.0.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/gr-osmosdr-0.0.1.ebuild,v 1.1 2013/05/30 22:13:39 chithanh Exp $
+
+EAPI=5
+PYTHON_DEPEND="2"
+
+inherit cmake-utils python
+
+DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr"
+HOMEPAGE="http://sdr.osmocom.org/"
+
+if [[ ${PV} == 9999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
+else
+ SRC_URI="mirror://gentoo/${P}.tar.xz"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="dev-libs/boost
+ <net-wireless/gnuradio-3.7:0=
+ net-wireless/rtl-sdr"
+DEPEND="${RDEPEND}
+ dev-python/cheetah"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs -q -r 2 "${S}"
+}
diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
index 8a2d0157036e..9870bc386c70 100644
--- a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
+++ b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
@@ -1,16 +1,22 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild,v 1.4 2012/06/11 23:59:41 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild,v 1.5 2013/05/30 22:13:39 chithanh Exp $
-EAPI=4
+EAPI=5
PYTHON_DEPEND="2"
-inherit cmake-utils git-2 python
+inherit cmake-utils python
DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr"
HOMEPAGE="http://sdr.osmocom.org/"
-SRC_URI=""
-EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
+
+if [[ ${PV} == 9999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
+else
+ SRC_URI="mirror://gentoo/${P}.tar.xz"
+fi
LICENSE="GPL-3"
SLOT="0"
@@ -18,7 +24,7 @@ KEYWORDS=""
IUSE=""
RDEPEND="dev-libs/boost
- net-wireless/gnuradio
+ >=net-wireless/gnuradio-3.7:0=
net-wireless/rtl-sdr"
DEPEND="${RDEPEND}
dev-python/cheetah"