summaryrefslogtreecommitdiff
path: root/net-voip/re/re-4.12.0.ebuild
blob: 667ca74d639db7b614f01d6f6d4632e6f4feddc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Generic library for real-time communications with async IO support"
HOMEPAGE="https://github.com/baresip/re"
SRC_URI="https://github.com/baresip/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

IUSE="static-libs"

DEPEND="
	dev-libs/openssl:0=
	virtual/zlib:=
	"

RDEPEND="${DEPEND}"

src_configure() {

	local mycmakeargs=(
		-DLIBRE_BUILD_STATIC=$(usex static-libs ON OFF)
	)
	cmake_src_configure
}