gr-dsd: builds but fails tests

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-01-17 12:44:30 -05:00
parent bbdc859dcf
commit 76638b4177
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Foundation
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit cmake git-r3 python-single-r1
@ -10,7 +10,7 @@ DESCRIPTION="GNU Radio block for Digital Speech Decoder"
HOMEPAGE="https://github.com/argilo/gr-dsd"
EGIT_REPO_URI="https://github.com/argilo/gr-dsd.git"
EGIT_BRANCH="maint-3.8"
EGIT_BRANCH="master"
LICENSE="GPL-3"
SLOT="0"
@ -22,13 +22,14 @@ DEPEND=">=net-wireless/gnuradio-3.7.0:=
sci-libs/itpp
>=dev-libs/log4cpp-1.1:=
dev-lang/swig:*
doc? ( app-doc/doxygen )
doc? ( app-text/doxygen )
${PYTHON_DEPS}"
RDEPEND="${DEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_configure() {
sed -i '0,/include\/dsd/s/include\/dsd/include\/gnuradio\/dsd/' ${WORKDIR}/${P}/CMakeLists.txt || die 'sed failed'
sed -i '0,/include\/dsd/s/include\/dsd/include\/gnuradio\/dsd/' "${WORKDIR}/${P}/CMakeLists.txt" || die 'sed failed'
local mycmakeargs=(
-DWITH_ENABLE_DOXYGEN=YES="$(usex doc)"
-DPYTHON_EXECUTABLE="${PYTHON}"