net-libs/ixwebsocket - 11.4.4 (guru)

Search

Install

Install this version:

emerge -a =net-libs/ixwebsocket-11.4.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-libs/ixwebsocket-11.4.4

Or alternatively:

emerge --autounmask-write -a =net-libs/ixwebsocket-11.4.4

Package Information

Description:
C++ websocket client and server library
Homepage:
https://github.com/machinezone/IXWebSocket
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
11.4.4 8 ~amd64 ~x86 0/11.3.2
View Raw Ebuild
# Copyright 2021-2025 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"

S="${WORKDIR}/${MY_P}"

LICENSE="BSD"
SLOT="0/11.3.2"
KEYWORDS="~amd64 ~x86"
IUSE="+ssl test zlib ws"
RESTRICT="!test? ( test )"

DEPEND="
	ssl? (
		dev-libs/openssl:=
	)
	ws? (
		>=dev-libs/spdlog-1.8.0:=
	)
	zlib? (
		virtual/zlib:=
	)
	test? (
		>=dev-libs/spdlog-1.8.0:=
	)
"
RDEPEND="
	ssl? (
		dev-libs/openssl:=
	)
	zlib? (
		virtual/zlib:=
	)
"

PATCHES=(
	# Some tests require network connectivity
	"${FILESDIR}/${P}-remove-network-tests.patch"
	# Upstream uses git submodules
	"${FILESDIR}/${P}-use-system-spdlog.patch"
	# Fix Server empty thread name
	"${FILESDIR}/${P}-fix-server-empty-thread-name.patch"
	# Fix build with GCC 15
	"${FILESDIR}/${P}-fix-gcc15.patch"
)

src_configure() {
	local mycmakeargs=(
		-DUSE_TLS="$(usex ssl)"
		-DUSE_ZLIB="$(usex zlib)"
		-DUSE_WS="$(usex ws)"
		-DUSE_TEST="$(usex test)"
	)
	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-libs/ixwebsocket | euse -E <flag> -p net-libs/ixwebsocket | euse -D <flag> -p net-libs/ixwebsocket

Global/Standard Flags

ssl
Default: Enabled (+)
ws

Inherited Eclasses

Dependencies

DEPEND

	ssl? (
		dev-libs/openssl:=
	)
	ws? (
		>=dev-libs/spdlog-1.8.0:=
	)
	zlib? (
		virtual/zlib:=
	)
	test? (
		>=dev-libs/spdlog-1.8.0:=
	)

RDEPEND

	ssl? (
		dev-libs/openssl:=
	)
	zlib? (
		virtual/zlib:=
	)

Manifest for 11.4.4

Type File Size Source URLs
DIST ixwebsocket-11.4.4.tar.gz 637396 bytes https://github.com/machinezone/IXWebSocket/archive/refs/tags/v11.4.4.tar.gz