mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
app-admin/boinctui: fix USE=gnutls being ignored
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
46
app-admin/boinctui/boinctui-2.7.1-r1.ebuild
Normal file
46
app-admin/boinctui/boinctui-2.7.1-r1.ebuild
Normal file
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user