public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: app-admin/boinctui/
@ 2024-11-19  8:59 Julien Roy
  0 siblings, 0 replies; only message in thread
From: Julien Roy @ 2024-11-19  8:59 UTC (permalink / raw
  To: gentoo-commits

commit:     309b82a6d164d197d985fcbbcc49ca1495609b5c
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Nov 19 01:51:14 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Nov 19 01:51:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=309b82a6

app-admin/boinctui: fix USE=gnutls being ignored

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

 app-admin/boinctui/boinctui-2.7.1-r1.ebuild | 46 +++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/app-admin/boinctui/boinctui-2.7.1-r1.ebuild b/app-admin/boinctui/boinctui-2.7.1-r1.ebuild
new file mode 100644
index 000000000..6eb820b8a
--- /dev/null
+++ b/app-admin/boinctui/boinctui-2.7.1-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="Fullscreen text mode manager for the BOINC client"
+HOMEPAGE="https://github.com/suleman1971/boinctui"
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug gnutls"
+
+DEPEND="
+	dev-libs/expat
+	sys-libs/ncurses:=
+	gnutls? ( net-libs/gnutls:=[openssl] )
+	!gnutls? ( dev-libs/openssl:= )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.7.1-tinfo.patch )
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		--with-boinc-dir="${EPREFIX}/var/lib/boinc"
+
+		# $(use_with ...) is broken here
+		$(usex !gnutls "--without-gnutls" "")
+	)
+	econf "${myeconfargs[@]}"
+
+	use debug && append-cppflags -DDEBUG
+}
+
+src_install() {
+	emake DESTDIR="${D}" DOCDIR="${EPREFIX}/usr/share/doc/${PF}" install
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-19  8:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19  8:59 [gentoo-commits] repo/proj/guru:master commit in: app-admin/boinctui/ Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox