mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
net-libs/ixwebsocket: add 11.4.3, drop 11.4.2
Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
This commit is contained in:
62
net-libs/ixwebsocket/ixwebsocket-11.4.3.ebuild
Normal file
62
net-libs/ixwebsocket/ixwebsocket-11.4.3.ebuild
Normal file
@@ -0,0 +1,62 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
MY_P="IXWebSocket-${PV}"
|
||||
|
||||
DESCRIPTION="C++ websocket client and server library"
|
||||
HOMEPAGE="https://github.com/machinezone/IXWebSocket"
|
||||
SRC_URI="https://github.com/machinezone/IXWebSocket/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/11.3.2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+ssl test zlib ws"
|
||||
|
||||
DEPEND="
|
||||
ssl? (
|
||||
dev-libs/openssl:=
|
||||
)
|
||||
ws? (
|
||||
>=dev-libs/spdlog-1.8.0:=
|
||||
)
|
||||
zlib? (
|
||||
sys-libs/zlib:=
|
||||
)
|
||||
test? (
|
||||
>=dev-libs/spdlog-1.8.0:=
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
ssl? (
|
||||
dev-libs/openssl:=
|
||||
)
|
||||
zlib? (
|
||||
sys-libs/zlib:=
|
||||
)
|
||||
"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
# Some tests require network connectivity
|
||||
"${FILESDIR}/${P}-remove-network-tests.patch"
|
||||
# Upstream uses git submodules
|
||||
"${FILESDIR}/${P}-use-system-spdlog.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_TLS="$(usex ssl)"
|
||||
-DUSE_ZLIB="$(usex zlib)"
|
||||
-DUSE_WS="$(usex ws)"
|
||||
-DUSE_TEST="$(usex test)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user