mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-02 19:50:51 +02:00
gr-mixalot: snapshot
This commit is contained in:
parent
a59f0ea739
commit
857a7e27ab
3 changed files with 64 additions and 3 deletions
1
net-wireless/gr-mixalot/Manifest
Normal file
1
net-wireless/gr-mixalot/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST gr-mixalot-0.0_p2020902.tar.gz 117882 BLAKE2B 82ffa73f535215f5a66c32d47b73d06883e6110c65133823f9cb529c0421f5fb24e557503d929ac37f395add4b90a3b632dd89b56a212d4cb6528270413d67f4 SHA512 49cb2063cb75b71082bf9639200b10f8188869d07076e1e6b4829282eac9f8f48de9c9c52442739bdc61ac689732c28718fe6138852e5ccd270f08fb316ae1a7
|
||||
51
net-wireless/gr-mixalot/gr-mixalot-0.0_p2020902.ebuild
Normal file
51
net-wireless/gr-mixalot/gr-mixalot-0.0_p2020902.ebuild
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="a set of GNU Radio blocks/utilities to encode pager messages"
|
||||
HOMEPAGE="https://github.com/ckoval7/gr-mixalot.git"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ckoval7/gr-mixalot.git"
|
||||
EGIT_BRANCH="maint-3.8"
|
||||
else
|
||||
COMMIT="565728a16d3a53b5d2ccef63b271c0f6b032481f"
|
||||
SRC_URI="https://github.com/ckoval7/gr-mixalot/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 public-domain"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
app-doc/doxygen
|
||||
=net-wireless/gnuradio-3.8*
|
||||
sci-libs/itpp:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
sed -i '/swig_lib_target/s/${CMAKE_INSTALL_PREFIX}\///' swig/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
-DGR_PYTHON_DIR="$(python_get_sitedir)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
#docs are built using automagic logic
|
||||
[ -d "${ED}/usr/share/doc/${PN}" ] && mv "${ED}"/usr/share/doc/{"${PN}","${PF}"} || die
|
||||
python_optimize
|
||||
}
|
||||
|
|
@ -4,12 +4,21 @@
|
|||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
inherit cmake python-single-r1 git-r3
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="a set of GNU Radio blocks/utilities to encode pager messages"
|
||||
HOMEPAGE="https://github.com/ckoval7/gr-mixalot.git"
|
||||
EGIT_REPO_URI="https://github.com/ckoval7/gr-mixalot.git"
|
||||
EGIT_BRANCH="maint-3.8"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ckoval7/gr-mixalot.git"
|
||||
EGIT_BRANCH="maint-3.8"
|
||||
else
|
||||
COMMIT="565728a16d3a53b5d2ccef63b271c0f6b032481f"
|
||||
SRC_URI="https://github.com/ckoval7/gr-mixalot/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 public-domain"
|
||||
SLOT="0"
|
||||
|
|
|
|||
Loading…
Reference in a new issue