From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1283671-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 15A901382C5
	for <garchives@archives.gentoo.org>; Tue, 18 May 2021 21:31:25 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 48D79E075F;
	Tue, 18 May 2021 21:31:24 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 26225E075F
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 May 2021 21:31:24 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id BCC1F335D26
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 May 2021 21:31:22 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A07178D
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 May 2021 21:31:21 +0000 (UTC)
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" <cyber+gentoo@sysrq.in>
Message-ID: <1621373478.9ef3db2b3aa5cd4812a7392764a2cb1bf3160fe7.cybertailor@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/boinc-wrapper/files/, sci-misc/boinc-wrapper/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: sci-misc/boinc-wrapper/Manifest sci-misc/boinc-wrapper/boinc-wrapper-7.16.16.ebuild sci-misc/boinc-wrapper/files/makefile.patch sci-misc/boinc-wrapper/metadata.xml
X-VCS-Directories: sci-misc/boinc-wrapper/files/ sci-misc/boinc-wrapper/
X-VCS-Committer: cybertailor
X-VCS-Committer-Name: Anna Vyalkova
X-VCS-Revision: 9ef3db2b3aa5cd4812a7392764a2cb1bf3160fe7
X-VCS-Branch: dev
Date: Tue, 18 May 2021 21:31:21 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: ca08cd49-8ee5-4731-a6d7-68e5043d2573
X-Archives-Hash: dc53b4b3dc82f4c8fb3a01c32a130254

commit:     9ef3db2b3aa5cd4812a7392764a2cb1bf3160fe7
Author:     Anna Vyalkova <cyber <AT> sysrq <DOT> in>
AuthorDate: Tue May 18 19:54:19 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue May 18 21:31:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9ef3db2b

sci-misc/boinc-wrapper: initial import

Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in>

 sci-misc/boinc-wrapper/Manifest                    |  1 +
 .../boinc-wrapper/boinc-wrapper-7.16.16.ebuild     | 50 ++++++++++++++++++++++
 sci-misc/boinc-wrapper/files/makefile.patch        | 10 +++++
 sci-misc/boinc-wrapper/metadata.xml                | 11 +++++
 4 files changed, 72 insertions(+)

diff --git a/sci-misc/boinc-wrapper/Manifest b/sci-misc/boinc-wrapper/Manifest
new file mode 100644
index 000000000..5238eec52
--- /dev/null
+++ b/sci-misc/boinc-wrapper/Manifest
@@ -0,0 +1 @@
+DIST boinc-7.16.16.tar.gz 49599131 BLAKE2B 819ab85c19a684144711f77e669b892aa73c006b81c1d7ef7adbd9d580e1e8473ae27b52dc17953ee677c70fc78ed15df936afd740e629715f30f2b81d84ea6f SHA512 dd7042e176d6506c70de7866556ae73b2f45734df92038086d5b0414751f3da08dc571c49f0c26d747d3fb2577674d3ff8cdec7d3563861eaaaa5af9c1db0a0e

diff --git a/sci-misc/boinc-wrapper/boinc-wrapper-7.16.16.ebuild b/sci-misc/boinc-wrapper/boinc-wrapper-7.16.16.ebuild
new file mode 100644
index 000000000..e19b25ceb
--- /dev/null
+++ b/sci-misc/boinc-wrapper/boinc-wrapper-7.16.16.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools toolchain-funcs
+
+MY_PV=$(ver_cut 1-2)
+
+DESCRIPTION="use non-BOINC apps with BOINC"
+HOMEPAGE="https://boinc.berkeley.edu/trac/wiki/WrapperApp"
+
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> boinc-${PV}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+S="${WORKDIR}/boinc-client_release-${MY_PV}-${PV}/samples/wrapper"
+
+LICENSE="LGPL-3+ regexp-UofT"
+SLOT="0"
+
+RDEPEND="
+	~sci-misc/boinc-${PV}
+	~dev-libs/boinc-zip-${PV}
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/makefile.patch )
+DOCS=( ReadMe.txt job.xml )
+
+src_prepare() {
+	default
+
+	cd ../.. || die
+	eautoreconf
+	bash ./generate_svn_version.sh || die
+}
+
+src_configure() {
+	cd ../.. || die
+	econf --enable-pkg-devel --disable-static
+}
+
+src_compile() {
+	tc-export CC CXX
+	default
+}
+
+src_install() {
+	default
+	newbin wrapper boinc-wrapper
+}

diff --git a/sci-misc/boinc-wrapper/files/makefile.patch b/sci-misc/boinc-wrapper/files/makefile.patch
new file mode 100644
index 000000000..6e0359ec3
--- /dev/null
+++ b/sci-misc/boinc-wrapper/files/makefile.patch
@@ -0,0 +1,10 @@
+--- a/Makefile
++++ b/Makefile
+@@ -41,5 +41,5 @@
+ 	regexp_memory.o \
+ 	regexp_report.o
+ 
+-wrapper: wrapper.o libstdc++.a $(BOINC_LIB_DIR)/libboinc.a $(BOINC_API_DIR)/libboinc_api.a $(REGEXP_OBJS)
+-	$(CXX) $(CXXFLAGS) $(CPPFLAGS) -o wrapper wrapper.o $(REGEXP_OBJS) libstdc++.a $(PTHREAD) -lboinc_api -lboinc -lboinc_zip
++wrapper: wrapper.o $(REGEXP_OBJS)
++	$(CXX) $(CXXFLAGS) $(CPPFLAGS) -o wrapper wrapper.o $(REGEXP_OBJS) $(PTHREAD) -lboinc_api -lboinc -lboinc_zip

diff --git a/sci-misc/boinc-wrapper/metadata.xml b/sci-misc/boinc-wrapper/metadata.xml
new file mode 100644
index 000000000..a07d56d79
--- /dev/null
+++ b/sci-misc/boinc-wrapper/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>cyber+gentoo@sysrq.in</email>
+		<name>Anna</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">BOINC/boinc</remote-id>
+	</upstream>
+</pkgmetadata>