Package Details: reproc 14.2.4-1

Git Clone URL: https://aur.archlinux.org/reproc.git (read-only, click to copy)
Package Base: reproc
Description: Cross-platform library that simplifies working with external CLI applications from C and C++
Upstream URL: https://github.com/DaanDeMeyer/reproc
Keywords: c c++ cross-platform library
Licenses: MIT
Submitter: jetm
Maintainer: jetm
Last Packager: jetm
Votes: 4
Popularity: 0.000994
First Submitted: 2018-09-29 20:05 (UTC)
Last Updated: 2021-12-16 19:16 (UTC)

Latest Comments

1 2 Next › Last »

eclairevoyant commented on 2023-03-16 02:54 (UTC)

gcc should be removed from makedepends. As per https://wiki.archlinux.org/title/PKGBUILD#makedepends:

Note: The package base-devel is assumed to be already installed when building with makepkg. Dependencies of this package should not be included in makedepends array.

jetm commented on 2021-03-22 03:12 (UTC)

@gdolle, I have added -DREPROC++=ON. Now I can see the C++ library and headers. Thank you!

gdolle commented on 2021-03-15 11:18 (UTC)

Hi @jetm, reproc++ isn't generated currently, the cmake option should be -DREPROC++=ON instead of -DREPROCXX.

Maybe split the package to provide reproc and reproc-cpp ?

jetm commented on 2019-07-21 15:08 (UTC)

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

DaanDeMeyer commented on 2019-07-20 15:00 (UTC)

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

pkgname=reproc
pkgver=8.0.0
pkgrel=1
pkgdesc='Cross-platform library that simplifies working with external CLI applications from C and C++'
arch=('x86_64')
url='https://github.com/DaanDeMeyer/reproc'
license=('MIT')
makedepends=('cmake' 'gcc')
source=("${url}/archive/v${pkgver}".tar.gz)
sha256sums=('50999f4df97704f54c3ae677ef27209e621827d51651cb3c2426e6eb7c49b8dc')

build() {
  cmake \
    -S "${pkgname}-${pkgver}" \
    -B build \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DBUILD_SHARED_LIBS=ON \
    -DREPROC++=ON \
    -DREPROC_TEST=ON \
    -DREPROC_EXAMPLES=ON \
    ../
  cmake --build build
}

check() {
  build/test
}

package() {
  cmake --install build --prefix "${pkgdir}"/usr
  install -D --mode=644 "${srcdir}/${pkgname}-${pkgver}"/LICENSE \
    "${pkgdir}"/usr/share/licenses/"${pkgname}"/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 (UTC)

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

DaanDeMeyer commented on 2019-07-06 23:01 (UTC)

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 (UTC)

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

DaanDeMeyer commented on 2018-12-03 21:08 (UTC)

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

jetm commented on 2018-12-03 21:00 (UTC) (edited on 2018-12-03 21:26 (UTC) by jetm)

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