commit: 052606a007d6cb7551054958354769b4fa4d3144 Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com> AuthorDate: Tue Mar 9 15:27:12 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Fri Mar 12 11:29:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=052606a0
dev-libs/libthreadar: add this library Add dependency of `app-backup/dar` with all needed keywords Package-Manager: Portage-3.0.13, Repoman-3.0.2 Co-authored-by: Doug Freed <dwfreed <AT> mtu.edu> Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> dev-libs/libthreadar/Manifest | 1 + dev-libs/libthreadar/libthreadar-1.3.0.ebuild | 37 +++++++++++++++++++++++++++ dev-libs/libthreadar/metadata.xml | 19 ++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/dev-libs/libthreadar/Manifest b/dev-libs/libthreadar/Manifest new file mode 100644 index 00000000000..9ef1dbdac68 --- /dev/null +++ b/dev-libs/libthreadar/Manifest @@ -0,0 +1 @@ +DIST libthreadar-1.3.0.tar.gz 440695 BLAKE2B f4f08d27f6be640e44c9a3abb564c2f1b8faf5b10ec26931a77d6de9769b456e577902c8de378d6fc420e930f20a59081e6916e2b4aeb4f083e70a1565570112 SHA512 54257ebefa0473f78510a5add0241f1282e1f135037edeecc76edd0982b6cc279592ae86e1df263327e1e090b7905ab65847ccdc2afdd366c7bac5c3097abd9e diff --git a/dev-libs/libthreadar/libthreadar-1.3.0.ebuild b/dev-libs/libthreadar/libthreadar-1.3.0.ebuild new file mode 100644 index 00000000000..a3caae2728e --- /dev/null +++ b/dev-libs/libthreadar/libthreadar-1.3.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Threading library used by dar archiver" +HOMEPAGE="https://sourceforge.net/projects/libthreadar/" +SRC_URI="mirror://sourceforge/libthreadar/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DOCS=( AUTHORS ChangeLog NEWS README THANKS ) + +src_configure() { + # Copy this comment from app-backup/dar as it applies here too + # + # configure.ac is totally funked up regarding the AC_ARG_ENABLE + # logic. + # For example "--enable-dar-static" causes configure to DISABLE + # static builds of dar. + # Do _not_ use $(use_enable) until you have verified that the + # logic has been fixed by upstream. + + local myconf=( --disable-static ) + + econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install + + einstalldocs + + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/libthreadar/metadata.xml b/dev-libs/libthreadar/metadata.xml new file mode 100644 index 00000000000..ff22d4ec024 --- /dev/null +++ b/dev-libs/libthreadar/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Viorel Munteanu</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> +Libthreadar is a C++ library providing an abstracted set of C++ *classes* to manipulate threads in a very simple and efficient way from your C++ code. +It also handles exceptions thrown from a thread and propagated to another one, when the latter is calling the thread::join() method. This lets one manage exceptions as simply as it is in C++ single threaded context. + </longdescription> + <upstream> + <remote-id type="sourceforge">libthreadar</remote-id> + </upstream> +</pkgmetadata>
