Package Details: reproc 9.0.0-1

Git Clone URL: (read-only)
Package Base: reproc
Description: Cross-platform library that simplifies working with external CLI applications from C and C++
Upstream URL:
Keywords: c c++ cross-platform library
Licenses: MIT
Submitter: jetm
Maintainer: jetm
Last Packager: jetm
Votes: 1
Popularity: 0.000409
First Submitted: 2018-09-29 20:05
Last Updated: 2019-10-01 14:15

Latest Comments

jetm commented on 2019-07-21 15:08

@DaanDeMeyer: Using the new cmake feature. Thank you for the changes!

DaanDeMeyer commented on 2019-07-20 15:00

With the latest CMake release, a generator agnostic PKGBUILD can be made:

pkgdesc='Cross-platform library that simplifies working with external CLI applications from C and C++'
makedepends=('cmake' 'gcc')

build() {
  cmake \
    -S "${pkgname}-${pkgver}" \
    -B build \
    -DCMAKE_BUILD_TYPE=Release \
    -DREPROC++=ON \
  cmake --build build

check() {

package() {
  cmake --install build --prefix "${pkgdir}"/usr
  install -D --mode=644 "${srcdir}/${pkgname}-${pkgver}"/LICENSE \

-S indicates the source directory (where the CMakeLists.txt) is located. -B indicates the build directory.

jetm commented on 2019-07-06 23:26

@DaanDeMeyer: run it the test now. Thanks, for the suggestion!

DaanDeMeyer commented on 2019-07-06 23:01

Currently, the PKGBUILD only builds the tests but does not execute them. The tests are executed by running the build/test binary. There should be no need to build the tests manually as they are built automatically when REPROC_TEST is enabled.

jetm commented on 2018-12-03 21:27

@DaanDeMeyer: Yes, my bad. Fixed submitted. Thank you!

DaanDeMeyer commented on 2018-12-03 21:08

You made a small mistake (-REPROC++=ON should be -DREPROC++=ON)

jetm commented on 2018-12-03 21:00

@DaanDeMeyer: Thank you. I have updated the package updating to REPROC++ and REPROC_EXAMPLES.

DaanDeMeyer commented on 2018-12-03 20:50

In 3.0.0, REPROCXX got renamed to REPROC++. Also, REPROC_BUILD_EXAMPLES has been renamed to REPROC_EXAMPLES.

jetm commented on 2018-11-22 13:54

@DaanDeMeyer: Thank you for the suggestions. I have updated the package with them.

DaanDeMeyer commented on 2018-11-21 17:41

I've released reproc 2.0.0. Since the C++ support is now a separate library and doesn't affect the C library in any way, I propose to enable REPROCXX so users can depend on the C++ support as well.

It might also be a good idea to replace the mv command from lib64/ to lib/ by specifying the CMake option CMAKE_INSTALL_LIBDIR=lib. This way, CMake puts the library files in lib/ instead of lib64/ when installing reproc which removes the need for the mv command after installing.

REPROC_INSTALL is also enabled by default now so it can be removed from the PKGBUILD.