12 |
12 |
SRC_URI+=" verify-sig? ( mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz.sig )"
|
13 |
13 |
|
14 |
14 |
LICENSE="GPL-3 LGPL-2.1+"
|
15 |
|
SLOT="0/30.30" # <libgnutls.so number>.<libgnutlsxx.so number>
|
16 |
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
17 |
|
IUSE="brotli +cxx dane doc examples guile +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools zlib zstd"
|
18 |
|
|
19 |
|
REQUIRED_USE="test-full? ( cxx dane doc examples guile idn nls openssl pkcs11 seccomp tls-heartbeat tools )"
|
|
15 |
# As of 3.8.0, the C++ library is header-only, but we won't drop the subslot
|
|
16 |
# component for it until libgnutls.so breaks ABI, to avoid pointless rebuilds.
|
|
17 |
# Subslot format:
|
|
18 |
# <libgnutls.so number>.<libgnutlsxx.so number>
|
|
19 |
SLOT="0/30.30"
|
|
20 |
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
|
21 |
IUSE="brotli +cxx dane doc examples +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools zlib zstd"
|
|
22 |
REQUIRED_USE="test-full? ( cxx dane doc examples idn nls openssl pkcs11 seccomp tls-heartbeat tools )"
|
20 |
23 |
RESTRICT="!test? ( test )"
|
21 |
24 |
|
22 |
25 |
RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}]
|
... | ... | |
25 |
28 |
>=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}]
|
26 |
29 |
brotli? ( >=app-arch/brotli-1.0.0:=[${MULTILIB_USEDEP}] )
|
27 |
30 |
dane? ( >=net-dns/unbound-1.4.20:=[${MULTILIB_USEDEP}] )
|
28 |
|
guile? ( >=dev-scheme/guile-2:=[networking] )
|
29 |
31 |
nls? ( >=virtual/libintl-0-r1:=[${MULTILIB_USEDEP}] )
|
30 |
32 |
pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
|
31 |
33 |
idn? ( >=net-dns/libidn2-0.16-r1:=[${MULTILIB_USEDEP}] )
|
... | ... | |
53 |
55 |
|
54 |
56 |
HTML_DOCS=()
|
55 |
57 |
|
56 |
|
pkg_setup() {
|
|
58 |
src_prepare() {
|
|
59 |
default
|
|
60 |
|
57 |
61 |
# bug #520818
|
58 |
62 |
export TZ=UTC
|
59 |
63 |
|
60 |
|
use doc && HTML_DOCS+=(
|
61 |
|
doc/gnutls.html
|
62 |
|
)
|
63 |
|
}
|
64 |
|
|
65 |
|
src_prepare() {
|
66 |
|
default
|
|
64 |
use doc && HTML_DOCS+=( doc/gnutls.html )
|
67 |
65 |
|
68 |
66 |
# don't try to use system certificate store on macOS, it is
|
69 |
67 |
# confusingly ignoring our ca-certificates and more importantly
|
... | ... | |
101 |
99 |
$(multilib_native_enable manpages)
|
102 |
100 |
$(multilib_native_use_enable doc gtk-doc)
|
103 |
101 |
$(multilib_native_use_enable doc)
|
104 |
|
$(multilib_native_use_enable guile)
|
105 |
102 |
$(multilib_native_use_enable seccomp seccomp-tests)
|
106 |
103 |
$(multilib_native_use_enable test tests)
|
107 |
104 |
$(multilib_native_use_enable test-full full-test-suite)
|