dev-cpp/belr - 5.4.23 (nest)

Search

Package Information

Description:
Language recognition library by Belledonne Communications
Homepage:
https://gitlab.linphone.org/BC/public/belr
License:
GPL-3

Ebuild Details

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

EAPI=8

inherit cmake

DESCRIPTION="Language recognition library by Belledonne Communications"
HOMEPAGE="https://gitlab.linphone.org/BC/public/belr"
SRC_URI="https://gitlab.linphone.org/BC/public/${PN}/-/archive/${PV}/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test tools"
RESTRICT="!test? ( test )"

RDEPEND="net-libs/bctoolbox[test?]"
DEPEND="${RDEPEND}"
BDEPEND="virtual/libudev
	virtual/pkgconfig"

src_configure() {
	local mycmakeargs=(
		-DENABLE_STRICT=NO
		-DENABLE_TOOLS="$(usex tools)"
		-DENABLE_UNIT_TESTS="$(usex test)"
	)
	cmake_src_configure
}

src_test() {
	"${S}"_build/tester/belr-tester --resource-dir "${S}"/tester/res \
		|| die "tests failed"
	cmake_src_test
}

USE Flags

Dependencies

DEPEND

net-libs/bctoolbox[test?]

RDEPEND

net-libs/bctoolbox[test?]

BDEPEND

virtual/libudev
	virtual/pkgconfig

Manifest for 5.4.23

Type File Size Source URLs
DIST belr-5.4.23.tar.bz2 56497 bytes https://gitlab.linphone.org/BC/public/belr/-/archive/5.4.23/belr-5.4.23.tar.bz2