dev-libs/reproc - 14.2.7 (vklimovs)

Search

Install

Install this version:

emerge -a =dev-libs/reproc-14.2.7

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

autounmask =dev-libs/reproc-14.2.7

Or alternatively:

emerge --autounmask-write -a =dev-libs/reproc-14.2.7

Package Information

Description:
Cross-platform C/C++ library for starting and communicating with subprocesses
Homepage:
https://github.com/DaanDeMeyer/reproc
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
14.2.7 8 ~amd64 0/14
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Cross-platform C/C++ library for starting and communicating with subprocesses"
HOMEPAGE="https://github.com/DaanDeMeyer/reproc"
SRC_URI="https://github.com/DaanDeMeyer/reproc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P}"

LICENSE="MIT"
# subslot = SONAME major of libreproc++.so / libreproc.so (currently .14), not
# PV; re-derive from `objdump -p` on each bump.
SLOT="0/14"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

src_configure() {
	local mycmakeargs=(
		-DREPROC++=ON
		-DREPROC_TEST=$(usex test)
	)
	cmake_src_configure
}

src_test() {
	# reproc-test-env runs a child with REPROC_ENV_EMPTY and asserts the child
	# sees ONLY the two vars it injected. Under FEATURES=sandbox that fails: the
	# sandbox force-injects LD_PRELOAD=libsandbox.so into every child, so the
	# environment is never truly empty. Not a reproc bug -- skip under sandbox.
	local CMAKE_SKIP_TESTS=( reproc-test-env )
	cmake_src_test
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Manifest for 14.2.7

Type File Size Source URLs
DIST reproc-14.2.7.tar.gz 65440 bytes https://github.com/DaanDeMeyer/reproc/archive/v14.2.7.tar.gz