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@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Viorel Munteanu
2021-03-09 17:28:24 +02:00
committed by Joonas Niilola
parent 052606a007
commit 1dcb25a3e4
4 changed files with 15 additions and 1 deletions

View File

@@ -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)
)

View File

@@ -1,6 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Viorel Munteanu <ceamac.paragon@gmail.com> (2020-03-11)
# new package dev-libs/libthreadar has no keywords
app-backup/dar threads
# Marek Szuba <marecki@gentoo.org> (2021-03-11)
# Awaiting keywording of dev-python/ruamel-std-pathlib
# on this arch (Bug #775242)

View File

@@ -1,6 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Viorel Munteanu <ceamac.paragon@gmail.com> (2020-03-11)
# new package dev-libs/libthreadar has no keywords
app-backup/dar threads
# Marek Szuba <marecki@gentoo.org> (2021-03-11)
# Awaiting keywording of dev-python/ruamel-std-pathlib
# on this arch (Bug #775242)

View File

@@ -1,6 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Viorel Munteanu <ceamac.paragon@gmail.com> (2020-03-11)
# new package dev-libs/libthreadar has no keywords
app-backup/dar threads
# Daniel Novomesky <dnovomesky@gmail.com> (2021-02-24)
# Depends on media-libs/svt-av1, which is unavailable on x86
media-libs/libavif svt-av1