commit:     1dcb25a3e47356caf0b4c8899e98a2b77439ada9
Author:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
AuthorDate: Tue Mar  9 15:28:24 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=1dcb25a3

app-backup/dar: add support for threads

Add USE flag "threads" to link with `dev-libs/libthreaddar`
Mask USE flag "threads" for all arches except ~amd64

Closes: https://bugs.gentoo.org/686278
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-backup/dar/dar-2.6.13-r1.ebuild          | 4 +++-
 profiles/arch/powerpc/ppc32/package.use.mask | 4 ++++
 profiles/arch/sparc/package.use.mask         | 4 ++++
 profiles/arch/x86/package.use.mask           | 4 ++++
 4 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/app-backup/dar/dar-2.6.13-r1.ebuild 
b/app-backup/dar/dar-2.6.13-r1.ebuild
index d082367d6a5..26ec6a279bb 100644
--- a/app-backup/dar/dar-2.6.13-r1.ebuild
+++ b/app-backup/dar/dar-2.6.13-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
-IUSE="curl dar32 dar64 doc gcrypt gpg lzo nls rsync xattr"
+IUSE="curl dar32 dar64 doc gcrypt gpg lzo nls rsync threads xattr"
 
 RESTRICT="test" # need to be run as root
 
@@ -26,6 +26,7 @@ RDEPEND="
        gpg? ( app-crypt/gpgme )
        lzo? ( dev-libs/lzo:= )
        rsync? ( net-libs/librsync:= )
+       threads? ( dev-libs/libthreadar:= )
        xattr? ( sys-apps/attr:= )
 "
 
@@ -66,6 +67,7 @@ src_configure() {
                $(usex lzo '' --disable-liblzo2-linking)
                $(usex nls '' --disable-nls)
                $(usex rsync '' --disable-librsync-linking)
+               $(usex threads '' --disable-threadar)
                $(usex xattr '' --disable-ea-support)
        )
 

diff --git a/profiles/arch/powerpc/ppc32/package.use.mask 
b/profiles/arch/powerpc/ppc32/package.use.mask
index 6af10e01d9d..be4de0c9bee 100644
--- a/profiles/arch/powerpc/ppc32/package.use.mask
+++ b/profiles/arch/powerpc/ppc32/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Viorel Munteanu <[email protected]> (2020-03-11)
+# new package dev-libs/libthreadar has no keywords
+app-backup/dar threads
+
 # Marek Szuba <[email protected]> (2021-03-11)
 # Awaiting keywording of dev-python/ruamel-std-pathlib
 # on this arch (Bug #775242)

diff --git a/profiles/arch/sparc/package.use.mask 
b/profiles/arch/sparc/package.use.mask
index f0644b2a0ee..187886b8fa0 100644
--- a/profiles/arch/sparc/package.use.mask
+++ b/profiles/arch/sparc/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Viorel Munteanu <[email protected]> (2020-03-11)
+# new package dev-libs/libthreadar has no keywords
+app-backup/dar threads
+
 # Marek Szuba <[email protected]> (2021-03-11)
 # Awaiting keywording of dev-python/ruamel-std-pathlib
 # on this arch (Bug #775242)

diff --git a/profiles/arch/x86/package.use.mask 
b/profiles/arch/x86/package.use.mask
index ddec48e4f1e..56c816808f5 100644
--- a/profiles/arch/x86/package.use.mask
+++ b/profiles/arch/x86/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Viorel Munteanu <[email protected]> (2020-03-11)
+# new package dev-libs/libthreadar has no keywords
+app-backup/dar threads
+
 # Daniel Novomesky <[email protected]> (2021-02-24)
 # Depends on media-libs/svt-av1, which is unavailable on x86
 media-libs/libavif svt-av1

Reply via email to