diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-04-30 05:36:55 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-04-30 05:37:12 +0500 |
commit | 6e6775c10e41f66fe1cf835520287d0b70382993 (patch) | |
tree | b4e3db6dfcacd37e7a34b24a429799e4bf1de875 /app-admin | |
parent | dev-python/lru-dict: drop ALLARCHES (diff) | |
download | guru-6e6775c10e41f66fe1cf835520287d0b70382993.tar.gz guru-6e6775c10e41f66fe1cf835520287d0b70382993.tar.bz2 guru-6e6775c10e41f66fe1cf835520287d0b70382993.zip |
app-admin/boinctui: new package, add 2.7.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/boinctui/Manifest | 1 | ||||
-rw-r--r-- | app-admin/boinctui/boinctui-2.7.1.ebuild | 44 | ||||
-rw-r--r-- | app-admin/boinctui/files/boinctui-2.7.1-tinfo.patch | 12 | ||||
-rw-r--r-- | app-admin/boinctui/metadata.xml | 15 |
4 files changed, 72 insertions, 0 deletions
diff --git a/app-admin/boinctui/Manifest b/app-admin/boinctui/Manifest new file mode 100644 index 000000000..7012c5123 --- /dev/null +++ b/app-admin/boinctui/Manifest @@ -0,0 +1 @@ +DIST boinctui_2.7.1.orig.tar.gz 98119 BLAKE2B 580b2042ff9934218870a6389cc9b3454937a7e5a090c1b686e01565bdf6d0619491bb4aef583ff0d3806e2e50841987cbff2d9449a5289f82bc7c447c8b59c3 SHA512 c338109e66aa0ad3f53c5eac40d8acbed4543f58704cf8487b36d3665c1829f21c1dd92fea03d352efc89bce3f0adc19caf69ac74d1c454ac5eb952f2694347c diff --git a/app-admin/boinctui/boinctui-2.7.1.ebuild b/app-admin/boinctui/boinctui-2.7.1.ebuild new file mode 100644 index 000000000..aecd87f0e --- /dev/null +++ b/app-admin/boinctui/boinctui-2.7.1.ebuild @@ -0,0 +1,44 @@ +# 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 gnutls) + ) + econf "${myeconfargs[@]}" + + use debug && append-cppflags -DDEBUG +} + +src_install() { + emake DESTDIR="${D}" DOCDIR="${EPREFIX}/usr/share/doc/${PF}" install +} diff --git a/app-admin/boinctui/files/boinctui-2.7.1-tinfo.patch b/app-admin/boinctui/files/boinctui-2.7.1-tinfo.patch new file mode 100644 index 000000000..e6bbbcd19 --- /dev/null +++ b/app-admin/boinctui/files/boinctui-2.7.1-tinfo.patch @@ -0,0 +1,12 @@ +Fix build with split tinfow library. + +--- a/configure.in ++++ b/configure.in +@@ -31,6 +31,7 @@ + [ + #use unicode ncursesw (default case) + AC_CHECK_LIB(ncursesw, main, , [AC_MSG_ERROR([Couldn't find ncursesw library])] ) ++ AC_SEARCH_LIBS(stdscr, tinfow,, [AC_MSG_ERROR([Cannot find a library providing stdscr])]) + #AC_CHECK_LIB(ncurses++w, main, , [AC_MSG_ERROR([Couldn't find ncurses++w library])] ) + AC_CHECK_LIB(formw, main, , [AC_MSG_ERROR([Couldn't find formw library])] ) + AC_CHECK_LIB(panelw, main, , [AC_MSG_ERROR([Couldn't find panelw library])] ) diff --git a/app-admin/boinctui/metadata.xml b/app-admin/boinctui/metadata.xml new file mode 100644 index 000000000..a3dea2c9b --- /dev/null +++ b/app-admin/boinctui/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> + <upstream> + <remote-id type="github">suleman1971/boinctui</remote-id> + <maintainer> + <name>Sergey Suslov</name> + <email>suleman1971@gmail.com</email> + </maintainer> + </upstream> +</pkgmetadata> |