Diff proot-5.1.0-r2 with a proot-5.3.0
/usr/portage/sys-apps/proot/proot-5.3.0.ebuild 2023-10-09 14:52:35.400368499 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 |
MY_PN="PRoot" |
6 | 6 | |
7 | 7 |
inherit toolchain-funcs |
8 | 8 | |
9 | 9 |
SRC_URI="https://github.com/proot-me/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
10 |
KEYWORDS="~amd64 ~x86" |
|
10 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
|
11 | 11 | |
12 | 12 |
DESCRIPTION="User-space implementation of chroot, mount --bind, and binfmt_misc" |
13 | 13 |
HOMEPAGE="https://proot-me.github.io" |
14 | 14 | |
15 | 15 |
LICENSE="GPL-2" |
16 | 16 |
SLOT="0" |
17 |
IUSE="care test" |
|
17 |
IUSE="care doc test" |
|
18 | 18 | |
19 | 19 |
RDEPEND="care? ( app-arch/libarchive:0= ) |
20 | 20 |
sys-libs/talloc" |
21 |
BDEPEND="dev-python/docutils" |
|
21 | 22 |
DEPEND="${RDEPEND} |
22 | 23 |
care? ( dev-libs/uthash ) |
24 |
elibc_musl? ( sys-libs/queue-standalone ) |
|
23 | 25 |
test? ( dev-util/valgrind )" |
24 | 26 | |
25 | 27 |
# Breaks sandbox |
26 | 28 |
RESTRICT="test" |
27 | 29 | |
28 |
S="${WORKDIR}/${MY_PN}-${PV}" |
|
29 | ||
30 | 30 |
PATCHES=( |
31 |
"${FILESDIR}/${PN}-5.1.0-makefile.patch" |
|
32 |
"${FILESDIR}/${PN}-2.3.1-lib-paths-fix.patch" |
|
33 |
"${FILESDIR}/${PN}-5.1.0-loader.patch" |
|
31 |
"${FILESDIR}/${PN}-5.3.0-makefile.patch" |
|
32 |
"${FILESDIR}/${PN}-5.3.0-lib-paths-fix.patch" |
|
34 | 33 |
) |
35 | 34 | |
36 | 35 |
src_compile() { |
... | ... | |
43 | 42 |
CHECK_VERSION="true" \ |
44 | 43 |
CAREBUILDENV="ok" \ |
45 | 44 |
proot $(use care && echo "care") |
45 |
emake -C doc SUFFIX=".py" proot/man.1 |
|
46 | 46 |
} |
47 | 47 | |
48 | 48 |
src_install() { |
49 |
if use care; then |
|
50 |
dobin src/care |
|
51 |
dodoc doc/care/*.txt |
|
52 |
fi |
|
49 |
use care && dobin src/care |
|
53 | 50 |
dobin src/proot |
51 |
dodoc doc/proot/*.rst |
|
54 | 52 |
newman doc/proot/man.1 proot.1 |
55 |
dodoc doc/proot/*.txt |
|
56 |
dodoc -r doc/articles |
|
57 | 53 |
} |
58 | 54 | |
59 | 55 |
src_test() { |