mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-21 15:53:49 +01:00
38 lines
899 B
Bash
38 lines
899 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
inherit cmake-utils git-r3 python-single-r1
|
|
|
|
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="master"
|
|
KEYWORDS=""
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
IUSE="doc"
|
|
DEPEND=">=net-wireless/gnuradio-3.7.0:=
|
|
dev-libs/boost:=
|
|
media-libs/libsndfile
|
|
dev-util/cppunit
|
|
sci-libs/itpp
|
|
>=dev-libs/log4cpp-1.1:=
|
|
dev-lang/swig:*
|
|
doc? ( app-doc/doxygen )
|
|
${PYTHON_DEPS}"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_configure() {
|
|
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}"
|
|
)
|
|
cmake-utils_src_configure
|
|
}
|