Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/encfs/
Date: Tue, 07 Dec 2021 06:57:04
Message-Id: 1638860212.5d2b69ad3b74a4b44b160e8ac93c8d6fa426624d.sam@gentoo
1 commit: 5d2b69ad3b74a4b44b160e8ac93c8d6fa426624d
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 7 06:55:27 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 7 06:56:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d2b69ad
7
8 sys-fs/encfs: install libencfs, link dynamically
9
10 We need to install libencfs if we're going to link dynamically
11 against it.
12
13 Closes: https://bugs.gentoo.org/701698
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 sys-fs/encfs/encfs-1.9.5-r2.ebuild | 43 ++++++++++++++++++++++++++++++++++++++
17 1 file changed, 43 insertions(+)
18
19 diff --git a/sys-fs/encfs/encfs-1.9.5-r2.ebuild b/sys-fs/encfs/encfs-1.9.5-r2.ebuild
20 new file mode 100644
21 index 000000000000..c26268474a9d
22 --- /dev/null
23 +++ b/sys-fs/encfs/encfs-1.9.5-r2.ebuild
24 @@ -0,0 +1,43 @@
25 +# Copyright 1999-2021 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=7
29 +
30 +inherit cmake
31 +
32 +DESCRIPTION="An implementation of encrypted filesystem in user-space using FUSE"
33 +HOMEPAGE="https://vgough.github.io/encfs/"
34 +SRC_URI="https://github.com/vgough/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
35 +
36 +LICENSE="GPL-3 LGPL-3"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~arm ~ppc64 ~sparc ~x86"
39 +IUSE="nls"
40 +
41 +RDEPEND="dev-libs/openssl:=
42 + dev-libs/tinyxml2:=
43 + sys-fs/fuse:0=
44 + sys-libs/zlib"
45 +DEPEND="${RDEPEND}"
46 +BDEPEND="dev-lang/perl
47 + sys-devel/gettext
48 + virtual/pkgconfig"
49 +
50 +# Build dir is hardcoded in test suite, but we restrict them
51 +# because they can lead to false negatives, bug #630486
52 +RESTRICT="test"
53 +
54 +BUILD_DIR="${S}/build"
55 +
56 +src_configure() {
57 + local mycmakeargs=(
58 + -DENABLE_NLS="$(usex nls)"
59 + -DUSE_INTERNAL_TINYXML=OFF
60 + -DBUILD_UNIT_TESTS=OFF
61 + -DBUILD_SHARED_LIBS=ON
62 + # Needed with BUILD_SHARED_LIBS=ON
63 + -DINSTALL_LIBENCFS=ON
64 + -DLIB_INSTALL_DIR="$(get_libdir)"
65 + )
66 + cmake_src_configure
67 +}