| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 5.4.23 | 8 | ~amd64 ~x86 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="VCard standard format manipulation library"
HOMEPAGE="https://gitlab.linphone.org/BC/public/belcard"
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="dev-cpp/belr
net-libs/bctoolbox[test?]"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_configure() {
local mycmakeargs=(
-DENABLE_TOOLS="$(usex tools)"
-DENABLE_UNIT_TESTS="$(usex test)"
)
cmake_src_configure
}
src_test() {
"${S}"_build/tester/belcard-tester \
--resource-dir "${S}"/tester/ \
|| die "tests failed"
cmake_src_test
}
dev-cpp/belr net-libs/bctoolbox[test?]
dev-cpp/belr net-libs/bctoolbox[test?]
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | belcard-5.4.23.tar.bz2 | 157566 bytes | https://gitlab.linphone.org/BC/public/belcard/-/archive/5.4.23/belcard-5.4.23.tar.bz2 |