2022-04-28 11:08:47 +02:00
|
|
|
# Copyright 2022 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2022-04-28 11:07:53 +02:00
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
inherit flag-o-matic
|
|
|
|
|
|
|
|
DESCRIPTION="GNU ccRTP is an implementation of RTP"
|
|
|
|
HOMEPAGE="https://www.gnu.org/software/ccrtp/"
|
|
|
|
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
IUSE="doc"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
dev-libs/libgcrypt:=
|
|
|
|
dev-libs/ucommon:=
|
|
|
|
"
|
|
|
|
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
BDEPEND="
|
|
|
|
doc? ( app-doc/doxygen )
|
|
|
|
"
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
use doc || export DOXYGEN=/bin/true
|
|
|
|
append-cxxflags "-std=c++11"
|
|
|
|
econf --disable-static
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
use doc && HTML_DOCS=( doc/html )
|
|
|
|
default
|
|
|
|
find "${D}" -name '*.la' -delete || die
|
|
|
|
}
|