commit:     89e6e1e426e30a1eefae39c053aa53e574661c23
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Jan 21 22:45:52 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Jan 21 22:50:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=89e6e1e4

sci-misc/boinc-wrapper: remove weird syntax sugar

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 ...-26018.ebuild => boinc-wrapper-26018-r1.ebuild} | 25 ++++++++++++++--------
 1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/sci-misc/boinc-wrapper/boinc-wrapper-26018.ebuild 
b/sci-misc/boinc-wrapper/boinc-wrapper-26018-r1.ebuild
similarity index 54%
rename from sci-misc/boinc-wrapper/boinc-wrapper-26018.ebuild
rename to sci-misc/boinc-wrapper/boinc-wrapper-26018-r1.ebuild
index 473d5754fc..6142c048cf 100644
--- a/sci-misc/boinc-wrapper/boinc-wrapper-26018.ebuild
+++ b/sci-misc/boinc-wrapper/boinc-wrapper-26018-r1.ebuild
@@ -1,19 +1,20 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-BOINC_SUBMODULE="samples/wrapper"
-inherit boinc
+inherit autotools edo
 
 DESCRIPTION="Wrapper to use non-BOINC apps with BOINC"
 HOMEPAGE="https://boinc.berkeley.edu/trac/wiki/WrapperApp";
+SRC_URI="https://github.com/BOINC/boinc/archive/refs/tags/wrapper/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 KEYWORDS="~amd64 ~arm64 ~x86"
 LICENSE="Info-ZIP LGPL-3+ regexp-UofT"
 SLOT="0"
 
 # libboinc-api dependencies
+# no subslot, because "-Wl,--as-needed" removes them
 DEPEND="
        dev-libs/openssl
        media-libs/freeglut
@@ -22,18 +23,24 @@ DEPEND="
 
 DOCS=( job.xml )
 
-boinc_require_source ${PV} wrapper
-boinc_enable_autotools
+src_prepare() {
+       default
+       eautoreconf
+}
 
-src_compile() {
-       pushd "${BOINC_BUILD_DIR}" || die
-       emake
-       popd || die
+src_configure() {
+       edo bash generate_svn_version.sh
+       econf --enable-static --enable-pkg-devel --disable-fcgi
+}
 
+src_compile() {
        emake
+       emake -C samples/wrapper
 }
 
 src_install() {
+       cd samples/wrapper || die
+
        einstalldocs
        newbin wrapper boinc-wrapper
 }

Reply via email to