diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/gr-foo |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/gr-foo')
-rw-r--r-- | net-wireless/gr-foo/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/gr-foo/gr-foo-9999.ebuild | 45 | ||||
-rw-r--r-- | net-wireless/gr-foo/metadata.xml | 11 |
3 files changed, 59 insertions, 0 deletions
diff --git a/net-wireless/gr-foo/Manifest b/net-wireless/gr-foo/Manifest new file mode 100644 index 000000000000..48dd18b5a2d6 --- /dev/null +++ b/net-wireless/gr-foo/Manifest @@ -0,0 +1,3 @@ +EBUILD gr-foo-9999.ebuild 1146 SHA256 2629035fef9b2b5fddd43a333e862fe5ad25e5d390170c99c2acf42a77f1b5aa SHA512 09da2ac9283c450476bde6b9549dee6b6417318993082a372ba475c04f58037b598167580c9c223a18747db1554fb113b7ccac8cbec6065a1651afc5f2ab05f9 WHIRLPOOL 59dcbc3594acbfd1edab627b66e5cf419dfc6cd774b5d099832cdd009acefec27ef8e21cac48376a4e068f2b83ec83d4b49247c5feca9dacb23ac92067bf43d1 +MISC ChangeLog 432 SHA256 a21dab0e6345ad125a9e4061109e5e16dc5f971d52014adce9aef7dd00614cfe SHA512 968a52af6c41c3e407b3fb1021f541fd56047c2babfb5ce557bcde9d1585abf06f20315b302ea3c49f26bdba9431c0d3361ff76cc1f1f73db9a305a982d1be08 WHIRLPOOL 37255e8fa9871e570752811746aa267b2ed620351210c6de0b1d288223e3723221437b1208b7c35dd9be3ea3e5f419b98c8a9d887550a0cb071398cfb0c04081 +MISC metadata.xml 317 SHA256 097905ddb718aa5be3085ede67ac677751247dac4c52c3c37e4ea447f24848fe SHA512 4a8573f02b2807a76df349c29d61cf6d64631dac6fa13a86579b8df9ccba8abe379168e47eef796b02cf6b93765ae4826c25189c3f012105e8d949a939c966f1 WHIRLPOOL ada33a5b48cf6bad55d0f773e683a1ac16c42ac07eae691d5b0e71439e5f040e5aecc03bbe0301d72e1bba3d5a310d0d0ab327570a60991949ce0b62ee51737f diff --git a/net-wireless/gr-foo/gr-foo-9999.ebuild b/net-wireless/gr-foo/gr-foo-9999.ebuild new file mode 100644 index 000000000000..79a25cbde951 --- /dev/null +++ b/net-wireless/gr-foo/gr-foo-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-single-r1 + +DESCRIPTION="Some GNU Radio blocks that bastianbl uses" +HOMEPAGE="https://github.com/rftap/gr-rftap" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/bastibl/gr-foo.git" + KEYWORDS="" +#else +# SRC_URI="" +# KEYWORDS="" +fi + +LICENSE="GPL-3" +SLOT="0/${PV}" + +RDEPEND=">=net-wireless/gnuradio-3.7_rc:0=[${PYTHON_USEDEP}] + dev-libs/boost:=[${PYTHON_USEDEP}] + net-wireless/uhd:=[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + dev-lang/swig:0" +#cppunit is listed in cmake, but only needed for tests and there are no tests +# dev-util/cppunit" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + #although cppunit is not used, it fails if it isn't there, fix it + sed -i 's#FATAL_ERROR "CppUnit#MESSAGE "CppUnit#' CMakeLists.txt + sed -i '/${CPPUNIT_INCLUDE_DIRS}/d' CMakeLists.txt + sed -i '/${CPPUNIT_LIBRARY_DIRS}/d' CMakeLists.txt +} + +src_configure() { + mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" ) + cmake-utils_src_configure +} diff --git a/net-wireless/gr-foo/metadata.xml b/net-wireless/gr-foo/metadata.xml new file mode 100644 index 000000000000..3c76d261c682 --- /dev/null +++ b/net-wireless/gr-foo/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>radio@gentoo.org</email> + <name>Radio</name> + </maintainer> + <upstream> + <remote-id type="github">bastibl/gr-foo</remote-id> + </upstream> +</pkgmetadata> |