net-wireless/gr-ham - 20240130 (pentoo)

Search

Install

Install this version:

emerge -a =net-wireless/gr-ham-20240130

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-wireless/gr-ham-20240130

Or alternatively:

emerge --autounmask-write -a =net-wireless/gr-ham-20240130

Package Information

Description:
collection of GNU Radio blocks useful for amateur radio
Homepage:
https://github.com/argilo/gr-ham
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
20240130 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
inherit cmake python-single-r1

DESCRIPTION="collection of GNU Radio blocks useful for amateur radio"
HOMEPAGE="https://github.com/argilo/gr-ham"
#EGIT_BRANCH="maint-3.10"
HASH_COMMIT="005f72b9e492e514b775992eb96460b44f1f9eae"
SRC_URI="https://github.com/argilo/gr-ham/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/${PN}-${HASH_COMMIT}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+doc"

DEPEND="net-wireless/gnuradio:="
RDEPEND="${DEPEND}
	${PYTHON_DEPS}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

src_prepare() {
	#fixme below
	sed -i "s|\${GR_DOC_DIR}\/\${CMAKE_PROJECT_NAME}|${EPREFIX}/usr/share/doc/${PF}|g" CMakeLists.txt
	cmake_src_prepare
}

src_configure() {
#	export GR_DOC_DIR="/usr/my/test"
	mycmakeargs=(
		-DENABLE_DOXYGEN="$(usex doc)"
#		-DGR_DOC_DIR="${EPREFIX}/usr/share/doc2/${PF}"
	)
	cmake_src_configure
}

src_install() {
	cmake_src_install
	find "${ED}" -name "*.py[co]" -delete || die
	python_optimize
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-wireless/gr-ham | euse -E <flag> -p net-wireless/gr-ham | euse -D <flag> -p net-wireless/gr-ham

Global/Standard Flags

doc
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

net-wireless/gnuradio:=

RDEPEND

net-wireless/gnuradio:=
	

Manifest for 20240130

Type File Size Source URLs
DIST gr-ham-20240130.tar.gz 124938 bytes https://github.com/argilo/gr-ham/archive/005f72b9e492e514b775992eb96460b44f1f9eae.tar.gz