commit: f39fafa2e2bea2f49382d52411d96ca321036d42 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Thu Jul 22 08:15:34 2021 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Thu Jul 22 08:27:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f39fafa2
sci-misc/boinc-wrapper: revbump (new eclass) Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> .../boinc-wrapper/boinc-wrapper-7.16.17-r1.ebuild | 35 ++++++++++++++++++++++ sci-misc/boinc-wrapper/files/config.override.h | 8 +++++ 2 files changed, 43 insertions(+) diff --git a/sci-misc/boinc-wrapper/boinc-wrapper-7.16.17-r1.ebuild b/sci-misc/boinc-wrapper/boinc-wrapper-7.16.17-r1.ebuild new file mode 100644 index 000000000..91ccc4e18 --- /dev/null +++ b/sci-misc/boinc-wrapper/boinc-wrapper-7.16.17-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +BOINC_SUBMODULE="samples/wrapper" +inherit boinc + +DESCRIPTION="Wrapper to use non-BOINC apps with BOINC" +HOMEPAGE="https://boinc.berkeley.edu/trac/wiki/WrapperApp" + +KEYWORDS="~amd64 ~arm64 ~x86" +LICENSE="LGPL-3+ regexp-UofT" +SLOT="0" + +# sci-misc/boinc doesn't have all necessary headers, so +# we have to include from build root. All that said, +# versions must not mismatch. +RDEPEND=" + ~sci-misc/boinc-${PV} + >=dev-libs/boinc-zip-${PV} +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-$(ver_cut 1-2)-makefile.patch ) +DOCS=( job.xml ) + +boinc_require_source + +boinc_override_config "${FILESDIR}"/config.override.h + +src_install() { + einstalldocs + newbin wrapper boinc-wrapper +} diff --git a/sci-misc/boinc-wrapper/files/config.override.h b/sci-misc/boinc-wrapper/files/config.override.h new file mode 100644 index 000000000..bd1c1b892 --- /dev/null +++ b/sci-misc/boinc-wrapper/files/config.override.h @@ -0,0 +1,8 @@ +#ifndef BOINC_CONFIG_H +#define BOINC_CONFIG_H + +#define HAVE_SYS_RESOURCE_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_WAIT_H 1 + +#endif
