mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-02 13:32:42 +01:00
33 lines
776 B
Bash
33 lines
776 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
|
|
|
|
DESCRIPTION="GNU Radio block for digital audio broadcasting"
|
|
HOMEPAGE="https://github.com/andrmuel/gr-dab"
|
|
|
|
EGIT_REPO_URI="https://github.com/andrmuel/gr-dab.git"
|
|
EGIT_BRANCH="master"
|
|
KEYWORDS=""
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
IUSE="doc"
|
|
DEPEND=">=net-wireless/gnuradio-3.7.0:=
|
|
dev-libs/boost:=
|
|
dev-util/cppunit
|
|
dev-lang/swig:*
|
|
doc? ( app-doc/doxygen )"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_configure() {
|
|
sed -i '0,/include\/dab/s/include\/dab/include\/gnuradio\/dab/' ${WORKDIR}/${P}/CMakeLists.txt || die 'sed failed'
|
|
local mycmakeargs=(
|
|
-DWITH_ENABLE_DOXYGEN=YES="$(usex doc)"
|
|
)
|
|
cmake-utils_src_configure
|
|
}
|