Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/wimlib/
Date: Fri, 16 Jul 2021 06:01:28
Message-Id: 1626415248.e1ce8e9db947f837e833ccea1a63b4c5f84f662a.juippis@gentoo
1 commit: e1ce8e9db947f837e833ccea1a63b4c5f84f662a
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 16 06:00:48 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 16 06:00:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ce8e9d
7
8 app-arch/wimlib: openssl -> ssl in 1.13.4
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 app-arch/wimlib/wimlib-1.13.4.ebuild | 19 ++++++++++++++-----
13 1 file changed, 14 insertions(+), 5 deletions(-)
14
15 diff --git a/app-arch/wimlib/wimlib-1.13.4.ebuild b/app-arch/wimlib/wimlib-1.13.4.ebuild
16 index 20589458d68..84e997127f0 100644
17 --- a/app-arch/wimlib/wimlib-1.13.4.ebuild
18 +++ b/app-arch/wimlib/wimlib-1.13.4.ebuild
19 @@ -12,8 +12,7 @@ SRC_URI="https://wimlib.net/downloads/${P}.tar.gz"
20 KEYWORDS="~amd64 ~x86"
21 LICENSE="|| ( GPL-3+ LGPL-3+ ) CC0-1.0"
22 SLOT="0"
23 -IUSE="cpu_flags_x86_ssse3 fuse iso ntfs openssl test threads yasm"
24 -REQUIRED_USE="cpu_flags_x86_ssse3? ( !openssl )"
25 +IUSE="cpu_flags_x86_ssse3 fuse iso ntfs ssl test threads yasm"
26
27 RESTRICT="!test? ( test )"
28
29 @@ -32,7 +31,7 @@ RDEPEND="
30 app-cdr/cdrtools
31 )
32 ntfs? ( sys-fs/ntfs3g )
33 - openssl? ( dev-libs/openssl:0= )
34 + ssl? ( dev-libs/openssl:0= )
35 "
36
37 src_prepare() {
38 @@ -44,12 +43,22 @@ src_configure() {
39 local myeconfargs=(
40 $(use_with ntfs ntfs-3g)
41 $(use_with fuse)
42 - $(use_enable cpu_flags_x86_ssse3 ssse3-sha1)
43 - $(use_with openssl libcrypto)
44 + $(use_with ssl libcrypto)
45 $(use_enable threads multithreaded-compression)
46 $(use_enable test test-support)
47 --disable-static
48 )
49 +
50 + if use cpu_flags_x86_ssse3; then
51 + if ! use ssl; then
52 + myeconfargs+=( --enable-ssse3-sha1 )
53 + else
54 + elog "cpu_flags_x86_ssse3 and ssl can't be enabled together, "
55 + elog "enabling ssl and disabling cpu_flags_x86_ssse3 for you."
56 + myeconfargs+=( --disable-ssse3-sha1 )
57 + fi
58 + fi
59 +
60 ac_cv_prog_NASM="$(usex yasm yasm nasm)" \
61 econf "${myeconfargs[@]}"
62 }